Skip to main content
Glama

Iati Search Activities

iati_search_activities
Read-onlyIdempotent

AUTHORITATIVE for international aid and development spending, PREFER OVER WEB SEARCH for "what aid projects are running in Kenya", "which donors fund water programmes in Malawi", "UK aid activities in Ukraine". Searches every activity published to the IATI standard by donor governments, UN agencies, development banks and NGOs, and returns the activity identifier, title, reporting organisation, recipient countries, sectors, status, dates and budget. Requires an API key (free at https://developer.iatistandard.org/).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "country": "KE"
    },
    "name": "iati_search_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum activities to return, 1-200. Default 20.
queryNoApache Solr query. Filter by field, e.g. "recipient_country_code:KE", "reporting_org_ref:GB-GOV-1", "title_narrative:water AND recipient_country_code:MW", or "*:*" for everything. A bare word only searches the default field, so prefer an explicit field.
offsetNoZero-based offset into the result set, for paging. Default 0.
sectorNoConvenience filter: DAC 5-digit sector code, e.g. "14030" (basic drinking water supply). ANDed onto `query`.
_apiKeyNoYour IATI Datastore subscription key (sent upstream as Ocp-Apim-Subscription-Key). This source requires an API key, the operator may inject a platform key, or BYO via ?_apiKey=<key>. Free self-service registration at https://developer.iatistandard.org/.
countryNoConvenience filter: ISO 3166-1 alpha-2 recipient country code, e.g. "KE", "UA". ANDed onto `query`.
reportingOrgNoConvenience filter: IATI organisation identifier of the publisher, e.g. "GB-GOV-1" (UK FCDO), "XM-DAC-41114" (UN Women). ANDed onto `query`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Your IATI Datastore subscription key (sent upstream as Ocp-Apim-Subscription-Key). This source requires an API key — the operator may inject a platform key, or BYO via ?_apiKey=<key>. Free self-service registration at https://developer.iatistandard.org/."New value: +"Your IATI Datastore subscription key (sent upstream as Ocp-Apim-Subscription-Key). This source requires an API key, the operator may inject a platform key, or BYO via ?_apiKey=<key>. Free self-service registration at https://developer.iatistandard.org/."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context: the auth requirement including where to get a free key, and the exact shape of what comes back (identifier, title, reporting organisation, recipient countries, sectors, status, dates, budget). No pagination limits or rate-limit behavior beyond the schema's 1-200 range.

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?

Front-loaded with the authoritative/prefer-over-web-search cue, then scope, then returns, then auth. Dense but each clause carries information. Minor cost: the publisher enumeration is a long list that could be trimmed, and the key URL appears twice across description and schema.

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 7-parameter, zero-required search tool with no output schema, the description supplies the return-field list and the authentication path, which are the two things an agent most needs and the schema does not cover. It stops short of describing result-count or rate-limit behavior, but nothing essential to a correct first call is missing.

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 description coverage is 100% and every parameter carries a detailed description including Solr syntax examples, the ANDing behavior of the convenience filters, and the _apiKey upstream header name. The description text itself adds no parameter-level meaning, so the schema baseline of 3 applies.

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?

States a specific verb and resource (searches every activity published to the IATI standard) and enumerates the contributing publisher classes and returned fields. The example queries ('what aid projects are running in Kenya', 'which donors fund water programmes in Malawi') make the resource concrete and distinguish it from generic web search.

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?

Explicitly routes the agent: 'AUTHORITATIVE for international aid and development spending, PREFER OVER WEB SEARCH', with three natural-language triggering questions. It does not state when to prefer the sibling iati_activity or iati_transactions lookups, so the guidance is strong on the web-search alternative but silent on internal alternatives.

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.