Skip to main content
Glama

world_at_year

Read-onlyIdempotent

Use for which states, empires or cultures had documented borders in a given year. An optional bbox selects snapshots that overlap the region. Returns a page of polities, the total count, a map link and OpenHistoricalMap attribution. Set lang to localize links. For a named polity’s lifespan or border history, use find_polity. An empty result means no matching snapshot was found in the available data.

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": {
      "year": "<year>"
    },
    "name": "world_at_year"
  }
}

Input Schema

NameRequiredDescriptionDefault
bboxNoBounding box [west, south, east, north] in degrees.
langNoSite language for returned page and map links. Use the language the user is writing in.en
yearYesYear. Negative is BC: -500 = 500 BC. There is no year 0.
limitNoMaximum results to return in this page.
offsetNoPass the previous result’s next_offset with the same filters to continue.

Output Schema

NameRequiredDescriptionDefault
mapYes
yearYes
countYes
coverageYes
politiesYes
returnedYesNumber of records in this page.
attributionYes
next_offsetYesOffset for the next page with the same filters, or null at the end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 100,
      +  "description": "Maximum results to return in this page.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Pass the previous result’s next_offset with the same filters to continue.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "attribution": {
      +      "properties": {
      +        "attribution": {
      +          "type": "string"
      +        },
      +        "licence": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "source",
      +        "url",
      +        "licence",
      +        "attribution"
      +      ],
      +      "type": "object"
      +    },
      +    "count": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "coverage": {
      +      "properties": {
      +        "earliest_record": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "earliest_record",
      +        "note"
      +      ],
      +      "type": "object"
      +    },
      +    "map": {
      +      "type": "string"
      +    },
      +    "next_offset": {
      +      "description": "Offset for the next page with the same filters, or null at the end.",
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "polities": {
      +      "items": {
      +        "properties": {
      +          "also_known_as": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "from": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "page": {
      +            "type": "string"
      +          },
      +          "to": {
      +            "type": "string"
      +          },
      +          "wikidata": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "from",
      +          "to",
      +          "wikidata",
      +          "page"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "returned": {
      +      "description": "Number of records in this page.",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "year": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "year",
      +    "count",
      +    "returned",
      +    "next_offset",
      +    "map",
      +    "coverage",
      +    "attribution",
      +    "polities"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / lang
      Added value: +{
      +  "default": "en",
      +  "description": "Site language for returned page and map links. Use the language the user is writing in.",
      +  "enum": [
      +    "en",
      +    "fr",
      +    "es",
      +    "pt",
      +    "de",
      +    "it",
      +    "nl",
      +    "ja",
      +    "ru",
      +    "pl",
      +    "tr",
      +    "id",
      +    "hi",
      +    "ar"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds return-shape context (a page of polities, total count, map link, attribution), the bbox overlap semantics, and the empty-result meaning, which go beyond the annotations. It stops short of describing pagination flow in prose, but the schema covers next_offset.

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?

The description is front-loaded with purpose and alternative, then parameter and result notes, with no filler. The sentence about returned polities, total count, map link and attribution is somewhat redundant given an output schema exists, which keeps it from a 5. Otherwise every sentence is doing work.

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 an output schema present, the description does not need to enumerate return values, yet it gives a compact preview plus empty-result semantics, which is more than required. The only gap is that limit and offset behavior is left entirely to the schema; for a simple read-only lookup this is acceptable. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is 100%, so the baseline is 3, and the description earns more by clarifying that bbox selects snapshots that overlap the region and that lang localizes returned links. These add behavioral meaning to parameters whose schema text is more mechanical (degrees, site language). Year and pagination semantics remain delegated entirely to the schema.

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

Purpose5/5

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

The description opens with a specific verb-and-resource statement: which states, empires or cultures had documented borders in a given year. It also explicitly separates this tool from the sibling find_polity, which handles a named polity's lifespan. An agent can choose between the two without opening either schema.

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

Usage Guidelines5/5

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

It states the when-to-use condition (documented borders in a given year) and names the alternative for a different need: 'For a named polity's lifespan or border history, use find_polity.' It also explains what an empty result means, closing the main interpretive gap. This is explicit routing guidance, not an implied use case.

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