Skip to main content
Glama

reference_population

Read-only

Population & density history — Population of any city, region or country (place= name or Wikidata Q-id): latest figure with date and method (census/estimate), area in km2, density per km2, compound annual growth rate over ~5+ years and up to 25 years of history. Wikidata (CC0). Price: $0.003 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "place": "<place>"
    },
    "name": "reference_population"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeYesLagos

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, openWorld and non-destructive, so the bar is lower, yet the description adds real context beyond them: the data source (Wikidata, CC0), the per-call price ($0.003 USDC on Base via x402), and the shape and time bound of the result (method-tagged latest figure, up to 25 years of history). It does not state what happens on a failed or ambiguous lookup, which keeps it from a 5.

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

Conciseness5/5

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

Two dense sentences with the capability stated first, followed by the returned fields, source and price; every clause (method, area, density, CAGR, history window, cost) carries information an agent needs to decide or budget. Nothing is redundant or padded.

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 takes on the burden of describing return values and does so concretely, and it discloses cost and provenance. It is nearly complete for a one-parameter lookup tool; only failure/ambiguity behavior is unaddressed.

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

Parameters4/5

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

Schema coverage is 100% with a single 'place' parameter whose only example is 'Lagos', so the schema leaves the accepted entity types and identifier forms unclear. The description fills that gap by stating that place accepts a name or a Wikidata Q-id and that regions and countries are valid, not just cities.

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

Purpose4/5

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

The description names a specific resource and scope: population and density history for 'any city, region or country', including exactly what is returned (latest figure with date and method, area km2, density, CAGR, up to 25 years of history). That is far more precise than a tautology. It stops short of 5 because it never differentiates itself from likely-overlapping siblings such as reference_city or reference_wikidata.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for population/density questions, and the 'place= name or Wikidata Q-id' note hints at input choice. There is no explicit when-to-use vs. when-not guidance, no mention of what to do when a place is ambiguous, and no routing to alternative reference tools.

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.

Resources