- Call
list-contextsto discover what’s available and to obtaincontextIds andinsightIds. - Call
context-summarywith acontextId, a natural-languagequery, and a time range to generate a written summary. - Call
context-insightwith acontextIdand aninsightIdfrom step 1 to generate a markdown insight (chart/table/visualization rendered as markdown).
list-contexts
Lists all contexts accessible by the authenticated user. Each entry describes the context’s data sources and the insight IDs that are compatible with it.Parameters
None.Returns
A JSON array of context objects:
Contexts with no data sources are omitted. Results are sorted by most recently created first.
Example
context-summary
Generates a written summary from a context using a natural-language query and a time range.Parameters
Returns
Markdown text containing the generated summary. While the summary is being generated, the server emits MCPnotifications/progress events (rendered by the client as a running word count) so the UI stays responsive during long generations.
If the request fails, the response is returned with isError: true and the text contains a human-readable error message.
Example
Request:context-insight
Generates a markdown insight (chart, table, or other visualization rendered as markdown) for a context using a given insight ID. OnlyinsightIds returned by list-contexts for that context are valid.
Parameters
Returns
Markdown text with the rendered insight, prefixed with the insight title as an## H2 heading.
If the context cannot be found or the user lacks access, the response text is "Context not found or access denied". If the insight isn’t compatible with the context, the response explains that and points back to list-contexts.