Skip to main content
Glama

Get Site Country Breakdown

get_geo_map
Read-onlyIdempotent

Retrieve country-level human, bot, and AI-crawler traffic for one site to inspect regional traffic quality. Use it to spot low-quality geographies before filtering or rolling up.

Instructions

Retrieve country-level clean human UV, raw PV, bot hits, and AI edge crawls for a single site. Use to inspect regional traffic quality; for workspace-wide country rollups or sub-country filters, use get_fleet_geo or get_breakdown. Read-only via read token; HTTP 404 if unknown site_id.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_geo_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoLookback window relative to now (default "7d").7d
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / period / default
      Added value: +"7d"
    • addedInput schema / properties / period / description
      Added value: +"Lookback window relative to now (default \"7d\")."
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is largely covered. The description nonetheless adds real context beyond them: access requires a read token, and an unknown site_id yields an HTTP 404. It stops short of describing ordering or result bounds, but for a small country list that is minor.

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?

Three sentences, no waste, with the metric list and single-site scope front-loaded before the sibling routing clause. Every sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although there is no output schema, the description enumerates the returned metrics, states auth requirements and the 404 failure mode, and clarifies scope versus siblings. For a two-parameter read tool, nothing an agent needs in order to call it correctly is missing.

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?

With 100% schema description coverage, both parameters are already documented, including the period enum and its default and the site_id slug format. The description reinforces the single-site scope but adds no new syntax or format detail beyond what the schema provides, so the baseline 3 is appropriate.

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?

States a specific verb (retrieve) and resource (country-level breakdown for a single site), and enumerates the exact metrics returned: clean human UV, raw PV, bot hits, AI edge crawls. It distinguishes itself from get_fleet_geo and get_breakdown by scope, so an agent can pick it without opening either sibling's schema.

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

Usage Guidelines5/5

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

Explicitly names the use case (inspecting regional traffic quality) and routes the agent away to alternatives for workspace-wide rollups and sub-country filters. The when-to-use and when-to-use-something-else conditions are both stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.