Skip to main content
Glama

search_events

Read-onlyIdempotent

Use for events by name, date, region or layer: Wikidata battles, UCDP armed conflict since 1989, Smithsonian GVP eruptions of VEI 4+, NOAA earthquakes, witnessed meteorite falls and undated UNESCO World Heritage sites. Returns a date-sorted page of events with recorded date precision, coordinates, attribution and map links. Month/day bounds require matching source precision; undated sites need an unbounded date search. For borders in a year, use world_at_year.

Tool call template

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

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

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
layerNoEvent dataset: conflict is Wikidata battles; ucdp is armed conflict. The other values select eruptions, earthquakes, meteorite falls or heritage sites.
limitNoMaximum results to return in this page.
queryNoSubstring of the event name or detail, e.g. "Vienna".
offsetNoPass the previous result’s next_offset with the same filters to continue.
to_dateNoSource-calendar date fields at month precision, or day precision when day is supplied. Historical sources may use Julian dates; bounds compare their recorded fields without calendar conversion.
to_yearNoYear. Negative is BC: -500 = 500 BC. There is no year 0.
from_dateNoSource-calendar date fields at month precision, or day precision when day is supplied. Historical sources may use Julian dates; bounds compare their recorded fields without calendar conversion.
from_yearNoYear. Negative is BC: -500 = 500 BC. There is no year 0.

Output Schema

NameRequiredDescriptionDefault
totalYes
eventsYes
returnedYesNumber of records in this page.
next_offsetYesOffset for the next page with the same filters, or null at the end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / layer / description
      Added value: +"Event dataset: conflict is Wikidata battles; ucdp is armed conflict. The other values select eruptions, earthquakes, meteorite falls or heritage sites."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum results to return in this page."
    • 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": {
      +    "events": {
      +      "items": {
      +        "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"
      +          },
      +          "date_precision": {
      +            "enum": [
      +              "day",
      +              "month",
      +              "year",
      +              "undated"
      +            ],
      +            "type": "string"
      +          },
      +          "day": {
      +            "maximum": 31,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "detail": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "lat": {
      +            "type": "number"
      +          },
      +          "layer": {
      +            "enum": [
      +              "conflict",
      +              "ucdp",
      +              "volcano",
      +              "quake",
      +              "meteorite",
      +              "heritage"
      +            ],
      +            "type": "string"
      +          },
      +          "lon": {
      +            "type": "number"
      +          },
      +          "map": {
      +            "type": "string"
      +          },
      +          "month": {
      +            "maximum": 12,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "source": {
      +            "description": "Original event link when available.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "year": {
      +            "description": "Display year, or null for an undated event.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "layer",
      +          "name",
      +          "year",
      +          "date_precision",
      +          "lat",
      +          "lon",
      +          "attribution",
      +          "map"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "next_offset": {
      +      "description": "Offset for the next page with the same filters, or null at the end.",
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "returned": {
      +      "description": "Number of records in this page.",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "total": {
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "returned",
      +    "next_offset",
      +    "events"
      +  ],
      +  "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. Changed2 schema fields changed
    • addedInput schema / properties / from_date
      Added value: +{
      +  "description": "Source-calendar date fields at month precision, or day precision when day is supplied. Historical sources may use Julian dates; bounds compare their recorded fields without calendar conversion.",
      +  "properties": {
      +    "day": {
      +      "maximum": 31,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "month": {
      +      "maximum": 12,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "year": {
      +      "description": "Year. Negative is BC: -500 = 500 BC. There is no year 0.",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "year",
      +    "month"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / to_date
      Added value: +{
      +  "description": "Source-calendar date fields at month precision, or day precision when day is supplied. Historical sources may use Julian dates; bounds compare their recorded fields without calendar conversion.",
      +  "properties": {
      +    "day": {
      +      "maximum": 31,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "month": {
      +      "maximum": 12,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "year": {
      +      "description": "Year. Negative is BC: -500 = 500 BC. There is no year 0.",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "year",
      +    "month"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the bar is lower, and the description still adds substantive behavior: results are a date-sorted page with recorded date precision, coordinates, attribution and map links. The precision-matching caveat is a genuine behavioral constraint not implied by the annotations.

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?

Three tight sentences: capability and dataset inventory first, return shape second, constraints and sibling routing last. No filler, no restatement of the title, and every clause carries information an agent needs.

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

Completeness5/5

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

With 10 parameters, nested date objects, enums and an output schema, the description covers what the schema cannot: dataset semantics, precision-aware filtering, pagination-by-offset intent (reinforced by the offset schema text), and the alternative tool. Nothing needed 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 coverage is 100%, so baseline would be 3, but the description adds non-obvious operational meaning: bounds are compared against the source's recorded date precision rather than converted, and undated records only surface without date bounds. That clarifies how from_date/to_date and the year params actually behave in combination.

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?

Opens with a specific verb+resource ('events by name, date, region or layer') and enumerates the actual datasets covered (Wikidata battles, UCDP, GVP eruptions, NOAA quakes, meteorite falls, UNESCO sites), so an agent knows exactly what universe of records is searched. It also differentiates itself from the sibling world_at_year by task.

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 concrete selection criteria (name, date, region, layer) plus two operational rules: month/day bounds require matching source precision, and undated sites need an unbounded date search. It names world_at_year as the alternative for borders. It stops short of a full when-not list, but the routing information is clear.

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