Skip to main content
Glama

get_country

Read-only

One country: metadata, counts, and a top sample of member providers (with the total). Use find_providers?country=slug for the full ranked list, or view=full here.

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": {
      "slug": "<slug>"
    },
    "name": "get_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesCountry slug, as find_countries returns it, e.g. "united-kingdom".
viewNosummary is lean.summary
limitNoTop members to show.
contextNoOptional: one sentence on why you are asking. Never used to rank; read only if a result is wrong.
include_nextNoSet false to omit the `next` affordance block.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / view / description
      Previous value: -"summary (default, lean) or full."New value: +"summary is lean."
  2. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable."New value: +"Optional: one sentence on why you are asking. Never used to rank; read only if a result is wrong."
    • changedInput schema / properties / view / description
      Previous value: -"summary (default) returns lean discovery records + *_count for dropped sections; full returns the whole record (use get_api / get_provider for one entity)."New value: +"summary (default, lean) or full."
  3. Changed1 schema field changed
    • addedInput schema / properties / slug / description
      Added value: +"Country slug, as find_countries returns it, e.g. \"united-kingdom\"."
  4. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely behavioral information beyond that: the provider list is only a top sample, the total is included alongside it, and a 'next' affordance block exists that can be suppressed. It does not quantify the sample cap (that lives in the schema) or describe pagination behavior beyond the affordance hint.

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?

Two compact sentences with zero filler. The content summary comes first and the alternative/escape hatch second, so the reader gets the primary capability before the disambiguation.

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?

With no output schema and five parameters, the description plus schema together cover what is returned, that it is sampled with a total, and how to get the exhaustive list instead. Only minor gaps remain, such as what 'counts' and 'metadata' concretely contain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns above baseline by clarifying that view=full yields the full ranked list locally rather than the sampled set, which the schema's 'summary is lean' does not convey. It also frames limit as 'top members', reinforcing that results are ranked and truncated.

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?

Names a specific resource (one country) and enumerates what comes back: metadata, counts, and a top sample of member providers with the total. That is far more concrete than the title 'Get country', and it explicitly contrasts with find_providers. It stops short of 5 only because the verb is implied by the telegraphic 'One country:' phrasing rather than stated.

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?

Gives an explicit routing rule: use find_providers?country=slug for the full ranked list, or view=full here. The agent knows both the alternative and the condition that selects it, so no inference is required to choose between the two tools.

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