Skip to main content
Glama

Campaign statistics

get_stats
Read-onlyIdempotent

Totals for a channel: comments seen, public replies, private messages sent, button clicks.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page": "<page>"
    },
    "name": "get_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesChannel id from list_pages (a Facebook Page or an Instagram account)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile carries no burden here. The description adds value by naming the four specific metrics returned, but omits the time window over which the totals are aggregated and any note on scoping (campaign vs. page lifetime), which is the main behavioral question left open.

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 that front-loads the scope ('for a channel') and lists metrics compactly; nothing is wasted. It is a sentence fragment rather than a complete statement of function, which is the only structural weakness.

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 one-parameter read-only tool with annotations covering safety, the description is close to adequate, but with no output schema it should clarify the return shape (a set of counts, per-metric keys) and the aggregation period. As written, an agent knows which metrics but not what window or structure the totals come in.

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% and the single page parameter is documented as a channel id from list_pages. The description's 'for a channel' corroborates the schema but adds no new meaning such as accepted id formats or behavior when the id is invalid. With one fully documented parameter, baseline 3 applies.

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

Purpose3/5

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

The description names the resource (totals for a channel) and enumerates the metrics, but leads with a noun fragment rather than a verb, leaving it implicit that the tool returns aggregate counts rather than raw activity. It offers no differentiation from plausible siblings such as get_analytics or get_activity_log, so an agent cannot separate them on the description alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no mention of when aggregate totals are preferable to get_analytics, get_activity_log, or get_campaign. The only implicit cue is 'for a channel,' which points at the page parameter but does not describe prerequisites or exclusions.

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.