Skip to main content
Glama

measuremy.site

top_sources

Read-onlyIdempotent

Traffic sources (UTM source, else referrer host, else direct) ranked by pageviews.

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows. Default 10.
rangeNoLookback window such as "24h", "7d" or "30d" (max 90d). Default "7d".
domainNoWhich of the account's sites, like example.com. Defaults to the site chosen at sign-in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, bounded read (readOnlyHint, idempotentHint, openWorldHint=false), so the safety profile is covered. The description adds genuinely useful behavior: the source-resolution fallback chain (UTM source, else referrer host, else direct) and the ranking basis (pageviews). It stops short of describing return fields or ordering ties.

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?

A single 14-word sentence with the resource and ranking metric front-loaded and the parenthetical resolution rule placed inline where it is needed. No filler.

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 read-only analytics tool with a fully documented 3-parameter schema, the description covers what the tool returns and how sources are classified. With no output schema, it could specify the returned shape (source label plus pageview count), which is the only real gap.

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% — limit, range and domain each carry their own defaults and bounds — so the schema does the heavy lifting. The description adds no parameter detail (no mention of limit/range/domain semantics or defaults), making 3 the correct baseline.

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 resource (traffic sources) and the ranking metric (pageviews), plus an unambiguous definition of how a source is resolved (UTM source > referrer host > direct). It is clearly distinct from top_pages/top_browsers/top_countries by resource, though it never explicitly names those siblings.

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 exclusion or alternative named, despite siblings like get_campaign_results, get_overview and get_whats_working covering adjacent traffic-reporting questions. The agent must infer selection context from the resource name alone.

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.