Skip to main content
Glama

Anacraft — Google Analytics 4 (GA4)

Traffic by country

list_countries
Read-only

Countries the period's users came from, ranked by users.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoDays to look back, ending yesterday.
limitNoHow many rows to return.
propertyNoNumeric GA4 property id. Omit to use the saved default.

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 and openWorldHint=true, so the safety profile is covered. The description adds one useful behavioral fact — output is ranked by users — but says nothing about the default window, row cap, or that the period is bounded by the 'days' parameter ending yesterday.

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?

A single short sentence with the resource front-loaded and no filler. Its brevity, however, shades into under-specification rather than tight economy.

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?

With no output schema, the description carries the burden of describing return shape; it tells the agent the rows are countries ranked by users but not what columns come back. Combined with no usage context, the definition is only minimally sufficient for a GA4 reporting 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 'days', 'limit', and 'property' are fully documented in the schema. The description adds no parameter-level meaning beyond that, making the baseline 3 correct rather than a deficiency.

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 the resource (countries) and the ordering behavior (ranked by users), which lets an agent distinguish it from list_pages, list_referrers, and list_traffic_sources at a glance. It never uses an explicit verb like 'list' or 'return', and 'the period's users' is vague, but the resource + ranking is specific enough.

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 guidance and no mention of any sibling or alternative, despite ten siblings including several other list_* traffic breakdowns. The agent must infer that this is the country-dimension slice of a traffic report.

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