Skip to main content
Glama

HDX HAPI Operational Presence (3W)

hdx-hapi.coordination.operational_presence
Read-onlyIdempotent

Get "who's doing what, where" (3W) humanitarian response data — which organizations are active in which sector (Health, Nutrition, WASH, etc.) and location. Filter by location_code (ISO3), sector_name, org_name, admin1_name, and admin_level. Data: HDX Humanitarian API (hapi.humdata.org), run by UN OCHA Centre for Humanitarian Data, CC BY 4.0, no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-1000, default 100)
offsetNoNumber of rows to skip, for pagination (default 0)
org_nameNoResponding organization name to filter results, e.g. "UNICEF"
admin1_nameNo1st-level subnational admin area name to filter results, e.g. "Kayes"
admin_levelNoAdmin granularity of returned rows: 0=national, 1=admin1, 2=admin2
sector_nameNoHumanitarian sector name to filter results, e.g. "Health", "Nutrition"
location_codeNoISO3 country code to filter results, e.g. "MLI", "AFG", "SOM"
location_nameNoCountry name to filter results (alternative to location_code), e.g. "Mali"

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive behavior. The description adds valuable context beyond that: the data source (UN OCHA HDX HAPI), the license (CC BY 4.0), and the fact that no authentication is required. These details help an agent understand what calling the tool entails without contradicting the annotations.

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?

The description is three sentences: the purpose, the filters, and the data provenance/license/auth. Every sentence carries useful information and the core action is front-loaded. There is no fluff or repetition.

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?

With a rich output schema, comprehensive annotations, and 100% parameter descriptions, the description covers the remaining context an agent needs: source, license, auth, and filter dimensions. Nothing essential is missing for correct invocation, especially since the output schema handles return value documentation.

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%, so the baseline is 3. The description repeats some filter names (location_code, sector_name, org_name, admin1_name, admin_level) but does not add any information beyond what the schema already provides. It also does not clarify limit/offset or the location_name alternative, though these are fully described 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 opens with a specific verb and resource: 'Get "who's doing what, where" (3W) humanitarian response data' and then details exactly what the data contains (organizations, sectors, locations). It clearly distinguishes itself from sibling HDX HAPI tools like humanitarian_needs or food security IPC by naming the unique domain of operational presence.

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 provides strong context for when to use the tool: it is for 3W operational presence data, and it enumerates the available filters. However, it does not explicitly name sibling alternatives or state when not to use it, so it falls short of full guidance but remains clear enough for an agent to select it correctly.

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.