Skip to main content
Glama

List countries of a version

list_countries
Read-onlyIdempotent

Lists the countries that can be checked against the home state of a version: whether a tax treaty is in force (title, dates, link), whether per-income treaty rules and tax burden data exist, plus the allowed citizenship options and years for check_residency.

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": {
      "version": "<version>"
    },
    "name": "list_countries"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYesVersion id from list_versions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / version / enum
      Previous value: -[
      -  "uk",
      -  "en",
      -  "pl",
      -  "cs",
      -  "ro",
      -  "hu",
      -  "tr",
      -  "zh",
      -  "in",
      -  "ja",
      -  "bn",
      -  "pk",
      -  "de",
      -  "at",
      -  "fr",
      -  "es",
      -  "pt",
      -  "it"
      -]New value: +[
      +  "uk",
      +  "en",
      +  "pl",
      +  "cs",
      +  "ro",
      +  "hu",
      +  "tr",
      +  "zh",
      +  "in",
      +  "ja",
      +  "bn",
      +  "pk",
      +  "de",
      +  "at",
      +  "fr",
      +  "es",
      +  "pt",
      +  "it",
      +  "my",
      +  "sg",
      +  "tw",
      +  "se",
      +  "br",
      +  "ar"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / version / enum
      Previous value: -[
      -  "uk",
      -  "en",
      -  "pl",
      -  "cs",
      -  "ro",
      -  "hu",
      -  "tr",
      -  "zh",
      -  "in",
      -  "ja",
      -  "bn",
      -  "pk"
      -]New value: +[
      +  "uk",
      +  "en",
      +  "pl",
      +  "cs",
      +  "ro",
      +  "hu",
      +  "tr",
      +  "zh",
      +  "in",
      +  "ja",
      +  "bn",
      +  "pk",
      +  "de",
      +  "at",
      +  "fr",
      +  "es",
      +  "pt",
      +  "it"
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered without prose. The description contributes genuinely useful context by sketching the shape of each returned country record (treaty title, dates, link, tax burden data), which matters because no output schema exists, but it says nothing about result size, ordering, or pagination. That is a modest but real addition beyond the structured fields.

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?

It is a single front-loaded sentence opening with the verb and resource, with no filler or repetition of the title. The colon-and-list construction becomes clause-heavy toward the end ('whether ... whether ... plus ...'), which costs a little readability for an agent parsing constraints, but no sentence is wasted.

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 one-parameter, read-only lookup with no output schema, the description is close to sufficient: it names the returned data categories and links the result to downstream check_residency use. It leaves gaps around result cardinality and whether all countries are returned or filtered by the version's home state rules, which an agent might want before calling.

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 coverage is 100% and the single enum parameter is documented in-schema, including the 'Version id from list_versions' provenance hint, so the baseline is 3. The description reinforces the parameter's role by explaining that the version determines the 'home state' against which countries are checked, adding light semantic framing rather than new syntax or format detail.

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?

The description gives a specific verb and resource ('Lists the countries') scoped to a version's home state, and enumerates the payload (treaty status with title/dates/link, per-income rules and tax burden data, citizenship options). This is clearly distinct from list_versions or compare_business_forms. It stops short of an explicit 'not this, use X instead' contrast, but the content scoping does most of the differentiating work.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the discovery step before check_residency, since the description ties the returned citizenship options and years to that tool. There is no explicit when-to-use/when-not framing, no mention of prerequisites beyond the version id, and no named alternative for lookup of a single country.

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