Skip to main content
Glama

Results and analytics

get_analytics
Read-onlyIdempotent

More results views (the full report with a visual card is get_performance_report). view: report (period days 1-365 or start_date/end_date, platform all|instagram|facebook), overview (period days), top_posts (limit 1-20), growth (metric followers|reach|engagement|leads, period 7-90 days), platform_breakdown, published (platform), roi (period days, window rolling|month), savings (period all|month), instagram (period 1-90 days), youtube (days), threads (days), home.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
viewNoreport
limitNo
metricNo
periodNoDays (e.g. 7, 30, 90); for savings: all or month
windowNo
brand_idNoOptional business id from list_brands (default: this connection's business).
end_dateNoYYYY-MM-DD (report)
platformNo
start_dateNoYYYY-MM-DD (report)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds per-view constraint behavior (which parameters are valid in which view and their bounds), which is genuinely useful beyond the annotations, but it says nothing about response shape or pagination.

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?

Front-loads the sibling distinction, then delivers a dense view-to-parameter map in a single paragraph with no filler. The terse parenthetical notation is compact yet decodable, and every clause carries information.

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?

For a 10-parameter, 12-enum dispatcher with no output schema, the description covers the parameter/view matrix well enough to call the tool correctly. Remaining gaps (brand_id defaulting, youtube/threads `days` semantics, default view=report) are minor since the schema states some of them.

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

Parameters4/5

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

With only 40% schema coverage across 10 parameters, this description does substantial work: it maps each view to the parameters it honors and supplies valid ranges (growth period 7-90, instagram period 1-90, report period 1-365), value sets (savings period all|month, growth metric enum), and accepted date formats. Gaps remain for `days` on youtube/threads and the `brand_id` fallback, which the schema carries.

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 makes clear this is a multi-view analytics reader and explicitly distinguishes itself from the full-report sibling: "the full report with a visual card is get_performance_report." The opening phrase "More results views" is vague on its own, but the enumerated view list makes the resource and scope concrete.

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 names exactly one alternative (get_performance_report) and the condition that selects it, which is real routing guidance. However, it gives no guidance for choosing among the twelve views or against other analytics-adjacent siblings like get_trends or get_inbox_stats, leaving selection largely implied by the view names.

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