Skip to main content
Glama

Statistics of the World

compare_countries

Read-onlyIdempotent

Compare 2-10 countries on selected indicators.

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": {
      "country_ids": "<country_ids>"
    },
    "name": "compare_countries"
  }
}

Input Schema

NameRequiredDescriptionDefault
country_idsYesList of country codes (max 10)
indicator_idsNoIndicator IDs to compare (default: GDP, population, life expectancy, etc.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say what happens when more than 10 codes are passed, how invalid codes or indicator IDs are handled, or what the comparison output looks like.

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 front-loaded sentence with no filler or repetition. It is appropriately terse, though the terseness comes at the cost of the behavioral and usage details noted elsewhere.

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?

For a simple two-parameter, fully-described tool with read-only annotations, the definition is minimally sufficient to invoke it correctly. However, with no output schema present, nothing tells the agent what a comparison result contains or how countries and indicators are aligned in the response.

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%, so both parameters are documented in the schema, which sets the baseline at 3. The description does add one piece of meaning the schema lacks: a minimum of 2 countries, since the schema only states a max of 10.

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 pairs a specific verb ("Compare") with a specific resource ("countries") and adds a constraint not obvious from the name alone: the 2-10 range and the fact that comparison is driven by indicators. It does not distinguish itself from plausible alternatives such as compare_sources or get_indicator_ranking, but the core action is unambiguous.

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 or when-not-to-use guidance; nothing says to prefer get_country_overview for a single country or get_indicator_ranking for a ranked list. The agent must infer from the name alone that this is the multi-country, multi-indicator path.

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