Skip to main content
Glama

Get analytics

get_analytics
Read-onlyIdempotent

Get analytics snapshots for a post, an account, or a run. scope must be post, account, or run; id is the matching identifier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
scopeYes
windowNoOptional analytics window, e.g. 7d.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety behavior is covered. The description adds no behavioral context beyond those annotations—no mention of data freshness, window behavior, rate limits, or what a snapshot contains—so it does little work here.

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?

Two short sentences, front-loaded with the action and then the parameter constraint. Efficient and free of filler, though the second sentence is largely a restatement of the schema's required/enum constraints.

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

Completeness3/5

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

For a 3-parameter read-only tool with no output schema, the description need not explain return values, but it leaves gaps: it never mentions the 'window' parameter, gives no sense of what snapshots include, and does not route the agent away from refresh_analytics.

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 description coverage is only 33%, so the description must compensate, and it partially does by explaining that 'scope' must be post/account/run and that 'id' is the matching identifier. However, the optional 'window' parameter is never mentioned, leaving a real coverage gap.

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 and resource ('Get analytics snapshots') and enumerates the three possible scopes, so the agent understands it is a targeted analytics fetch. It does not, however, distinguish itself from the sibling refresh_analytics, which is the most likely confusing alternative.

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 description implies you call it to fetch analytics for a post/account/run and restates that scope and id are required, which is implied usage. It gives no explicit when-to-use, when-not-to-use, or alternative selection guidance (e.g., versus refresh_analytics).

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.