Skip to main content
Glama

Get page analytics

get_page_analytics
Read-only

Get analytics for one page: visitors and views (with traffic sources, devices, countries) plus leads, revenue, and blocked spam submissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYesThe page UUID to fetch analytics for.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
leadsYesForm submissions. Always present; zeroed if none.
pageIdYes
revenueYes
trafficYesVisitor analytics. Check `available` first: when false the only other field is `reason` and no counts are present.
spamBlockedLast7DaysYes

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, so the safe read-only nature is known. The description adds detail about the returned data, but does not disclose additional behavioral context such as date-range defaults, pagination, or permission requirements. It is accurate and does not contradict the annotation.

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 clear sentence, lists the main content types in a readable serialized format, and includes no filler. It is front-loaded with the tool's action and scope.

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 simple one-parameter, read-only analytics tool with a full schema and output schema, the description is largely complete: it names the object and the metrics. It could be slightly stronger by clarifying the time window or any default behavior, but no major information gap exists.

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?

The input schema already fully describes pageId as 'The page UUID to fetch analytics for', with 100% schema description coverage. The tool description adds only the general idea of 'one page', so its parameter-level contribution is minimal; the schema carries the weight.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description specifies a clear verb and resource: 'Get analytics for one page'. It enumerates the exact metric categories (visitors, views, traffic sources, devices, countries, leads, revenue, blocked spam submissions), making its scope unambiguous and distinguishing it from sibling analytics tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for one page' clearly signals page-level scope, which naturally separates it from the sibling tools get_site_analytics and get_workspace_analytics. It does not explicitly state when not to use it or name alternatives, but the scope language is enough to guide correct selection.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a distinct purpose, with clear differentiation between creating standalone pages vs. adding to sites, and separate analytics for pages, sites, and workspaces.

Naming Consistency4/5

Mostly follows verb_noun pattern, but uses both 'add' and 'create' for similar actions, and 'delete' vs 'remove' inconsistently.

Tool Count4/5

20 tools cover a broad range of functionality (pages, sites, redirects, scripts, webhooks, analytics, leads), which is reasonable but slightly on the higher side.

Completeness3/5

Covers CRUD for most entities, but lacks delete operations for pages, sites, scripts, and webhooks (except redirects), leaving notable gaps.

Resources