Skip to main content
Glama
okfn
by okfn

mcp_iati_list_activity_statuses

Discover which IATI activity lifecycle statuses are available in loaded data by listing each status code, label, and activity count. Use this to inform filtering or analysis.

Instructions

List the activity statuses present in the loaded IATI data.

    Use this tool to discover which lifecycle statuses are available
    before filtering or analysing activities.

    Returns:
        A table containing each status code, its human-readable label
        and the number of activities using it.

    Relevant IATI terms:
    - Activity status: Stage of an activity within its lifecycle: pipeline/identification, implementation, completion, post-completion, cancelled or suspended.
  • 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 present, the description carries the full burden, and it does well by framing the call as non-mutating and specifying the return contents: 'status code', 'human-readable label', and 'number of activities'. It could add more edge-case behavior, such as what happens when no IATI data is loaded, but the read-only nature and output shape are transparent.

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 front-loaded with the primary purpose, then usage, return shape, and relevant IATI terminology, keeping the most actionable information early. It is slightly redundant by later restating 'activity statuses' as 'lifecycle statuses', but every section otherwise earns its place.

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, non-mutating list tool with an output schema present, this description is complete: it explains the data scope, the intended use, the return columns, and the domain vocabulary. An agent has enough to decide when to call it and what to expect.

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 accepts zero parameters, so the input schema already describes everything that can be passed; the 0-param baseline is 4. The description adds useful context by scoping the result to the currently loaded IATI dataset, which helps even with no arguments.

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 opening sentence names a specific verb ('List') and a specific resource ('activity statuses present in the loaded IATI data'), then clarifies they are lifecycle statuses. This resource is distinct from sibling list tools such as list_sectors or list_reporting_organisations, so an agent can tell which list is intended without opening schemas.

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 'before filtering or analysing activities' to discover which lifecycle statuses are available, providing clear context for when it is useful. It does not name alternative tools or state when not to use it, so it falls just short of fully explicit routing.

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