Skip to main content
Glama
okfn
by okfn

mcp_iati_list_sectors

List IATI sectors and vocabularies with activity counts to identify available codes before sector-based analysis.

Instructions

List the sectors present in the loaded IATI data.

    Use this tool to discover the available sector codes and
    vocabularies before performing sector-based analysis.

    Args:
        limit: Maximum number of sector values to return. Default: 100.

    Returns:
        A table containing vocabulary, sector code, sector name and
        number of related activities.

    Relevant IATI terms:
    - Sector: Thematic or economic area an activity contributes to, indicated by a code, a vocabulary and, where applicable, a percentage; sectors can be declared at activity level or per transaction.
  • Vocabulary: Classification system used to interpret an IATI code, such as the OECD DAC CRS for sectors and policy markers, UN COFOG, the SDG goals and targets, or the IASC humanitarian clusters.

  • 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
limitNo

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.
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does state the return shape as 'a table containing vocabulary, sector code, sector name and number of related activities,' which is useful. However, it does not disclose details such as ordering, behavior when data is empty, or whether the operation is strictly read-only, leaving some ambiguity.

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 clear sections for purpose, arguments, return value, and relevant IATI terms. It is slightly longer than necessary due to the vocabulary definitions, but those definitions support correct use and the key information is front-loaded.

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 tool with an output schema, the description covers the core needs: what the tool lists, when to use it, what the result table contains, and the parameter meaning. Minor gaps such as handling of missing data or ordering do not significantly impair an agent's ability to invoke it correctly.

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 input schema has no parameter descriptions, but the description explains 'limit' as the 'Maximum number of sector values to return' with a default of 100. This adds meaningful semantics beyond the bare integer type and default value in the schema.

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 states a specific verb and resource: 'List the sectors present in the loaded IATI data.' It also clarifies that the tool returns sector codes and vocabularies, which distinguishes it from sibling list tools like mcp_iati_list_activity_statuses or mcp_iati_list_recipient_countries.

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 says to use the tool 'to discover the available sector codes and vocabularies before performing sector-based analysis.' This gives clear context for when to call it, though it does not name alternatives or explicitly state when not to use it.

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