Skip to main content
Glama

Get account insights

get_account_insights
Read-only

Read an account's data: followers, views, engagement, etc., for the last 7 or 28 days (28 days requires Pro Plus or above). Metrics and their meanings follow each platform's original definitions; metrics the platform does not provide do not appear, which does not mean 0. YouTube and X are not yet open and return API_PLATFORM_DATA_NOT_OPEN. (Required scope: cd.analytics.read)

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

Input Schema

NameRequiredDescriptionDefault
daysNo
accountIdYes
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses auth scope, plan-tier requirements, platform availability limits, missing-metric semantics, and a specific API error for unsupported platforms. These details materially help an agent predict behavior and failure modes.

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?

The description is a single tight paragraph, front-loaded with the core operation and followed by constraints and caveats. Every sentence adds usable information, including the scope requirement and platform limitations.

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 read-only analytics tool with no output schema, the description covers the important behavioral caveats: plan requirements, unsupported platforms, missing metrics, and auth scope. It could further clarify the account identity or response shape, but it is otherwise complete enough to call safely.

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?

Schema coverage is only 33%, but the description compensates by explaining the meaning and plan-gating of the days enum and by clarifying that metrics follow platform definitions. The required accountId remains self-evident from its name, and workspaceId is already described in the schema.

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 states a specific verb and resource: read an account's data, including followers, views, and engagement, over a 7- or 28-day window. This clearly separates it from post-level siblings, though it does not explicitly name or contrast alternatives such as get_analytics_summary or get_analytics_overview.

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 useful contextual constraints: 28 days requires Pro Plus, YouTube and X are not open, and the required scope is cd.analytics.read. However, it does not explicitly say when to choose this tool over nearby analytics siblings, so the usage guidance remains implied rather than complete.

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.