Skip to main content
Glama

events_for_entity

Retrieve all historical events involving a specific entity, with optional role filter to distinguish actions caused or suffered.

Instructions

Restituisce tutti gli eventi storici in cui una data entità compare (fondazione, conquiste, eventi subiti, dissoluzione). Filtro opzionale su role (MAIN_ACTOR, VICTIM, ecc.). Usa questo tool dopo get_entity/search_entities per ricostruire la storia eventuale di una specifica entità (es. 'quali eventi ha subito l'Impero Ottomano?'). Distingue tra ruoli attivi (conquiste operate) e subiti (conquiste ricevute, genocidi, colonizzazioni).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNoRuolo dell'entità nell'evento. Esempi: MAIN_ACTOR, VICTIM, PARTICIPANT, AFFECTED, WITNESS, FOUNDED, DISSOLVED.
entity_idYes
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses the tool returns all events for an entity, explains role semantics (active vs suffered), but does not explicitly state that it is a read-only operation (though implied). No contradictions.

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 sentences: first states core purpose, second provides usage guidance and role distinction. Every sentence is necessary and informative. No fluff.

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?

Given the absence of an output schema, the description does not specify return format, but the content is well-explained. It addresses the primary use case and differentiates from many sibling tools. Slight gap on pagination or limits, but not critical.

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?

Two parameters: entity_id (integer, required) and role (optional string). Schema description coverage is 50% (role has description). The description adds value by explaining the role parameter with examples and the active/suffered distinction. entity_id remains basic but clear.

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 clearly states it returns all historical events where an entity appears, with an optional role filter. It uses a specific verb ('Restituisce') and resource ('eventi storici per entità'), and distinguishes from siblings like get_event (single event) and search_events (general search) by focusing on entity-specific history.

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?

Explicitly advises using the tool after get_entity/search_entities and provides a concrete example question. Distinguishes between active and passive roles, guiding appropriate query formulation. Missing explicit 'when not to use', but the context is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Soil911/AtlasPI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server