Skip to main content
Glama

Get account analytics

get_account_analytics
Read-onlyIdempotent

Views, storage use and content counts of the connected account over a period.

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

Input Schema

NameRequiredDescriptionDefault
periodNoPeriod to report: the last 7, 30, 90 or 365 days

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety is fully covered structurally. The description adds that results are aggregated over a time period, which is useful beyond the annotations, but it omits the default period (no parameter is required) and says nothing about aggregation granularity or whether counts include deleted/unpublished content.

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?

One short, front-loaded sentence with no filler. 'Views' as a leading verb is slightly awkward and momentarily reads like a noun, but nothing is wasted.

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 simple read-only single-parameter tool this is close to adequate, but there is no output schema, so the description carries the burden of describing return shape and does so only as a flat list of metric categories. It does not state the default period or how the metrics are broken down, which an agent would need to interpret results.

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% and the single enum parameter is fully documented in the schema, so the description need not restate it. 'Over a period' echoes the parameter without adding format, default, or behavior when omitted, so baseline 3 applies.

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 a concrete resource (the connected account) and enumerates the metrics returned: views, storage use, and content counts, aggregated over a period. That is enough to tell it apart from a plain account-detail fetch or a quota lookup, though it does not explicitly contrast with siblings like get_account or get_storage_quota.

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 or when-not-to-use guidance. An agent cannot tell from the text whether this supersedes get_account, overlaps with get_storage_quota, or when a 7d vs 365d period is appropriate. Usage is only implied by the phrase 'over a period'.

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.