Skip to main content
Glama

Funnel, headline metrics and best times

get_analytics
Read-onlyIdempotent

The funnel from comment to click for a period, period-over-period change, and the best hours and days to post based on audience engagement. Numbers may be up to a minute old, so calling again right away shows nothing new.

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_analytics"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive, so the description's real contribution is the data-freshness caveat (numbers up to a minute old), which materially affects retry behavior. Remaining gaps like response shape or default period are minor.

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 tight sentences, output content front-loaded followed by the operational caveat. The first sentence is a compressed list and could read more smoothly, but nothing is wasted.

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?

With no output schema, the description does the work of naming the three returned metric groups, and the staleness note covers the main operational question. It could add the default period and a pointer away from get_stats but is otherwise sufficient for a 2-parameter read tool.

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 50%: page is documented in the schema, but the days enum (7/14/30/90) has no explanation. The phrase 'for a period' hints that days sets the window but does not confirm it or state the default.

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?

The description names concrete outputs — comment-to-click funnel, period-over-period change, and best posting hours/days — which is far more specific than the title alone. It does not, however, distinguish itself from sibling get_stats, which plausibly returns overlapping metric data.

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?

It gives one useful usage signal: don't re-call immediately because data is up to a minute stale. There is no explicit statement of when to use this instead of get_stats, and no mention that the period is controlled by the days parameter.

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.

Resources