Skip to main content
Glama

Social media studio

Get Twitter Analytics

get_twitter_analytics
Read-only

Get detailed Twitter/X account analytics

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": {
      "accountId": "<accountId>"
    },
    "name": "get_twitter_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback period in days (default: 7)
accountIdYesSocial account UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds only the word 'detailed' and says nothing about what the lookback window defaults to, whether data is account-level versus content-level, or any latency/quota behavior — nearly zero value beyond the structured fields.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, so nothing needs trimming. But the terseness comes at the cost of substance — the one sentence carries no scope, metric, or usage information.

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?

With no output schema, the description is the only place an agent could learn what 'detailed analytics' actually returns (impressions, engagement, followers, per-day breakdown). It omits that entirely, and also omits how the account-scope call differs from the content-analytics sibling, leaving real gaps for a data-retrieval 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 description coverage is 100%, so both parameters (accountId UUID and days lookback with a default of 7) are already fully documented in the schema. The description adds no format, constraint, or interpretation detail beyond that, which merits the baseline 3.

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 ... Twitter/X account analytics), which is clearly distinguishable from sibling platform tools like get_facebook_analytics or get_linkedin_analytics. It does not, however, distinguish itself from closer siblings such as get_twitter_content_analytics or get_analytics_summary, so scope versus those is left to inference.

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?

The description gives no when-to-use guidance, no prerequisites, and no mention of alternatives. An agent choosing among the many per-platform analytics siblings gets no routing help beyond the platform name embedded in the tool name itself.

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