Skip to main content
Glama

Query a saved Insights report

mixpanel_query_insights
Read-only

Fetch the computed data behind a saved Insights report by bookmark_id (the report id in the board URL). Mixpanel's recommended, non-deprecated path for programmatic reporting. Query API: GET /insights.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bookmark_idYesInsights report id (bookmark_id) from the report URL.
workspace_idNoWorkspace id, if applicable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark readOnlyHint=true. Description adds that data is pre-computed (not live querying) and mentions the API endpoint. No contradiction. Could mention auth or error handling but not required given annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no unnecessary words. First sentence front-loads purpose; second adds context. Efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description clarifies the result is 'computed data'. Could specify response format or pagination, but for a simple fetch it's adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so schema already documents both parameters. Description only repeats 'by bookmark_id' without adding extra semantics for workspace_id. No improvement over schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb ('fetch'), resource ('computed data behind a saved Insights report'), and identifier ('bookmark_id'). It also distinguishes from siblings by highlighting this is Mixpanel's recommended path for programmatic reporting.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Description mentions 'Mixpanel's recommended, non-deprecated path', implying preference over alternatives, but lacks explicit 'when not to use' or comparison with sibling tools like segmentation or funnels.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.