Skip to main content
Glama

Worldpop Stats Polygon

worldpop_stats_polygon
Read-onlyIdempotent

Total population inside any polygon you draw, from WorldPop 100 m gridded population estimates (University of Southampton), for any year 2015-2030. Pass a GeoJSON Polygon or MultiPolygon in WGS84 and get the summed population count back. AUTHORITATIVE for "how many people live inside this boundary" at arbitrary geometry, a catchment, a flood extent, a service area, a proposed district, where census tables only answer for official administrative units. Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": 2020,
      "geojson": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              -0.14,
              51.5
            ],
            [
              -0.1,
              51.5
            ],
            [
              -0.1,
              51.53
            ],
            [
              -0.14,
              51.53
            ],
            [
              -0.14,
              51.5
            ]
          ]
        ]
      }
    },
    "name": "worldpop_stats_polygon"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear of the population surface, 2015-2030 (default 2025).
datasetNoWorldPop dataset id, "wpgppop" (population count, default) or "wpgpas" (age and sex structures). Call worldpop_datasets for the list.
geojsonYesA GeoJSON geometry in WGS84 (lon, lat), {"type":"Polygon","coordinates":[[[lon,lat],...]]} or a MultiPolygon. A Feature or FeatureCollection is unwrapped for you; the ring must be closed (first point repeated last).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / runasync
      Removed value: -{
      -  "description": "Return the task id immediately instead of waiting for the result. Default false, the tool polls until the job finishes (about 3-10 seconds).",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / year / description
      Previous value: -"Year of the population surface, 2000-2020 (default 2020)."New value: +"Year of the population surface, 2015-2030 (default 2025)."
  2. Changed3 schema fields changed
    • changedInput schema / properties / dataset / description
      Previous value: -"WorldPop dataset id — \"wpgppop\" (population count, default) or \"wpgpas\" (age and sex structures). Call worldpop_datasets for the list."New value: +"WorldPop dataset id, \"wpgppop\" (population count, default) or \"wpgpas\" (age and sex structures). Call worldpop_datasets for the list."
    • changedInput schema / properties / geojson / description
      Previous value: -"A GeoJSON geometry in WGS84 (lon, lat) — {\"type\":\"Polygon\",\"coordinates\":[[[lon,lat],...]]} or a MultiPolygon. A Feature or FeatureCollection is unwrapped for you; the ring must be closed (first point repeated last)."New value: +"A GeoJSON geometry in WGS84 (lon, lat), {\"type\":\"Polygon\",\"coordinates\":[[[lon,lat],...]]} or a MultiPolygon. A Feature or FeatureCollection is unwrapped for you; the ring must be closed (first point repeated last)."
    • changedInput schema / properties / runasync / description
      Previous value: -"Return the task id immediately instead of waiting for the result. Default false — the tool polls until the job finishes (about 3-10 seconds)."New value: +"Return the task id immediately instead of waiting for the result. Default false, the tool polls until the job finishes (about 3-10 seconds)."
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered before the description is read. The description usefully adds that the endpoint is keyless (no auth) and that Features/FeatureCollections are unwrapped, but it says nothing about zonal-aggregation behavior, coastline/nodata handling, or response shape. Moderate added value on top of already-rich annotations.

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

Conciseness4/5

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

Four sentences, front-loaded with the core operation and result, then scope, then alternatives, then the keyless note. Slight overhead from the all-caps 'AUTHORITATIVE' emphasis and the long enumerative clause, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does tell the agent what comes back (a summed population count), and it covers input format, year range, dataset selection and auth in a single pass. Missing only niche but real details such as behavior at boundaries with no data or partial-pixel aggregation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema already documents the year range, the dataset ids and the GeoJSON ring-closure/wrapping rules. The description largely restates those facts (years 2015-2030, WGS84 Polygon/MultiPolygon) rather than adding syntax or edge-case meaning. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (sum total population inside a drawn polygon) together with the underlying source (WorldPop 100 m gridded estimates), the year range, and the supported geometry types. It is clearly distinguishable from worldpop_datasets and from census-table style alternatives.

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

Usage Guidelines4/5

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

Gives explicit when-to-use framing: arbitrary/derived geometries such as catchments, flood extents, service areas and proposed districts, contrasted with census tables that only cover official administrative units. It also names worldpop_datasets as the route to valid dataset ids. It stops short of stating exclusions (e.g., global totals or point queries), so a 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.