Skip to main content
Glama
paulvercoustre

UNDP Open Data MCP Server

Search UNDP projects

undp_search_projects

Identify UNDP projects that match your criteria—year, country, SDG, focus area, or budget source—and get a compact summary of funding, expenditure, and donors.

Instructions

Search UNDP projects for a given year, filtered by country, SDG, focus area, signature solution, budget source or policy marker. Returns a compact record per project (title, budget, expenditure, SDGs, donors). Results are paginated — follow next_offset for more. Use undp_get_project for the full detail of one project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sdgNoSDG code 1-17.
yearYesFour-digit year. Required by the API, e.g. '2023'.
limitNoProjects per page (max 50). Each carries SDG, donor and marker lists, so a larger page cannot fit one result.
queryNoFree-text search over the title and description of EVERY project matching the other filters, not just one page. Costs a few extra requests on a cold cache. Combine with `year`/`operating_unit` to keep it quick.
offsetNo
sectorNoFocus area ('our focus') code.
marker_idNoPolicy marker subtype id.
sdg_targetNoSDG target code, e.g. '1.1'.
budget_typeNoBudget type, e.g. 'core' / 'non-core'.
marker_typeNoPolicy marker type, from undp_list_approaches.
budget_sourceNoBudget source iso3 or donor code.
operating_unitNoOperating unit iso3, e.g. 'KEN'.
signature_solutionNoSignature solution code.
include_descriptionNoInclude the (truncated) project description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses that results are paginated, that the tool returns a compact record per project, and that the query parameter searches across ALL matching projects (not just one page) and costs extra requests on a cold cache. This is meaningful behavioral context beyond what the schema provides. It doesn't mention rate limits or auth, but the disclosed behaviors are substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with zero waste. The first sentence states the core function and filters, the second describes the return format and pagination, and the third routes to the sibling tool. Every sentence earns its place and the most important 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 search tool with 14 parameters and no output schema, the description is quite complete. It covers the return format, pagination, and the key alternative tool. It doesn't explain the meaning of each filter code (e.g., what a signature solution code looks like), but the schema descriptions cover those. The main gap is that it doesn't mention how to discover valid filter values (e.g., using undp_list_* tools), but the sibling names make that inferable.

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 description coverage is 93%, so the schema already documents most parameters well. The description adds value by summarizing the filter dimensions and clarifying the return shape (compact record with title, budget, expenditure, SDGs, donors). It also adds behavioral context for the query parameter (searches every project, costs extra requests) that goes beyond the schema. The description doesn't need to repeat each parameter since the schema is rich.

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 ('Search'), a resource ('UNDP projects'), and the key filtering dimensions (year, country, SDG, focus area, signature solution, budget source, policy marker). It also explicitly distinguishes itself from undp_get_project by noting it returns a compact record per project while the sibling provides full detail. This is a clear, specific purpose that an agent can act on.

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

Usage Guidelines5/5

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

The description explicitly says to use undp_get_project for full detail of one project, providing a clear alternative and the condition that selects it. It also explains pagination behavior ('follow next_offset for more'), which guides the agent on how to use the tool correctly. This is explicit when/when-not guidance.

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