Skip to main content
Glama

Oecd List Agencies

oecd_list_agencies
Read-onlyIdempotent

List OECD SDMX agencies, the directorate each belongs to, and the number of dataflows each publishes. Use to discover agency IDs before filtering oecd_search_datasets by department.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "oecd_list_agencies"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
sourceNoData source attribution — always "OECD".
agenciesNoAgencies and their dataflow counts, sorted descending by count.
total_agenciesNoTotal number of distinct agencies.
total_dataflowsNoTotal number of dataflows across all agencies.
directorate_lookup_failed_forNoAgencies affected when the OECD agency scheme could not be read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / directorate_lookup_failed_for
      Added value: +{
      +  "description": "Agencies affected when the OECD agency scheme could not be read.",
      +  "items": {
      +    "description": "Agency ID whose directorate lookup failed.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `rate_limited`: OECD throttled the request rate and was still refusing after the retries. `upstream_timeout`: OECD did not finish responding before OECD_TIMEOUT_MS elapsed. `upstream_unavailable`: OECD returned a server fault or was unreachable once the retries ran out. `upstream_redirect`: The configured OECD host answered with a redirect, which this server never follows. `upstream_error`: OECD refused the request with a status this server does not model — an authorization challenge, a rejection from something sitting in front of the API, or a request read as malformed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `rate_limited`: OECD throttled the request rate and was still refusing after the retries, or asked for a wait longer than the call's upstream budget had left. `upstream_timeout`: An OECD request ran past OECD_TIMEOUT_MS, or the call's requests and retries together ran past its upstream budget — 50 seconds, or OECD_TIMEOUT_MS when that is longer. `upstream_unavailable`: OECD returned a server fault or was unreachable once the retries ran out. `upstream_redirect`: The configured OECD host answered with a redirect, which this server never follows. `upstream_error`: OECD refused the request with a status this server does not model — an authorization challenge, a rejection from something sitting in front of the API, a request read as malformed or unprocessable (HTTP 400 or 422), or a method it does not implement (HTTP 501). `upstream_unreadable`: OECD answered with a body this server could not read — not JSON, or JSON whose fields do not have the shape SDMX gives them. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "rate_limited",
      -  "upstream_timeout",
      -  "upstream_unavailable",
      -  "upstream_redirect",
      -  "upstream_error"
      -]New value: +[
      +  "rate_limited",
      +  "upstream_timeout",
      +  "upstream_unavailable",
      +  "upstream_redirect",
      +  "upstream_error",
      +  "upstream_unreadable"
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered and the bar is lower. The description adds content beyond them by telling the agent the listing includes directorate membership and per-agency dataflow counts, which shapes expectations about result size and shape. It stops short of mentioning ordering, pagination or whether the list is exhaustive, which keeps it from a 5.

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?

Two sentences, both load-bearing: the first defines the resource and its fields, the second defines the use case. The primary purpose is front-loaded and there is no filler or repetition of the title.

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 no parameters, an output schema present to describe return values, and annotations covering safety and idempotency, the description supplies everything an agent still needs: what is listed, what fields come back, and why to call it. Nothing material is left open for a tool of this complexity.

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 takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. No misleading parameter language is present.

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 ("List OECD SDMX agencies") and immediately enumerates what each entry contains: the directorate and the number of published dataflows. It also names a sibling (oecd_search_datasets) to contrast with, so an agent can place it among the other OECD tools without opening the schema.

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?

It states the intended use explicitly: discover agency IDs before filtering oecd_search_datasets by department, which ties this call to a concrete downstream step. What is missing is any when-not guidance (e.g., when you already know the agency ID and can skip this call), but the routing intent is unambiguous.

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.