Skip to main content
Glama
okfn
by okfn

mcp_iati_list_recipient_countries

Discover recipient country codes and names in your loaded IATI data, with activity counts, to inform filtering by country.

Instructions

List the recipient countries present in the loaded IATI data.

    Use this tool to discover which country codes are available before
    filtering activities by recipient country.

    Returns:
        A table containing the recipient country code, country name and
        number of related activities.

    Relevant IATI terms:
    - Recipient country or region: Country (ISO code) or supra-national DAC region that receives the intended benefits of an activity. May include a percentage when the activity is split across several territories.
  • IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoPlain text message that bypasses LLM processing and should be printed exactly as provided in the user interface.
tableNoTwo-dimensional list (list of rows) representing tabular data, e.g., from CSV or TSV sources. Each row should be a list of cell values.
chartsNoList of dictionaries containing data and configuration for rendering a Chart.js chart in the chat interface.
sourcesYesURL(s) that users can nagivate to to download the data used for the analysis. E.g., landing page, feed, file endpoint, CKAN resource page, etc.
Behavior4/5

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

With no annotations to lean on, the description takes on the burden of explaining behavior. It discloses the output shape (a table with country code, name, and activity count), clarifies that 'recipient countries' includes regions, and grounds the result in the loaded IATI data. This goes well beyond a tautological statement.

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?

The description is well structured with a clear lead sentence, a usage note, a returns summary, and relevant IATI terms. It is slightly longer than strictly necessary, and the IATI definitions are auxiliary, but every section earns its place and the main purpose is front-loaded.

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?

For a zero-parameter list tool, the description is complete: it states the scope, the intended use, the return format, and domain-relevant definitions. Since an output schema exists, the return value explanation is a bonus. Nothing needed to invoke the tool correctly is missing.

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?

The tool has zero parameters, so the baseline is 4. The description adds no parameter-specific detail, but none is needed because the input schema is empty. The usage guidance about discovering country codes is contextual rather than parameter-related.

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?

The description opens with a specific verb and resource: 'List the recipient countries present in the loaded IATI data.' It clearly distinguishes this tool from sibling list tools like mcp_iati_list_sectors and mcp_iati_list_reporting_organisations by focusing on recipient countries and tying it to the filtering workflow.

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

Usage Guidelines4/5

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

The description explicitly states when to use it: 'Use this tool to discover which country codes are available before filtering activities by recipient country.' This gives clear context, although it does not mention any alternatives or when not to use it, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/okfn/mcp-iati'

If you have feedback or need assistance with the MCP directory API, please join our Discord server