{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "reliefweb.caseyjhand.com",
    "site": "caseyjhand.com",
    "addresses": [
      {
        "address": "104.26.11.117",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.10.117",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "172.67.72.95",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.64.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:b75",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:a75",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::ac43:485f",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.26.11.117",
          "104.26.10.117",
          "172.67.72.95",
          "2606:4700:20::681a:b75",
          "2606:4700:20::681a:a75",
          "2606:4700:20::ac43:485f"
        ],
        "first_seen": "2026-11-22T21:22:01.864Z",
        "last_seen": "2026-11-22T21:22:01.864Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.10.117",
          "172.67.72.95",
          "104.26.11.117",
          "2606:4700:20::ac43:485f",
          "2606:4700:20::681a:a75",
          "2606:4700:20::681a:b75"
        ],
        "first_seen": "2026-11-21T16:56:00.884Z",
        "last_seen": "2026-11-21T16:56:00.884Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "reliefweb-mcp-server",
      "version": "0.4.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "strict-transport-security": "max-age=63072000; includeSubDomains; preload",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 130,
      "sample": [
        {
          "id": "6671",
          "url": "https://mcp.amperis.com/mcp",
          "server_name": "com.amperis/catalog",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:48:02.459Z"
        },
        {
          "id": "28574",
          "url": "https://art-institute-chicago.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:36:02.219Z"
        },
        {
          "id": "28575",
          "url": "https://arxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/arxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:37:01.411Z"
        },
        {
          "id": "28576",
          "url": "https://astronomy.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/astronomy-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:38:01.840Z"
        },
        {
          "id": "28577",
          "url": "https://aviation-weather.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/aviation-weather-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:39:01.575Z"
        },
        {
          "id": "28578",
          "url": "https://biorxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/biorxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:40:02.169Z"
        },
        {
          "id": "28579",
          "url": "https://bls-labor.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bls-labor-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:41:01.131Z"
        },
        {
          "id": "28580",
          "url": "https://bluesky.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bluesky-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:42:01.856Z"
        },
        {
          "id": "28581",
          "url": "https://brapi.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/brapi-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:43:01.729Z"
        },
        {
          "id": "28582",
          "url": "https://browser-compat.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/browser-compat-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:44:06.619Z"
        },
        {
          "id": "28583",
          "url": "https://calculator.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/calculator-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:45:03.772Z"
        },
        {
          "id": "28584",
          "url": "https://canada-parliament.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/canada-parliament-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:46:02.033Z"
        },
        {
          "id": "28585",
          "url": "https://cdc.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cdc-health-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:47:01.894Z"
        },
        {
          "id": "28586",
          "url": "https://census.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/census-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:48:01.794Z"
        },
        {
          "id": "28587",
          "url": "https://cern-inspire.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-inspire-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:49:02.069Z"
        },
        {
          "id": "28588",
          "url": "https://cern-opendata.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-opendata-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:50:02.886Z"
        },
        {
          "id": "28589",
          "url": "https://chembl.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/chembl-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:51:01.709Z"
        },
        {
          "id": "28590",
          "url": "https://cisa-cybersecurity.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:52:01.906Z"
        },
        {
          "id": "28591",
          "url": "https://clinicaltrials.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:53:01.814Z"
        },
        {
          "id": "28592",
          "url": "https://college-scorecard.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/college-scorecard-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:54:10.959Z"
        }
      ]
    },
    "same_site": {
      "total": 133,
      "sample": [
        {
          "id": "28574",
          "url": "https://art-institute-chicago.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:36:02.219Z"
        },
        {
          "id": "28575",
          "url": "https://arxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/arxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:37:01.411Z"
        },
        {
          "id": "28576",
          "url": "https://astronomy.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/astronomy-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:38:01.840Z"
        },
        {
          "id": "28577",
          "url": "https://aviation-weather.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/aviation-weather-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:39:01.575Z"
        },
        {
          "id": "28578",
          "url": "https://biorxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/biorxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:40:02.169Z"
        },
        {
          "id": "28579",
          "url": "https://bls-labor.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bls-labor-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:41:01.131Z"
        },
        {
          "id": "28580",
          "url": "https://bluesky.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bluesky-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:42:01.856Z"
        },
        {
          "id": "28581",
          "url": "https://brapi.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/brapi-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:43:01.729Z"
        },
        {
          "id": "28582",
          "url": "https://browser-compat.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/browser-compat-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:44:06.619Z"
        },
        {
          "id": "28583",
          "url": "https://calculator.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/calculator-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:45:03.772Z"
        },
        {
          "id": "28584",
          "url": "https://canada-parliament.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/canada-parliament-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:46:02.033Z"
        },
        {
          "id": "28585",
          "url": "https://cdc.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cdc-health-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:47:01.894Z"
        },
        {
          "id": "28586",
          "url": "https://census.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/census-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:48:01.794Z"
        },
        {
          "id": "28587",
          "url": "https://cern-inspire.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-inspire-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:49:02.069Z"
        },
        {
          "id": "28588",
          "url": "https://cern-opendata.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-opendata-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:50:02.886Z"
        },
        {
          "id": "28589",
          "url": "https://chembl.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/chembl-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:51:01.709Z"
        },
        {
          "id": "28590",
          "url": "https://cisa-cybersecurity.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:52:01.906Z"
        },
        {
          "id": "28591",
          "url": "https://clinicaltrials.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:53:01.814Z"
        },
        {
          "id": "28592",
          "url": "https://college-scorecard.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/college-scorecard-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:54:10.959Z"
        },
        {
          "id": "28593",
          "url": "https://congressgov.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/congressgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:55:03.324Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.cyanheads",
      "total": 165,
      "sample": [
        {
          "name": "io.github.cyanheads/anime-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/arxiv-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/astronomy-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/attack-surface-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/aviation-weather-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/biorxiv-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bls-labor-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bls-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bluesky-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/brapi-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/browser-compat-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/calculator-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/canada-parliament-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cdc-health-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/census-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cern-inspire-mcp-server",
          "title": "cern-inspire-mcp-server"
        },
        {
          "name": "io.github.cyanheads/cern-opendata-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/chembl-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "title": null
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/cyanheads/reliefweb-mcp-server",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "28676",
    "server_name": "io.github.cyanheads/reliefweb-mcp-server",
    "url": "https://reliefweb.caseyjhand.com/mcp",
    "host": "reliefweb.caseyjhand.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T21:22:01.864Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "c1721675a1266b916bb571fecce851d56f66435999c01eb82c5e6cb9c5293b57",
    "first_listed_at": "2026-11-21T16:56:00.884Z",
    "created_at": "2026-11-21T09:30:14.526Z",
    "resolved_addresses": [
      "104.26.11.117",
      "104.26.10.117",
      "172.67.72.95",
      "2606:4700:20::681a:b75",
      "2606:4700:20::681a:a75",
      "2606:4700:20::ac43:485f"
    ]
  },
  "server": {
    "name": "io.github.cyanheads/reliefweb-mcp-server",
    "title": null,
    "description": "Search ReliefWeb humanitarian reports, disasters, jobs, training, and country profiles via MCP.",
    "version": "0.4.0",
    "registry_status": "active",
    "repository_url": "https://github.com/cyanheads/reliefweb-mcp-server",
    "website_url": null,
    "published_at": "2026-11-18T05:50:07.385Z",
    "updated_at": "2026-11-18T05:50:07.385Z",
    "first_seen": "2026-11-21T09:30:13.934Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:49:08.355Z"
  },
  "operator": {
    "key": "caseyjhand.com",
    "name": "caseyjhand.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 794,
    "first_check_in_window": "2026-11-21T16:56:00.884Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "c1721675a1266b916bb571fecce851d56f66435999c01eb82c5e6cb9c5293b57",
    "tools": 11,
    "resources": 1,
    "prompts": 1,
    "first_seen": "2026-11-21T16:56:01.657Z",
    "tool_names": [
      "reliefweb_search_reports",
      "reliefweb_get_report",
      "reliefweb_search_disasters",
      "reliefweb_get_disaster",
      "reliefweb_get_country",
      "reliefweb_list_countries",
      "reliefweb_search_jobs",
      "reliefweb_get_job",
      "reliefweb_search_training",
      "reliefweb_get_training",
      "reliefweb_list_sources"
    ],
    "declared": {
      "tools": [
        {
          "name": "reliefweb_search_reports",
          "title": "Search ReliefWeb Reports",
          "description": "Search humanitarian reports on ReliefWeb with filtering by country, disaster, format, theme, language, source, and date. Returns paginated summaries — use reliefweb_get_report to fetch full body text. Report body is excluded from results (10–100KB each); call get_report when document content is needed. Every report is reachable by default — reports have no archived class, so include_archived has no effect here. Note: each call counts against the 1,000 calls/day quota.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "sort": {
                "type": "string",
                "description": "Sort order. Use date.original:desc for newest first (default), date.original:asc for oldest first, score:desc for relevance."
              },
              "text": {
                "type": "string",
                "description": "Full-text search query. Matches against title, body, and key metadata fields. Use plain natural language or keywords."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of results to return (1–1000, default 10). Larger integers are clamped to 1000 with a notice when clamping is enabled; otherwise they are rejected. Use a smaller value for targeted lookups; larger for bulk research. Each call counts against the 1,000-calls/day quota."
              },
              "theme": {
                "type": "string",
                "description": "Sector or cross-cutting theme. One of: Protection and Human Rights, Health, Food and Nutrition, Shelter and Non-Food Items, Water Sanitation Hygiene, Agriculture, Coordination, Education, Contributions, Recovery and Reconstruction, Peacekeeping and Peacebuilding, Logistics and Telecommunications, Disaster Management, Safety and Security, Climate Change and Environment, Gender, Camp Coordination and Camp Management, Mine Action, HIV/Aids, Humanitarian Financing. Also accepts the abbreviations WASH, CCCM, NFI, and a word found in only one theme name (Protection resolves to Protection and Human Rights). Separate several themes with commas to require all of them. Case, spacing, and punctuation are ignored; any other value is rejected with the valid list. Matches whole theme tags."
              },
              "filter": {
                "type": "object",
                "description": "Raw ReliefWeb filter object for compound conditions not covered by named params. Example: {\"operator\": \"AND\", \"conditions\": [{\"field\": \"format.name\", \"value\": \"Map\"}, {\"field\": \"language.code\", \"value\": \"fr\"}]}.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "format": {
                "type": "string",
                "description": "Content format filter. One of: News and Press Release, Situation Report, Map, Infographic, Analysis, Other, Assessment, Manual and Guideline, Appeal, UN Document, Evaluation and Lessons Learned. Case, spacing, and punctuation are ignored; any other value is rejected with the valid list."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Zero-based offset for pagination. Use with limit and the totalCount enrichment field to page through large result sets."
              },
              "source": {
                "type": "string",
                "description": "Organization short name (e.g., UNHCR, OCHA, WFP). Filters on source.shortname."
              },
              "country": {
                "type": "string",
                "pattern": "^\\s*(?:(?:,[\\s,]*)?[A-Za-z]{3}(?:[\\s,]+[A-Za-z]{3})*[\\s,]*)?$",
                "description": "One or more ISO 3166-1 alpha-3 country codes in any case, separated by commas or spaces (e.g., SYR, or SYR,AFG). Filters to content tagged with every listed country. A country name or two-letter code is rejected; find the code with reliefweb_list_countries text. Blank is omitted."
              },
              "date_to": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": ""
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$",
                    "description": "Calendar date (2024-01-31) or full ISO 8601 datetime (2024-01-31T23:59:59+00:00)."
                  }
                ],
                "description": "Latest publication date. Pair with date_from for a date range. A bare calendar date resolves to end of that day in UTC, so the range covers it in full; a datetime carrying any offset is resolved to UTC."
              },
              "language": {
                "type": "string",
                "description": "ISO 639-1 language code (e.g., en, fr, es, ar). Case-insensitive; sent lower-cased, the form ReliefWeb stores. Filters on language.code."
              },
              "date_from": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": ""
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$",
                    "description": "Calendar date (2024-01-15) or full ISO 8601 datetime (2024-01-15T00:00:00+00:00)."
                  }
                ],
                "description": "Earliest publication date. Filters on date.original (source publication date). A bare calendar date such as 2024-01-15 is accepted and resolves to start of that day in UTC; a datetime carrying any offset is resolved to UTC."
              },
              "disaster_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "ReliefWeb numeric disaster ID. Filters to reports linked to a specific disaster. Get the ID from reliefweb_search_disasters."
              },
              "include_archived": {
                "type": "boolean",
                "description": "No effect on reports. Reports have no archived class — every report is already in scope, whatever this is set to. Kept so existing calls that pass it keep working; it is meaningful on reliefweb_search_jobs, reliefweb_search_training, and reliefweb_search_disasters."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "items",
                  "appliedFilters",
                  "totalCount"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "invalid_date",
                          "unknown_format",
                          "unknown_theme",
                          "invalid_query",
                          "upstream_error"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `invalid_date`: A date bound contains impossible calendar or time components. `unknown_format`: The format value does not name a ReliefWeb report format. `unknown_theme`: A theme value names no single ReliefWeb theme — an unknown name, a word shared by several theme names, or words from more than one. `invalid_query`: ReliefWeb rejected the query — possible causes include malformed text, an unrecognized sort field, an invalid raw filter object, or a malformed date. `upstream_error`: The ReliefWeb API was unreachable, timed out, or returned a server error. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title"
                  ],
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "ReliefWeb numeric report ID."
                    },
                    "title": {
                      "type": "string",
                      "description": "Report title."
                    },
                    "themes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Humanitarian theme/sector names."
                    },
                    "formats": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Content format names."
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Publishing organizations (short names)."
                    },
                    "fileUrls": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Direct file download URLs attached to this report."
                    },
                    "urlAlias": {
                      "type": "string",
                      "description": "Canonical ReliefWeb URL for this report."
                    },
                    "countries": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "All countries tagged on this report."
                    },
                    "disasters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "name"
                        ],
                        "properties": {
                          "id": {
                            "type": "number",
                            "description": "ReliefWeb disaster ID — pass it to reliefweb_get_disaster, or as disaster_id to reliefweb_search_reports for the reports on the same disaster."
                          },
                          "name": {
                            "type": "string",
                            "description": "Disaster name."
                          },
                          "glide": {
                            "type": "string",
                            "description": "GLIDE number, when the disaster has one."
                          }
                        },
                        "description": "A disaster this report is linked to.",
                        "additionalProperties": false
                      },
                      "description": "Disasters ReliefWeb links this report to. Absent when the report links none."
                    },
                    "languages": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Language codes (ISO 639-1)."
                    },
                    "dateCreated": {
                      "type": "string",
                      "description": "ReliefWeb index date (ISO 8601)."
                    },
                    "countryIso3s": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Uppercase ISO3 codes of the countries tagged on this report — the form the country filters and reliefweb_get_country take."
                    },
                    "dateOriginal": {
                      "type": "string",
                      "description": "Source publication date (ISO 8601)."
                    },
                    "primaryCountry": {
                      "type": "string",
                      "description": "Primary country name for this report."
                    },
                    "headlineSummary": {
                      "type": "string",
                      "description": "Short editorial summary from the headline block, when present."
                    },
                    "primaryCountryIso3": {
                      "type": "string",
                      "description": "Uppercase ISO3 code of the primary country — the form the country filters and reliefweb_get_country take."
                    }
                  },
                  "description": "A matching report summary.",
                  "additionalProperties": false
                },
                "description": "Matching reports (summaries only — use reliefweb_get_report for full body)."
              },
              "notice": {
                "type": "string",
                "description": "Discloses requested and applied limits when clamped, an ignored empty raw filter, and empty-page guidance with the match count and last reachable offset or suggestions to broaden the search."
              },
              "totalCount": {
                "type": "number",
                "description": "Total reports matching the query before pagination."
              },
              "appliedFilters": {
                "type": "object",
                "required": [
                  "sort",
                  "preset",
                  "limit",
                  "offset"
                ],
                "properties": {
                  "sort": {
                    "type": "string",
                    "description": "Sort order the query used (resolved, including the default)."
                  },
                  "text": {
                    "type": "string",
                    "description": "Full-text query the search used."
                  },
                  "limit": {
                    "type": "number",
                    "description": "Result limit the query used."
                  },
                  "theme": {
                    "type": "string",
                    "description": "Theme names applied, in canonical ReliefWeb spelling and comma-separated when several (reports must carry every one)."
                  },
                  "dateTo": {
                    "type": "string",
                    "description": "Latest publication date filter applied."
                  },
                  "format": {
                    "type": "string",
                    "description": "Format name filter applied, in its canonical ReliefWeb spelling."
                  },
                  "offset": {
                    "type": "number",
                    "description": "Pagination offset the query used."
                  },
                  "preset": {
                    "type": "string",
                    "description": "ReliefWeb preset the query used. Always latest for reports — no preset changes which reports match."
                  },
                  "source": {
                    "type": "string",
                    "description": "Source short name filter applied."
                  },
                  "country": {
                    "type": "string",
                    "description": "Country codes as normalized: uppercased ISO3, comma-separated when several."
                  },
                  "dateFrom": {
                    "type": "string",
                    "description": "Earliest publication date filter applied."
                  },
                  "language": {
                    "type": "string",
                    "description": "Language code filter applied, lower-cased."
                  },
                  "rawFilter": {
                    "type": "boolean",
                    "description": "True when a raw compound filter object was merged into the query."
                  },
                  "disasterId": {
                    "type": "number",
                    "description": "Disaster ID filter applied."
                  }
                },
                "description": "The resolved filter set the query actually ran with, after normalization and defaults. Echoes back so the agent can confirm how its inputs were interpreted.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_get_report",
          "title": "Get ReliefWeb Report",
          "description": "Fetch a single ReliefWeb report by its numeric ID with full body text, file attachments, and all metadata. Use after reliefweb_search_reports to retrieve document content — body is excluded from search results to manage context budget. Report bodies can be 10–100KB. A record over the response budget comes back as a section outline naming every section and its byte size; re-call with sections to pull only the ones needed. Nothing is truncated on either path.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "ReliefWeb numeric report ID. Obtained from reliefweb_search_reports results.",
                "exclusiveMinimum": 0
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A section name exactly as the outline response spelled it."
                },
                "description": "Sections of the report record to return, named by the sections[].name values an outline response lists. Omit for the whole record, or for a section outline when the record is over the response budget. Records are sparse, so a name this record does not carry is rejected with the names it does. Identity metadata — the record's ID, its name, and its canonical URL — comes back alongside whatever is requested. The call is self-contained — the record is re-fetched and sliced, so no prior call has to be repeated."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "kind"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "number",
                "description": "ReliefWeb numeric report ID."
              },
              "body": {
                "type": "string",
                "description": "Full report body text (Markdown). Present for most reports; absent for binary-only documents."
              },
              "kind": {
                "enum": [
                  "full",
                  "outline"
                ],
                "type": "string",
                "description": "full when the record — or the sections asked for — is returned in whole; outline when the record exceeded the response budget and only its section index is returned."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: No report found with the given ID. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "title": {
                "type": "string",
                "description": "Report title."
              },
              "themes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Humanitarian theme/sector names."
              },
              "formats": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Content format names."
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Publishing organizations (short names)."
              },
              "fileUrls": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Direct file download URLs attached to this report."
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "bytes"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Section identifier — pass in `sections` to retrieve it"
                    },
                    "bytes": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Serialized byte size of the section"
                    }
                  },
                  "description": "One retrievable section of the record: its name and its serialized size.",
                  "additionalProperties": false
                },
                "description": "Every section of the record, largest first. Pass the names back in `sections` to retrieve them."
              },
              "urlAlias": {
                "type": "string",
                "description": "Canonical ReliefWeb URL for this report."
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "All countries tagged on this report."
              },
              "disasters": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name"
                  ],
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "ReliefWeb disaster ID — pass it to reliefweb_get_disaster, or as disaster_id to reliefweb_search_reports for the reports on the same disaster."
                    },
                    "name": {
                      "type": "string",
                      "description": "Disaster name."
                    },
                    "glide": {
                      "type": "string",
                      "description": "GLIDE number, when the disaster has one."
                    }
                  },
                  "description": "A disaster this report is linked to.",
                  "additionalProperties": false
                },
                "description": "Disasters ReliefWeb links this report to. Absent when the report links none."
              },
              "languages": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Language codes (ISO 639-1)."
              },
              "dateCreated": {
                "type": "string",
                "description": "ReliefWeb index date (ISO 8601)."
              },
              "countryIso3s": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Uppercase ISO3 codes of the countries tagged on this report — the form the country filters and reliefweb_get_country take."
              },
              "dateOriginal": {
                "type": "string",
                "description": "Source publication date (ISO 8601)."
              },
              "outlineNotice": {
                "type": "string",
                "description": "How to re-call this tool for specific sections of the record."
              },
              "primaryCountry": {
                "type": "string",
                "description": "Primary country name for this report."
              },
              "headlineSummary": {
                "type": "string",
                "description": "Short editorial summary from the headline block, when present."
              },
              "primaryCountryIso3": {
                "type": "string",
                "description": "Uppercase ISO3 code of the primary country — the form the country filters and reliefweb_get_country take."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_search_disasters",
          "title": "Search ReliefWeb Disasters",
          "description": "Search active and historical disasters on ReliefWeb by type, country, status, date range, and GLIDE number. Default preset covers alert, ongoing, and past disasters. Use include_archived=true to reach alert-archive entries as well, for historical research. Returns IDs suitable for use with reliefweb_get_disaster and as disaster_id filter in reliefweb_search_reports.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "sort": {
                "type": "string",
                "description": "Sort order. Use date.created:desc for newest first (default), date.created:asc for oldest, score:desc for relevance."
              },
              "text": {
                "type": "string",
                "description": "Full-text search query. Matches against disaster name and description."
              },
              "glide": {
                "type": "string",
                "description": "GLIDE number (global disaster identifier, e.g., EQ-2023-000053-TUR). Use for cross-system disaster correlation."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of results to return (1–1000, default 10). Larger integers are clamped to 1000 with a notice when clamping is enabled; otherwise they are rejected. Each call counts against the 1,000-calls/day quota."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Zero-based offset for pagination. Use with limit and the totalCount enrichment field to page through results."
              },
              "status": {
                "type": "string",
                "description": "Disaster status filter. One of: alert (newly declared), ongoing, past (resolved), alert-archive. Separate multiple values with commas; case, spacing, and punctuation are ignored, and any other value is rejected with the valid list. alert-archive is only reachable with include_archived=true — asking for it without that returns nothing."
              },
              "country": {
                "type": "string",
                "pattern": "^\\s*(?:(?:,[\\s,]*)?[A-Za-z]{3}(?:[\\s,]+[A-Za-z]{3})*[\\s,]*)?$",
                "description": "One or more ISO 3166-1 alpha-3 country codes in any case, separated by commas or spaces (e.g., SYR, or SYR,AFG). Filters to disasters tagged with every listed country. A country name or two-letter code is rejected; find the code with reliefweb_list_countries text. Blank is omitted."
              },
              "date_to": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": ""
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$",
                    "description": "Calendar date (2024-01-31) or full ISO 8601 datetime (2024-01-31T23:59:59+00:00)."
                  }
                ],
                "description": "Latest disaster creation date. Pair with date_from for a date range. A bare calendar date resolves to end of that day in UTC, so the range covers it in full; a datetime carrying any offset is resolved to UTC."
              },
              "date_from": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": ""
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$",
                    "description": "Calendar date (2024-01-15) or full ISO 8601 datetime (2024-01-15T00:00:00+00:00)."
                  }
                ],
                "description": "Earliest disaster creation date. Filters on date.created. A bare calendar date such as 2024-01-15 is accepted and resolves to start of that day in UTC; a datetime carrying any offset is resolved to UTC."
              },
              "disaster_type": {
                "type": "string",
                "description": "Disaster type name (e.g., Earthquake, Flood, Drought, Cyclone). Filters on type.name."
              },
              "include_archived": {
                "type": "boolean",
                "description": "Include alert-archive disasters in results, alongside alert, ongoing, and past. Uses preset=analysis. Off by default."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "items",
                  "appliedFilters",
                  "totalCount"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "invalid_date",
                          "unknown_status",
                          "invalid_query",
                          "upstream_error"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `invalid_date`: A date bound contains impossible calendar or time components. `unknown_status`: A status token does not name a ReliefWeb disaster status. `invalid_query`: ReliefWeb rejected the query — possible causes include malformed text, an unrecognized sort field, or a malformed date. `upstream_error`: The ReliefWeb API was unreachable, timed out, or returned a server error. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name"
                  ],
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "ReliefWeb numeric disaster ID."
                    },
                    "name": {
                      "type": "string",
                      "description": "Disaster name."
                    },
                    "glide": {
                      "type": "string",
                      "description": "GLIDE number for cross-system correlation."
                    },
                    "types": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Disaster type names."
                    },
                    "status": {
                      "type": "string",
                      "description": "Disaster status: alert, ongoing, past, or alert-archive."
                    },
                    "urlAlias": {
                      "type": "string",
                      "description": "Canonical ReliefWeb URL for this disaster."
                    },
                    "countries": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "All countries tagged on this disaster."
                    },
                    "dateEvent": {
                      "type": "string",
                      "description": "Event date (ISO 8601), when available."
                    },
                    "dateCreated": {
                      "type": "string",
                      "description": "ReliefWeb index date (ISO 8601)."
                    },
                    "primaryType": {
                      "type": "string",
                      "description": "Primary disaster type."
                    },
                    "countryIso3s": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Uppercase ISO3 codes of the countries tagged on this disaster — the form the country filters and reliefweb_get_country take."
                    },
                    "primaryCountry": {
                      "type": "string",
                      "description": "Primary affected country."
                    },
                    "primaryCountryIso3": {
                      "type": "string",
                      "description": "Uppercase ISO3 code of the primary affected country — the form the country filters and reliefweb_get_country take."
                    }
                  },
                  "description": "A matching disaster record.",
                  "additionalProperties": false
                },
                "description": "Matching disasters."
              },
              "notice": {
                "type": "string",
                "description": "Discloses requested and applied limits when clamped. For empty pages, names the match count and last reachable offset when records matched; otherwise echoes filters and suggests how to broaden."
              },
              "totalCount": {
                "type": "number",
                "description": "Total disasters matching the query before pagination."
              },
              "appliedFilters": {
                "type": "object",
                "required": [
                  "sort",
                  "preset",
                  "limit",
                  "offset"
                ],
                "properties": {
                  "sort": {
                    "type": "string",
                    "description": "Sort order the query used (resolved, including the default)."
                  },
                  "text": {
                    "type": "string",
                    "description": "Full-text query the search used."
                  },
                  "glide": {
                    "type": "string",
                    "description": "GLIDE number filter applied."
                  },
                  "limit": {
                    "type": "number",
                    "description": "Result limit the query used."
                  },
                  "dateTo": {
                    "type": "string",
                    "description": "Latest creation date filter applied."
                  },
                  "offset": {
                    "type": "number",
                    "description": "Pagination offset the query used."
                  },
                  "preset": {
                    "type": "string",
                    "description": "ReliefWeb preset the query used: latest (default) or analysis when include_archived."
                  },
                  "status": {
                    "type": "string",
                    "description": "Status filter applied, in canonical spelling (comma-joined when multiple)."
                  },
                  "country": {
                    "type": "string",
                    "description": "Country codes as normalized: uppercased ISO3, comma-separated when several."
                  },
                  "dateFrom": {
                    "type": "string",
                    "description": "Earliest creation date filter applied."
                  },
                  "disasterType": {
                    "type": "string",
                    "description": "Disaster type name filter applied."
                  }
                },
                "description": "The resolved filter set the query actually ran with, after normalization and defaults. Echoes back so the agent can confirm how its inputs were interpreted.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_get_disaster",
          "title": "Get ReliefWeb Disaster",
          "description": "Fetch a disaster record by ReliefWeb numeric ID including description, affected countries, GLIDE number, profile overview, key content links, and active appeals or response plans. Use after reliefweb_search_disasters to retrieve full details. Each curated list also has an archive, which the record leaves out. Two alternative selectors, at most one per call: sections names parts of the record to return, archive pages one list's archived entries in place of the record. A profile overview identical to the description is returned once, as description, with profileOverviewSameAsDescription: true in place of profileOverview; naming profileOverview in sections still returns it as stored. Either text can run to tens of KB for major disasters. A record over the response budget comes back as a section outline naming every section and its byte size. Nothing is truncated on any path.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "ReliefWeb numeric disaster ID. Obtained from reliefweb_search_disasters results.",
                "exclusiveMinimum": 0
              },
              "archive": {
                "type": "object",
                "required": [
                  "list"
                ],
                "properties": {
                  "list": {
                    "enum": [
                      "keyContent",
                      "appealsResponsePlans",
                      "usefulLinks"
                    ],
                    "type": "string",
                    "description": "Which curated list to page. The archived entries of that list are the ones the profile itself leaves out."
                  },
                  "limit": {
                    "type": "integer",
                    "default": 25,
                    "maximum": 9007199254740991,
                    "minimum": 1,
                    "description": "Maximum archived entries in one page (1-100). Larger integers are clamped with a notice when clamping is enabled; otherwise they are rejected."
                  },
                  "offset": {
                    "type": "integer",
                    "default": 0,
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Zero-based index of the first archived entry to return. Send back the nextOffset from the previous page to continue."
                  }
                },
                "description": "Archive mode: return a page of one curated list's ARCHIVED entries instead of the disaster record. The response carries the record identity, the selected list, and total / shown / offset, plus a next offset while more entries remain. Mutually exclusive with sections — sections slices the record, archive replaces it — and a call supplying both is rejected. A record over the response budget still answers an archive call with the page: a page is bounded by limit and carries none of the record prose, so it never outlines."
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A section name exactly as the outline response spelled it."
                },
                "description": "Sections of the disaster record to return, named by the sections[].name values an outline response lists. Omit for the whole record, or for a section outline when the record is over the response budget. Records are sparse, so a name this record does not carry is rejected with the names it does. Identity metadata — the record's ID, its name, and its canonical URL — comes back alongside whatever is requested. The call is self-contained — the record is re-fetched and sliced, so no prior call has to be repeated. This names parts of the record itself and never reaches archived entries — use archive for those."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "kind"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "number",
                "description": "ReliefWeb numeric disaster ID."
              },
              "kind": {
                "enum": [
                  "full",
                  "outline",
                  "archive"
                ],
                "type": "string",
                "description": "full when the record — or the sections asked for — is returned in whole; outline when the record exceeded the response budget and only its section index is returned; archive when the call asked for a page of one curated list's archived entries, which is returned in place of the record."
              },
              "name": {
                "type": "string",
                "description": "Disaster name."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "selector_conflict"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: No disaster found with the given ID. `selector_conflict`: The call supplied both sections and archive, which select different things. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "glide": {
                "type": "string",
                "description": "GLIDE number for cross-system correlation."
              },
              "types": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Disaster type names."
              },
              "notice": {
                "type": "string",
                "description": "Requested and applied archive limits when the page size was clamped."
              },
              "status": {
                "type": "string",
                "description": "Disaster status: alert, ongoing, past, or alert-archive."
              },
              "archive": {
                "type": "object",
                "required": [
                  "list",
                  "total",
                  "shown",
                  "offset",
                  "entries"
                ],
                "properties": {
                  "list": {
                    "enum": [
                      "keyContent",
                      "appealsResponsePlans",
                      "usefulLinks"
                    ],
                    "type": "string",
                    "description": "The curated list this page was read from."
                  },
                  "shown": {
                    "type": "number",
                    "description": "Number of entries in this page."
                  },
                  "total": {
                    "type": "number",
                    "description": "Total archived entries in that list for this record."
                  },
                  "offset": {
                    "type": "number",
                    "description": "Zero-based index of the first entry in this page."
                  },
                  "entries": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "title",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "Entry URL."
                        },
                        "date": {
                          "type": "string",
                          "description": "Publication date, carried by appeals and response plans."
                        },
                        "title": {
                          "type": "string",
                          "description": "Entry title."
                        },
                        "reportId": {
                          "type": "number",
                          "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                        }
                      },
                      "description": "One archived entry.",
                      "additionalProperties": false
                    },
                    "description": "The archived entries in this page, in ReliefWeb's own archive order."
                  },
                  "nextOffset": {
                    "type": "number",
                    "description": "Offset to send back to read the next page. Absent when this page reaches the end of the archive."
                  }
                },
                "description": "One page of a curated list's archived entries, returned in place of the record.",
                "additionalProperties": false
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "bytes"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Section identifier — pass in `sections` to retrieve it"
                    },
                    "bytes": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Serialized byte size of the section"
                    }
                  },
                  "description": "One retrievable section of the record: its name and its serialized size.",
                  "additionalProperties": false
                },
                "description": "Every section of the record, largest first. Pass the names back in `sections` to retrieve them."
              },
              "urlAlias": {
                "type": "string",
                "description": "Canonical ReliefWeb URL for this disaster."
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "All countries tagged on this disaster."
              },
              "dateEvent": {
                "type": "string",
                "description": "Event date (ISO 8601), when available."
              },
              "keyContent": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Link URL."
                    },
                    "title": {
                      "type": "string",
                      "description": "Link title."
                    },
                    "reportId": {
                      "type": "number",
                      "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                    }
                  },
                  "description": "A curated key content link.",
                  "additionalProperties": false
                },
                "description": "Currently-active curated key content links from the ReliefWeb editorial team — the present curated set. The archived entries are reachable with archive: { list: \"keyContent\" }."
              },
              "dateCreated": {
                "type": "string",
                "description": "ReliefWeb index date (ISO 8601)."
              },
              "description": {
                "type": "string",
                "description": "Full disaster description text."
              },
              "primaryType": {
                "type": "string",
                "description": "Primary disaster type."
              },
              "usefulLinks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Link URL."
                    },
                    "title": {
                      "type": "string",
                      "description": "Link title."
                    },
                    "reportId": {
                      "type": "number",
                      "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                    }
                  },
                  "description": "A useful external link.",
                  "additionalProperties": false
                },
                "description": "Currently-active useful external links curated by ReliefWeb editors — the present set. The archived entries are reachable with archive: { list: \"usefulLinks\" }."
              },
              "countryIso3s": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Uppercase ISO3 codes of the countries tagged on this disaster — the form the country filters and reliefweb_get_country take."
              },
              "outlineNotice": {
                "type": "string",
                "description": "How to re-call this tool for specific sections of the record."
              },
              "primaryCountry": {
                "type": "string",
                "description": "Primary affected country."
              },
              "profileOverview": {
                "type": "string",
                "description": "Profile overview text from the ReliefWeb editorial team. Omitted when identical to description — profileOverviewSameAsDescription is then true."
              },
              "primaryCountryIso3": {
                "type": "string",
                "description": "Uppercase ISO3 code of the primary affected country — the form the country filters and reliefweb_get_country take."
              },
              "appealsResponsePlans": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Link URL."
                    },
                    "date": {
                      "type": "string",
                      "description": "Publication date."
                    },
                    "title": {
                      "type": "string",
                      "description": "Appeal or response plan title."
                    },
                    "reportId": {
                      "type": "number",
                      "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                    }
                  },
                  "description": "An appeal or response plan entry.",
                  "additionalProperties": false
                },
                "description": "Currently-active appeals and response plans linked to this disaster — the present set. The archived entries are reachable with archive: { list: \"appealsResponsePlans\" }."
              },
              "profileOverviewSameAsDescription": {
                "type": "boolean",
                "const": true,
                "description": "Present and true when the profile overview is identical to description: the text is returned once, as description, and profileOverview is omitted. Absent when the overview differs or the record has none."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_get_country",
          "title": "Get ReliefWeb Country Profile",
          "description": "Fetch a country profile from ReliefWeb by ISO3 code, including overview, humanitarian situation summary, key content links, active appeals and response plans, and useful external links. Country profiles are curated by OCHA editors and provide the authoritative situation summary for humanitarian responders. Each curated list also has an archive — thousands of entries deep for a long-running crisis — which the profile leaves out. Two alternative selectors, at most one per call: sections names parts of the profile to return, archive pages one list's archived entries in place of the profile. A profile over the response budget comes back as a section outline naming every section and its byte size. Nothing is truncated on any path.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "iso3"
            ],
            "properties": {
              "iso3": {
                "type": "string",
                "pattern": "^[A-Za-z]{3}$",
                "description": "ISO 3166-1 alpha-3 country code, three letters in any case (e.g., SYR, AFG, UKR). Used to look up the country's ReliefWeb profile; find a code by country name with reliefweb_list_countries text."
              },
              "archive": {
                "type": "object",
                "required": [
                  "list"
                ],
                "properties": {
                  "list": {
                    "enum": [
                      "keyContent",
                      "appealsResponsePlans",
                      "usefulLinks"
                    ],
                    "type": "string",
                    "description": "Which curated list to page. The archived entries of that list are the ones the profile itself leaves out."
                  },
                  "limit": {
                    "type": "integer",
                    "default": 25,
                    "maximum": 9007199254740991,
                    "minimum": 1,
                    "description": "Maximum archived entries in one page (1-100). Larger integers are clamped with a notice when clamping is enabled; otherwise they are rejected."
                  },
                  "offset": {
                    "type": "integer",
                    "default": 0,
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Zero-based index of the first archived entry to return. Send back the nextOffset from the previous page to continue."
                  }
                },
                "description": "Archive mode: return a page of one curated list's ARCHIVED entries instead of the country record. The response carries the record identity, the selected list, and total / shown / offset, plus a next offset while more entries remain. Mutually exclusive with sections — sections slices the record, archive replaces it — and a call supplying both is rejected. A record over the response budget still answers an archive call with the page: a page is bounded by limit and carries none of the record prose, so it never outlines."
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A section name exactly as the outline response spelled it."
                },
                "description": "Sections of the country record to return, named by the sections[].name values an outline response lists. Omit for the whole record, or for a section outline when the record is over the response budget. Records are sparse, so a name this record does not carry is rejected with the names it does. Identity metadata — the record's ID, its name, and its canonical URL — comes back alongside whatever is requested. The call is self-contained — the record is re-fetched and sliced, so no prior call has to be repeated. This names parts of the profile itself and never reaches archived entries — use archive for those."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "kind"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "number",
                "description": "ReliefWeb numeric country ID."
              },
              "iso3": {
                "type": "string",
                "description": "ISO 3166-1 alpha-3 code, uppercase."
              },
              "kind": {
                "enum": [
                  "full",
                  "outline",
                  "archive"
                ],
                "type": "string",
                "description": "full when the record — or the sections asked for — is returned in whole; outline when the record exceeded the response budget and only its section index is returned; archive when the call asked for a page of one curated list's archived entries, which is returned in place of the record."
              },
              "name": {
                "type": "string",
                "description": "Country name."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "selector_conflict"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: No country profile found for the given ISO3 code. `selector_conflict`: The call supplied both sections and archive, which select different things. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "notice": {
                "type": "string",
                "description": "Requested and applied archive limits when the page size was clamped."
              },
              "status": {
                "type": "string",
                "description": "Humanitarian situation status."
              },
              "archive": {
                "type": "object",
                "required": [
                  "list",
                  "total",
                  "shown",
                  "offset",
                  "entries"
                ],
                "properties": {
                  "list": {
                    "enum": [
                      "keyContent",
                      "appealsResponsePlans",
                      "usefulLinks"
                    ],
                    "type": "string",
                    "description": "The curated list this page was read from."
                  },
                  "shown": {
                    "type": "number",
                    "description": "Number of entries in this page."
                  },
                  "total": {
                    "type": "number",
                    "description": "Total archived entries in that list for this record."
                  },
                  "offset": {
                    "type": "number",
                    "description": "Zero-based index of the first entry in this page."
                  },
                  "entries": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "title",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "Entry URL."
                        },
                        "date": {
                          "type": "string",
                          "description": "Publication date, carried by appeals and response plans."
                        },
                        "title": {
                          "type": "string",
                          "description": "Entry title."
                        },
                        "reportId": {
                          "type": "number",
                          "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                        }
                      },
                      "description": "One archived entry.",
                      "additionalProperties": false
                    },
                    "description": "The archived entries in this page, in ReliefWeb's own archive order."
                  },
                  "nextOffset": {
                    "type": "number",
                    "description": "Offset to send back to read the next page. Absent when this page reaches the end of the archive."
                  }
                },
                "description": "One page of a curated list's archived entries, returned in place of the record.",
                "additionalProperties": false
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "bytes"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Section identifier — pass in `sections` to retrieve it"
                    },
                    "bytes": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Serialized byte size of the section"
                    }
                  },
                  "description": "One retrievable section of the record: its name and its serialized size.",
                  "additionalProperties": false
                },
                "description": "Every section of the record, largest first. Pass the names back in `sections` to retrieve them."
              },
              "urlAlias": {
                "type": "string",
                "description": "Canonical ReliefWeb URL for this country page."
              },
              "keyContent": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Link URL."
                    },
                    "title": {
                      "type": "string",
                      "description": "Link title."
                    },
                    "reportId": {
                      "type": "number",
                      "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                    }
                  },
                  "description": "A curated key content link.",
                  "additionalProperties": false
                },
                "description": "Currently-active curated key content links maintained by ReliefWeb editors — the present curated set. The archived entries are reachable with archive: { list: \"keyContent\" }."
              },
              "usefulLinks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Link URL."
                    },
                    "title": {
                      "type": "string",
                      "description": "Link title."
                    },
                    "reportId": {
                      "type": "number",
                      "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                    }
                  },
                  "description": "A useful external link.",
                  "additionalProperties": false
                },
                "description": "Currently-active useful external links curated by ReliefWeb editors — the present set. The archived entries are reachable with archive: { list: \"usefulLinks\" }."
              },
              "outlineNotice": {
                "type": "string",
                "description": "How to re-call this tool for specific sections of the record."
              },
              "profileOverview": {
                "type": "string",
                "description": "Situation overview text from the ReliefWeb editorial team."
              },
              "appealsResponsePlans": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Link URL."
                    },
                    "date": {
                      "type": "string",
                      "description": "Publication date."
                    },
                    "title": {
                      "type": "string",
                      "description": "Appeal or response plan title."
                    },
                    "reportId": {
                      "type": "number",
                      "description": "ReliefWeb report ID, read from the entry URL when it is a ReliefWeb node link (https://reliefweb.int/node/<id>, with or without /edit) — pass it to reliefweb_get_report. Parsed from the link, not verified: a report ReliefWeb has since removed answers not_found. Absent for any other URL."
                    }
                  },
                  "description": "An appeal or response plan entry.",
                  "additionalProperties": false
                },
                "description": "Currently-active humanitarian appeals and response plans for this country — the present set. The archived entries are reachable with archive: { list: \"appealsResponsePlans\" }."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_list_countries",
          "title": "List ReliefWeb Countries",
          "description": "List the countries and territories tracked by ReliefWeb, with the ISO3 code and humanitarian status of each. Set text to look a country up by name (text: \"Syria\" returns SYR) instead of reading the full listing, and crisis_only=true to keep countries with an active humanitarian situation. Use the ISO3 code with reliefweb_get_country and in the country filter of the search tools.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "text": {
                "type": "string",
                "description": "Country name to look up. Matches whole words of the ReliefWeb country name and short name (Syria, DR Congo), ignoring case and accents; every word must match, so a partial word or an exonym finds nothing (Syr, Ivory Coast). When it misses, list without text and read the full listing. Blank is omitted."
              },
              "limit": {
                "type": "integer",
                "default": 100,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of results to return (1–1000, default 100). Larger integers are clamped to 1000 with a notice when clamping is enabled; otherwise they are rejected. Each call counts against the 1,000-calls/day quota."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Zero-based offset for pagination. Use with limit and the totalCount enrichment field to page through results."
              },
              "crisis_only": {
                "type": "boolean",
                "description": "When true, filters to countries with an active humanitarian situation (status ongoing). Default false returns all countries."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "items",
                  "totalCount"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "invalid_query",
                          "upstream_error"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `invalid_query`: ReliefWeb rejected the request as malformed rather than failing to serve it. `upstream_error`: The ReliefWeb API was unreachable, timed out, or returned a server error. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name"
                  ],
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "ReliefWeb numeric country ID."
                    },
                    "iso3": {
                      "type": "string",
                      "description": "ISO 3166-1 alpha-3 code, uppercase, for use with reliefweb_get_country."
                    },
                    "name": {
                      "type": "string",
                      "description": "Country or territory name."
                    },
                    "status": {
                      "type": "string",
                      "description": "Humanitarian situation status: ongoing (active crisis) or normal (non-crisis)."
                    },
                    "urlAlias": {
                      "type": "string",
                      "description": "Canonical ReliefWeb URL for this country page."
                    }
                  },
                  "description": "A country or territory tracked by ReliefWeb.",
                  "additionalProperties": false
                },
                "description": "Countries tracked by ReliefWeb."
              },
              "notice": {
                "type": "string",
                "description": "Discloses requested and applied limits when clamped. For empty pages, names the match count and last reachable offset when records matched; otherwise echoes filters and suggests how to broaden."
              },
              "totalCount": {
                "type": "number",
                "description": "Total countries matching the filter before pagination."
              },
              "effectiveQuery": {
                "type": "string",
                "description": "The text lookup the query ran, trimmed. Absent when no text was given."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_search_jobs",
          "title": "Search ReliefWeb Jobs",
          "description": "Search humanitarian job listings on ReliefWeb by country, organization, job type, career category, theme, and experience level. Returns current open positions — expired postings are excluded by default. Use include_archived=true to search the full history of postings, which is far larger than the open set. Use text search for role titles and job descriptions, and job_type for the kind of engagement (consultancy, internship) — text search finds only some of those.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "sort": {
                "type": "string",
                "description": "Sort order. Use date.created:desc for newest postings first (default), date.closing:asc to surface roles closing soonest, or score:desc for relevance."
              },
              "text": {
                "type": "string",
                "description": "Full-text search query. Matches against job title, body, and key metadata fields."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of results to return (1–1000, default 10). Larger integers are clamped to 1000 with a notice when clamping is enabled; otherwise they are rejected. Each call counts against the 1,000-calls/day quota."
              },
              "theme": {
                "type": "string",
                "description": "Sector or cross-cutting theme. One of: Protection and Human Rights, Health, Food and Nutrition, Shelter and Non-Food Items, Water Sanitation Hygiene, Agriculture, Coordination, Education, Contributions, Recovery and Reconstruction, Peacekeeping and Peacebuilding, Logistics and Telecommunications, Disaster Management, Safety and Security, Climate Change and Environment, Gender, Camp Coordination and Camp Management, Mine Action, HIV/Aids, Humanitarian Financing. Also accepts the abbreviations WASH, CCCM, NFI, and a word found in only one theme name (Protection resolves to Protection and Human Rights). Separate several themes with commas to require all of them. Case, spacing, and punctuation are ignored; any other value is rejected with the valid list. Matches whole theme tags."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Zero-based offset for pagination. Use with limit and the totalCount enrichment field to page through results."
              },
              "source": {
                "type": "string",
                "description": "Organization short name (e.g., UNHCR, OCHA, WFP). Filters on source.shortname."
              },
              "country": {
                "type": "string",
                "pattern": "^\\s*(?:(?:,[\\s,]*)?[A-Za-z]{3}(?:[\\s,]+[A-Za-z]{3})*[\\s,]*)?$",
                "description": "One or more ISO 3166-1 alpha-3 country codes in any case, separated by commas or spaces (e.g., SYR, or SYR,AFG). Filters to jobs tagged with every listed country. A country name or two-letter code is rejected; find the code with reliefweb_list_countries text. Blank is omitted."
              },
              "job_type": {
                "type": "string",
                "description": "Kind of engagement. One of: Job, Consultancy, Internship, Tender/RFPs/EOIs, Volunteer Opportunity. A word found in only one type name also resolves (Tender, Volunteer). Separate several types with commas to match any of them — a posting carries one type. Case, spacing, and punctuation are ignored; any other value is rejected with the valid list. Filters on type.name."
              },
              "experience": {
                "type": "string",
                "description": "Experience level (e.g., 0-2 years, 3-4 years, 5-9 years). Filters on experience.name."
              },
              "career_category": {
                "type": "string",
                "description": "ReliefWeb career category. One of: Program/Project Management, Monitoring and Evaluation, Administration/Finance, Advocacy/Communications, Human Resources, Logistics/Procurement, Donor Relations/Grants Management, Information Management, Information and Communications Technology, Other, Medical/Clinical, Legal/Compliance. Also accepts the abbreviations ICT, M&E, HR, and a word found in only one category name (Logistics resolves to Logistics/Procurement). Separate several categories with commas to require all of them. Case, spacing, and punctuation are ignored; any other value is rejected with the valid list. Matches whole career-category tags."
              },
              "include_archived": {
                "type": "boolean",
                "description": "Search expired postings alongside the open ones. Uses preset=analysis. Off by default — the open set is a small fraction of the archive, so turn this on for labour-market history rather than for a hiring snapshot."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "items",
                  "appliedFilters",
                  "totalCount"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "unknown_job_type",
                          "unknown_career_category",
                          "unknown_theme",
                          "invalid_query",
                          "upstream_error"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `unknown_job_type`: A job_type value names no ReliefWeb job type. `unknown_career_category`: A career_category value names no single ReliefWeb career category — an unknown name, a word shared by several category names, or words from more than one. `unknown_theme`: A theme value names no single ReliefWeb theme — an unknown name, a word shared by several theme names, or words from more than one. `invalid_query`: ReliefWeb rejected the query — possible causes include malformed text or an unrecognized sort field. `upstream_error`: The ReliefWeb API was unreachable, timed out, or returned a server error. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title"
                  ],
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "ReliefWeb numeric job ID."
                    },
                    "title": {
                      "type": "string",
                      "description": "Job title."
                    },
                    "types": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Job type names."
                    },
                    "themes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Humanitarian theme/sector names."
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Hiring organizations (short names)."
                    },
                    "urlAlias": {
                      "type": "string",
                      "description": "Canonical ReliefWeb URL for this job listing."
                    },
                    "countries": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Countries tagged on this job."
                    },
                    "dateClosing": {
                      "type": "string",
                      "description": "Application closing date (ISO 8601)."
                    },
                    "dateCreated": {
                      "type": "string",
                      "description": "Date this job was indexed (ISO 8601)."
                    },
                    "countryIso3s": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Uppercase ISO3 codes of the countries tagged on this job — the form the country filters and reliefweb_get_country take."
                    },
                    "careerCategories": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Career category names (humanitarian tracks)."
                    },
                    "experienceLevels": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Required experience levels."
                    }
                  },
                  "description": "A matching job listing.",
                  "additionalProperties": false
                },
                "description": "Matching job listings."
              },
              "notice": {
                "type": "string",
                "description": "Discloses requested and applied limits when clamped. For empty pages, names the match count and last reachable offset when records matched; otherwise echoes filters and suggests how to broaden."
              },
              "totalCount": {
                "type": "number",
                "description": "Total jobs matching the query before pagination."
              },
              "appliedFilters": {
                "type": "object",
                "required": [
                  "sort",
                  "preset",
                  "limit",
                  "offset"
                ],
                "properties": {
                  "sort": {
                    "type": "string",
                    "description": "Sort order the query used (resolved, including the default)."
                  },
                  "text": {
                    "type": "string",
                    "description": "Full-text query the search used."
                  },
                  "limit": {
                    "type": "number",
                    "description": "Result limit the query used."
                  },
                  "theme": {
                    "type": "string",
                    "description": "Theme names applied, in canonical ReliefWeb spelling and comma-separated when several (postings must carry every one)."
                  },
                  "offset": {
                    "type": "number",
                    "description": "Pagination offset the query used."
                  },
                  "preset": {
                    "type": "string",
                    "description": "ReliefWeb preset the query used: latest (open postings only, default) or analysis when include_archived."
                  },
                  "source": {
                    "type": "string",
                    "description": "Source short name filter applied."
                  },
                  "country": {
                    "type": "string",
                    "description": "Country codes as normalized: uppercased ISO3, comma-separated when several."
                  },
                  "jobType": {
                    "type": "string",
                    "description": "Job type names applied, in canonical ReliefWeb spelling and comma-separated when several (a posting of any of them matches)."
                  },
                  "experience": {
                    "type": "string",
                    "description": "Experience level filter applied."
                  },
                  "careerCategory": {
                    "type": "string",
                    "description": "Career category names applied, in canonical ReliefWeb spelling and comma-separated when several (postings must carry every one)."
                  }
                },
                "description": "The resolved filter set the query actually ran with, after normalization and defaults. Echoes back so the agent can confirm how its inputs were interpreted.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_get_job",
          "title": "Get ReliefWeb Job",
          "description": "Fetch a job posting by ReliefWeb numeric ID with the full vacancy description, application instructions, dates, hiring organization, and location and taxonomy metadata. Use after reliefweb_search_jobs, which returns summaries without the description or application instructions. Reaches expired postings as well as open ones. A record over the response budget comes back as a section outline naming every section and its byte size; re-call with sections to pull only the ones needed. Nothing is truncated on either path.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "ReliefWeb numeric job ID. Obtained from reliefweb_search_jobs results.",
                "exclusiveMinimum": 0
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A section name exactly as the outline response spelled it."
                },
                "description": "Sections of the job record to return, named by the sections[].name values an outline response lists. Omit for the whole record, or for a section outline when the record is over the response budget. Records are sparse, so a name this record does not carry is rejected with the names it does. Identity metadata — the record's ID, its name, and its canonical URL — comes back alongside whatever is requested. The call is self-contained — the record is re-fetched and sliced, so no prior call has to be repeated."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "kind"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "number",
                "description": "ReliefWeb numeric job ID."
              },
              "url": {
                "type": "string",
                "description": "ReliefWeb node URL for this job listing."
              },
              "body": {
                "type": "string",
                "description": "Full vacancy description (Markdown) — duties, requirements, and conditions."
              },
              "kind": {
                "enum": [
                  "full",
                  "outline"
                ],
                "type": "string",
                "description": "full when the record — or the sections asked for — is returned in whole; outline when the record exceeded the response budget and only its section index is returned."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: No job posting found with the given ID. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "title": {
                "type": "string",
                "description": "Job title."
              },
              "types": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Job type names, such as Job or Consultancy."
              },
              "status": {
                "type": "string",
                "description": "Posting status: published while the vacancy is open, expired once it has closed."
              },
              "themes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Humanitarian theme/sector names."
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Hiring organizations (short names)."
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "bytes"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Section identifier — pass in `sections` to retrieve it"
                    },
                    "bytes": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Serialized byte size of the section"
                    }
                  },
                  "description": "One retrievable section of the record: its name and its serialized size.",
                  "additionalProperties": false
                },
                "description": "Every section of the record, largest first. Pass the names back in `sections` to retrieve them."
              },
              "urlAlias": {
                "type": "string",
                "description": "Canonical ReliefWeb URL for this job listing."
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Countries tagged on this job."
              },
              "howToApply": {
                "type": "string",
                "description": "Application instructions (Markdown) as published by the hiring organization."
              },
              "dateChanged": {
                "type": "string",
                "description": "Date this posting was last modified (ISO 8601)."
              },
              "dateClosing": {
                "type": "string",
                "description": "Application closing date (ISO 8601)."
              },
              "dateCreated": {
                "type": "string",
                "description": "Date this posting was indexed (ISO 8601)."
              },
              "countryIso3s": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Uppercase ISO3 codes of the countries tagged on this job — the form the country filters and reliefweb_get_country take."
              },
              "outlineNotice": {
                "type": "string",
                "description": "How to re-call this tool for specific sections of the record."
              },
              "careerCategories": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Career category names (humanitarian tracks)."
              },
              "experienceLevels": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Required experience levels."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_search_training",
          "title": "Search ReliefWeb Training",
          "description": "Search humanitarian training and learning opportunities on ReliefWeb by country, format, date, source, career category, cost, listing language, and delivery language. Covers on-site and online capacity-building events. Training date fields use date.start / date.end — different from report date fields. With neither date bound supplied, the search covers training starting from now plus listings with no start date (most online courses have none): dated listings come first, soonest-starting first, then undated ones, newest-posted first (date.start:asc, date.created:desc). Supply date_start_from or date_start_to to search an explicit start-date window instead, including a historical one; a window leaves undated listings out. Use include_archived=true to search concluded listings as well, which are far more numerous than the current ones.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cost": {
                "type": "string",
                "description": "Training cost: free or fee-based. Case, spacing, and punctuation are ignored; blank is omitted."
              },
              "sort": {
                "type": "string",
                "description": "Sort order. Defaults to date.start:asc then date.created:desc: soonest-starting first, then listings with no start date, newest-posted first. Alternatives: date.start:desc for latest-starting, date.created:desc for most recently posted, or score:desc for relevance; a supplied sort is sent as the only key."
              },
              "text": {
                "type": "string",
                "description": "Full-text search query. Matches against training title and description."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of results to return (1–1000, default 10). Larger integers are clamped to 1000 with a notice when clamping is enabled; otherwise they are rejected. Each call counts against the 1,000-calls/day quota."
              },
              "format": {
                "enum": [
                  "on-site",
                  "online"
                ],
                "type": "string",
                "description": "Training format. Valid values: on-site, online. Filters on format.name."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Zero-based offset for pagination. Use with limit and the totalCount enrichment field to page through results."
              },
              "source": {
                "type": "string",
                "description": "Organization short name. Filters on source.shortname."
              },
              "country": {
                "type": "string",
                "pattern": "^\\s*(?:(?:,[\\s,]*)?[A-Za-z]{3}(?:[\\s,]+[A-Za-z]{3})*[\\s,]*)?$",
                "description": "One or more ISO 3166-1 alpha-3 country codes in any case, separated by commas or spaces (e.g., SYR, or SYR,AFG). Filters to training tagged with every listed country. A country name or two-letter code is rejected; find the code with reliefweb_list_countries text. Blank is omitted."
              },
              "language": {
                "type": "string",
                "description": "Listing language code (ISO 639-1, e.g., en, fr, es). Case-insensitive; sent lower-cased, the form ReliefWeb stores. Filters on language.code; use training_language for the course delivery language."
              },
              "date_start_to": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": ""
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$",
                    "description": "Calendar date (2024-12-31) or full ISO 8601 datetime (2024-12-31T23:59:59+00:00)."
                  }
                ],
                "description": "Training start date upper bound. Filters on date.start — pair with date_start_from for a window. A bare calendar date resolves to end of that day in UTC, and a datetime carrying any offset is resolved to UTC. Supplying this alone searches everything up to it, with no lower bound injected; listings with no start date are left out."
              },
              "career_category": {
                "type": "string",
                "description": "ReliefWeb career category. One of: Program/Project Management, Monitoring and Evaluation, Administration/Finance, Advocacy/Communications, Human Resources, Logistics/Procurement, Donor Relations/Grants Management, Information Management, Information and Communications Technology, Other, Medical/Clinical, Legal/Compliance. Also accepts the abbreviations ICT, M&E, HR, and a word found in only one category name (Logistics resolves to Logistics/Procurement). Separate several categories with commas to require all of them. Case, spacing, and punctuation are ignored; any other value is rejected with the valid list. Matches whole career-category tags."
              },
              "date_start_from": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": ""
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$",
                    "description": "Calendar date (2024-06-01) or full ISO 8601 datetime (2024-06-01T00:00:00+00:00)."
                  }
                ],
                "description": "Training start date lower bound. Filters on date.start — use to find training starting after a given date. A bare calendar date resolves to start of that day in UTC, and a datetime carrying any offset is resolved to UTC. A supplied bound leaves listings with no start date out. Omit this and date_start_to together to default the search to training starting from now plus listings with no start date, unless include_archived is set, which leaves the range open."
              },
              "include_archived": {
                "type": "boolean",
                "description": "Search concluded listings alongside the current ones. Uses preset=analysis. Off by default. Setting this also drops the default scope (training starting from now, plus listings with no start date), so an otherwise unbounded search reaches back through the whole record, dated or not; pair it with date_start_from and date_start_to to study a specific period."
              },
              "training_language": {
                "type": "string",
                "description": "Course delivery language code (ISO 639-1, e.g., en, fr, es). Case-insensitive; sent lower-cased. Filters on training_language.code independently of the listing language."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "items",
                  "appliedFilters",
                  "totalCount"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "unknown_cost",
                          "unknown_career_category",
                          "invalid_date",
                          "invalid_query",
                          "upstream_error"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `unknown_cost`: The cost value does not name a ReliefWeb training cost category. `unknown_career_category`: A career_category value names no single ReliefWeb career category — an unknown name, a word shared by several category names, or words from more than one. `invalid_date`: A date bound contains impossible calendar or time components. `invalid_query`: ReliefWeb rejected the query — possible causes include malformed text, an unrecognized sort field, or a malformed date. `upstream_error`: The ReliefWeb API was unreachable, timed out, or returned a server error. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title"
                  ],
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "ReliefWeb numeric training ID."
                    },
                    "cost": {
                      "type": "string",
                      "description": "Training cost category when supplied by the listing."
                    },
                    "title": {
                      "type": "string",
                      "description": "Training title."
                    },
                    "themes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Humanitarian theme/sector names."
                    },
                    "dateEnd": {
                      "type": "string",
                      "description": "Training end date (ISO 8601)."
                    },
                    "formats": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Training format names."
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Organizing organizations (short names)."
                    },
                    "urlAlias": {
                      "type": "string",
                      "description": "Canonical ReliefWeb URL for this training listing."
                    },
                    "countries": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Countries tagged on this training."
                    },
                    "dateStart": {
                      "type": "string",
                      "description": "Training start date (ISO 8601)."
                    },
                    "languages": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Listing language codes (ISO 639-1)."
                    },
                    "countryIso3s": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Uppercase ISO3 codes of the countries tagged on this training — the form the country filters and reliefweb_get_country take."
                    },
                    "careerCategories": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Career category names (humanitarian tracks)."
                    },
                    "dateRegistration": {
                      "type": "string",
                      "description": "Registration deadline (ISO 8601)."
                    },
                    "trainingLanguages": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Course delivery language codes (ISO 639-1)."
                    }
                  },
                  "description": "A matching training opportunity.",
                  "additionalProperties": false
                },
                "description": "Matching training opportunities."
              },
              "notice": {
                "type": "string",
                "description": "Discloses requested and applied limits when clamped. For empty pages, names the match count and last reachable offset when records matched; otherwise echoes filters and suggests how to broaden."
              },
              "totalCount": {
                "type": "number",
                "description": "Total training listings matching the query before pagination."
              },
              "appliedFilters": {
                "type": "object",
                "required": [
                  "sort",
                  "preset",
                  "limit",
                  "offset"
                ],
                "properties": {
                  "cost": {
                    "type": "string",
                    "description": "Canonical training cost filter applied."
                  },
                  "sort": {
                    "type": "string",
                    "description": "Sort order the query used (resolved, including the default); comma-separated keys apply in order."
                  },
                  "text": {
                    "type": "string",
                    "description": "Full-text query the search used."
                  },
                  "limit": {
                    "type": "number",
                    "description": "Result limit the query used."
                  },
                  "format": {
                    "type": "string",
                    "description": "Training format name filter applied."
                  },
                  "offset": {
                    "type": "number",
                    "description": "Pagination offset the query used."
                  },
                  "preset": {
                    "type": "string",
                    "description": "ReliefWeb preset the query used: latest (current listings only, default) or analysis when include_archived."
                  },
                  "source": {
                    "type": "string",
                    "description": "Source short name filter applied."
                  },
                  "country": {
                    "type": "string",
                    "description": "Country codes as normalized: uppercased ISO3, comma-separated when several."
                  },
                  "language": {
                    "type": "string",
                    "description": "Listing language code filter applied, lower-cased."
                  },
                  "dateStartTo": {
                    "type": "string",
                    "description": "Training start date upper bound applied."
                  },
                  "dateStartFrom": {
                    "type": "string",
                    "description": "Training start date lower bound applied — the caller-supplied value, or the current timestamp when neither date bound was given and include_archived was off. That default scope also includes listings with no start date (undatedIncluded)."
                  },
                  "careerCategory": {
                    "type": "string",
                    "description": "Career category names applied, in canonical ReliefWeb spelling and comma-separated when several (listings must carry every one)."
                  },
                  "undatedIncluded": {
                    "type": "boolean",
                    "description": "True when the default scope applied: listings with no start date are included alongside those starting from dateStartFrom. Absent when a date bound was given or include_archived was set."
                  },
                  "trainingLanguage": {
                    "type": "string",
                    "description": "Course delivery language code filter applied, lower-cased."
                  }
                },
                "description": "The resolved filter set the query actually ran with, after normalization and defaults. Echoes back so the agent can confirm how its inputs were interpreted.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_get_training",
          "title": "Get ReliefWeb Training",
          "description": "Fetch a training listing by ReliefWeb numeric ID with the full description, registration instructions, event link, cost and fee information, dates, languages, and organizing source. Use after reliefweb_search_training, which returns summaries without the description, registration instructions, or cost detail. Reaches concluded listings as well as current ones. A record over the response budget comes back as a section outline naming every section and its byte size; re-call with sections to pull only the ones needed. Nothing is truncated on either path.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "ReliefWeb numeric training ID. Obtained from reliefweb_search_training results.",
                "exclusiveMinimum": 0
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A section name exactly as the outline response spelled it."
                },
                "description": "Sections of the training record to return, named by the sections[].name values an outline response lists. Omit for the whole record, or for a section outline when the record is over the response budget. Records are sparse, so a name this record does not carry is rejected with the names it does. Identity metadata — the record's ID, its name, and its canonical URL — comes back alongside whatever is requested. The call is self-contained — the record is re-fetched and sliced, so no prior call has to be repeated."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "kind"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "number",
                "description": "ReliefWeb numeric training ID."
              },
              "url": {
                "type": "string",
                "description": "ReliefWeb node URL for this training listing."
              },
              "body": {
                "type": "string",
                "description": "Full training description (Markdown) — content, audience, and logistics."
              },
              "cost": {
                "type": "string",
                "description": "Cost class as ReliefWeb records it, such as free or fee-based."
              },
              "kind": {
                "enum": [
                  "full",
                  "outline"
                ],
                "type": "string",
                "description": "full when the record — or the sections asked for — is returned in whole; outline when the record exceeded the response budget and only its section index is returned."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: No training listing found with the given ID. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "title": {
                "type": "string",
                "description": "Training title."
              },
              "types": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Training type names, such as Training/Workshop or Course."
              },
              "cities": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Host cities, for on-site training."
              },
              "status": {
                "type": "string",
                "description": "Listing status: published while the training is current, expired once concluded."
              },
              "themes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Humanitarian theme/sector names."
              },
              "dateEnd": {
                "type": "string",
                "description": "Training end date (ISO 8601)."
              },
              "formats": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Training format names: on-site or online."
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Organizing organizations (short names)."
              },
              "eventUrl": {
                "type": "string",
                "description": "The organizer's own page for this training, when published."
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "bytes"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Section identifier — pass in `sections` to retrieve it"
                    },
                    "bytes": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Serialized byte size of the section"
                    }
                  },
                  "description": "One retrievable section of the record: its name and its serialized size.",
                  "additionalProperties": false
                },
                "description": "Every section of the record, largest first. Pass the names back in `sections` to retrieve them."
              },
              "urlAlias": {
                "type": "string",
                "description": "Canonical ReliefWeb URL for this training listing."
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Countries tagged on this training."
              },
              "dateStart": {
                "type": "string",
                "description": "Training start date (ISO 8601)."
              },
              "languages": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Language codes of the listing (ISO 639-1)."
              },
              "dateCreated": {
                "type": "string",
                "description": "Date this listing was indexed (ISO 8601)."
              },
              "countryIso3s": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Uppercase ISO3 codes of the countries tagged on this training — the form the country filters and reliefweb_get_country take."
              },
              "howToRegister": {
                "type": "string",
                "description": "Registration instructions (Markdown) as published by the organizer."
              },
              "outlineNotice": {
                "type": "string",
                "description": "How to re-call this tool for specific sections of the record."
              },
              "feeInformation": {
                "type": "string",
                "description": "Fee detail as published by the organizer — amounts, inclusions, and conditions."
              },
              "careerCategories": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Career category names (humanitarian tracks)."
              },
              "dateRegistration": {
                "type": "string",
                "description": "Registration deadline (ISO 8601)."
              },
              "trainingLanguages": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Language codes the training is delivered in (ISO 639-1)."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "reliefweb_list_sources",
          "title": "List ReliefWeb Sources",
          "description": "Browse source organizations that contribute content to ReliefWeb, optionally filtered by name text or organization type. Returns short names, types, and URLs. Use the shortname value with the source filter in reliefweb_search_reports, reliefweb_search_jobs, and reliefweb_search_training.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "text": {
                "type": "string",
                "description": "Full-text search query. Matches against organization name and short name."
              },
              "type": {
                "enum": [
                  "Non-governmental Organization",
                  "International Organization",
                  "Academic and Research Institution",
                  "Other",
                  "Government",
                  "Media",
                  "Red Cross/Red Crescent Movement"
                ],
                "type": "string",
                "description": "Organization type. One of: Non-governmental Organization, International Organization, Academic and Research Institution, Other, Government, Media, Red Cross/Red Crescent Movement. Filters on type.name."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of results to return (1–1000, default 10). Larger integers are clamped to 1000 with a notice when clamping is enabled; otherwise they are rejected. Each call counts against the 1,000-calls/day quota."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Zero-based offset for pagination. Use with limit and the totalCount enrichment field to page through results."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "items",
                  "totalCount"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "invalid_query",
                          "upstream_error"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `invalid_query`: ReliefWeb rejected the request as malformed rather than failing to serve it. `upstream_error`: The ReliefWeb API was unreachable, timed out, or returned a server error. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name"
                  ],
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "ReliefWeb numeric source ID."
                    },
                    "url": {
                      "type": "string",
                      "description": "Organization ReliefWeb profile URL."
                    },
                    "name": {
                      "type": "string",
                      "description": "Full organization name."
                    },
                    "types": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Organization type names."
                    },
                    "homepage": {
                      "type": "string",
                      "description": "Organization website URL."
                    },
                    "shortname": {
                      "type": "string",
                      "description": "Organization short name — use this value in the source filter for other search tools."
                    }
                  },
                  "description": "A source organization contributing content to ReliefWeb.",
                  "additionalProperties": false
                },
                "description": "Source organizations contributing content to ReliefWeb."
              },
              "notice": {
                "type": "string",
                "description": "Discloses requested and applied limits when clamped. For empty pages, names the match count and last reachable offset when records matched; otherwise echoes filters and suggests how to broaden."
              },
              "totalCount": {
                "type": "number",
                "description": "Total sources matching the query before pagination."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "reliefweb-guide",
          "uri": "skill://reliefweb-guide/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Use reliefweb_* tools for country or disaster research and humanitarian job or training shortlists. Resolve names, distinguish historical coverage, and check completeness before concluding that evidence or opportunities are absent."
        }
      ],
      "prompts": [
        {
          "name": "reliefweb_crisis_briefing",
          "description": "Generate a structured humanitarian briefing for a country or disaster. Instructs the agent to use available ReliefWeb tools to gather recent reports, active disasters, open positions, and training opportunities, then synthesize a concise situation overview. Specify focus=situation for a situation-only brief, focus=jobs for open positions, or focus=full for the complete briefing.",
          "arguments": [
            {
              "name": "country_or_disaster",
              "required": true,
              "description": "Country name or ISO3 code (e.g., \"Afghanistan\" or \"AFG\"), or a disaster name/GLIDE number (e.g., \"Syria earthquake\" or \"EQ-2023-000053-TUR\")."
            },
            {
              "name": "focus",
              "required": false,
              "description": "Briefing scope. situation = situation overview and recent reports only. jobs = open positions and training only. full = complete briefing including situation, reports, disasters, jobs, and training (default)."
            }
          ]
        }
      ]
    },
    "instructions": "Use the reliefweb_* tools to query ReliefWeb (OCHA humanitarian data) for reports, disasters, countries, jobs, and training. A pre-approved RELIEFWEB_APP_NAME is required. Countries use ISO3 codes (e.g. SYR): reliefweb_list_countries with text looks one up by country name (e.g. Syria), and the full listing covers a name text misses. Everything else uses numeric IDs, and organizations use a shortname (e.g. WFP). Workflow: the reliefweb_search_* tools return summaries with the document text excluded, then the matching reliefweb_get_* tool fetches one record in full — reports, disasters, jobs, and training each have one; a disaster ID also feeds the disaster_id report filter. Every reliefweb_get_* tool returns a section outline instead of the record when it exceeds the response budget: re-call the same tool with sections to pull named sections. Country and disaster profiles carry only each curated link list's active entries; re-call with archive to page a list's archived ones — sections and archive are alternative modes and cannot be combined. Quota: 1,000 calls/day."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}