Skip to main content
Glama
kmsmohamedansar

mcp-analytics-stub

get_insights

Retrieve top analytics insights for a category ID returned by resolve_category. Fetch ranked insight rows for a specific category.

Instructions

Return top insights for a category id from resolve_category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
category_idYesAn id returned by resolve_category

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and discloses almost nothing: it does not say the operation is read-only, whether results are ranked by what ('top' is unexplained), whether the call can fail or return empty, or anything about permissions. 'Top' hints at ordering but leaves the ordering key unspecified.

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

Conciseness4/5

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

A single short sentence with zero filler and the key dependency front-loaded. The terseness borders on under-specification, but as a conciseness measure it is efficient and well-structured.

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

Completeness2/5

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

For a tool with no annotations, no output schema, and an undocumented second parameter, the description is too thin: an agent gets no return-shape, no ordering semantics, and no behavior on empty results. The dependency on resolve_category is the only substantive context supplied.

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

Parameters2/5

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

Schema description coverage is only 50%: category_id is documented in the schema and merely restated by the description, while the limit parameter (default 3, max 10, min 1) is undocumented in both places. With a sub-50% coverage gap, the description needed to compensate for limit and did not.

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

Purpose4/5

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

States a specific verb ('Return') and resource ('top insights') scoped to a category id, and names resolve_category as the source of that id, which distinguishes it from its only sibling. However, 'insights' is never defined, so the agent knows the shape of the operation but not really what an insight is.

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

Usage Guidelines3/5

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

The phrase 'for a category id from resolve_category' implies the prerequisite that resolve_category must be called first, which is useful chaining guidance. It offers no when-to-use vs when-not guidance, no exclusions, and no indication of what to do if the category has no insights.

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

Deploy Server

Other Tools