Skip to main content
Glama

API Ninjas (Unofficial)

Historical Events

historical_events
Read-onlyIdempotent

API Ninjas historical events: notable events from world history. Filter by free-text keyword and/or an exact date (year/month/day). Returns a list of { year, month, day, event } describing what happened. Example: historical_events({ year: 1969, month: 7, day: 20 }).

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": {
      "day": 20,
      "year": 1969,
      "month": 7
    },
    "name": "historical_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoDay of the month (1-31)
textNoKeyword(s) to search event descriptions, e.g. "moon landing"
yearNoYear of the event, e.g. 1969
monthNoMonth of the event (1-12)
_apiKeyNoOptional, your own API Ninjas key for higher limits; omit to use the shared Pipeworx key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key."New value: +"Optional, your own API Ninjas key for higher limits; omit to use the shared Pipeworx key."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's job is supplementary context. It delivers that by disclosing the return record shape { year, month, day, event } and noting the shared-key/higher-limit behavior via the API key parameter, which is real context beyond the annotations. It stops short of stating result count limits or whether text search is substring or full-text matching.

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 short sentences: what it is and its source, how to filter, what comes back, plus one compact example. Front-loaded and free of filler; every clause carries information an agent can act on.

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?

For a zero-required-parameter lookup tool with full schema coverage and no output schema, the definition covers source, filters, and return shape, which is enough to call it correctly. The residual gaps are result-size and text-matching semantics, minor for this complexity level.

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 coverage is 100%, so every parameter is already documented with types and ranges, establishing a baseline of 3. The description reinforces this with an example call and the "keyword and/or exact date" combination semantics, but adds little about range boundaries or what happens with partial date input that the schema does not already say.

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 the specific resource and source ("API Ninjas historical events: notable events from world history") and states the two filtering axes. An agent knows exactly what it retrieves; no sibling handles comparable data, so no explicit differentiation is needed, though none is attempted.

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 implied rather than prescribed: "Filter by free-text keyword and/or an exact date" tells the agent how to narrow results, and the example shows one call shape. There is no statement of when to reach for this tool versus another, or when filters should be combined versus used alone.

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.