Skip to main content
Glama

reference_leaders

Read-only

Country leaders (Wikidata) — Current head of state and head of government of any country (name, Q-id, in office since, office title, party, birth date) plus capital, government form and legislature, from Wikidata (CC0). country= name, alias (UK, USA) or Q-id. Price: $0.003 USDC (Base, via x402).

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": "<country>"
    },
    "name": "reference_leaders"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesFrance

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive, open-world behavior, so the description adds real value on top: the upstream source and license (Wikidata, CC0), the exact returned field set, and a paid-call cost of $0.003 USDC via x402 — a non-obvious billing constraint an agent must know before calling. It does not cover pagination, rate limits, or error behavior for ambiguous country names, which keeps it below 5.

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 dense sentence block, front-loaded with the resource and its content list, followed by input format and price. Every clause carries information, though the parenthetical field list and comma-separated phrasing make it slightly harder to scan than necessary.

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, the description must carry return-value disclosure, and it does: it enumerates the leader fields plus capital, government form and legislature. Source provenance and pricing are also covered. The main remaining gap is behavior for missing or ambiguous country inputs, which an agent cannot predict from this text.

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% but the schema's only parameter hint is the bare example 'France'. The description meaningfully extends this by accepting a country name, an alias such as 'UK'/'USA', or a Wikidata Q-id, which a bare example would not convey. It stops short of describing matching/fallback behavior for ambiguous or unknown inputs.

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 the resource precisely: 'Current head of state and head of government of any country' plus capital, government form and legislature, with an explicit field inventory. The 'current' qualifier implicitly separates it from a historical office-holders sibling, but no sibling is named, so differentiation is inferred 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 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 tells an agent whether to prefer reference_person, reference_office_holders, or reference_wikidata for related queries, nor what happens for a country with no leader record. Only the input format ('country= name, alias (UK, USA) or Q-id') is given as usage context.

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