Skip to main content
Glama
cct15

Futuristic Risk Intelligence

get_political_events

Retrieve high-impact political events with probability estimates to assess geopolitical risks and inform decision-making.

Instructions

Get high-impact political, economic, and natural disaster events with probability estimates. Includes elections, policy changes, economic risks, and natural disasters. Each event has a probability, deadline, and confidence level. Updated daily.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoOptional: filter by event category.

Implementation Reference

  • The function `handle_get_political_events` handles the retrieval and filtering of political events data from `political_events.json`.
    def handle_get_political_events(args: dict) -> str:
        data = _load_json("political_events.json")
        if "error" in data:
            return json.dumps(data)
    
        category = args.get("category")
        if category:
            data["events"] = [e for e in data.get("events", []) if e.get("category") == category]
    
        return json.dumps(data, indent=2)
  • The definition and input schema for the `get_political_events` tool.
        "name": "get_political_events",
        "description": (
            "Get high-impact political, economic, and natural disaster events with probability estimates. "
            "Includes elections, policy changes, economic risks, and natural disasters. "
            "Each event has a probability, deadline, and confidence level. "
            "Updated daily."
        ),
        "inputSchema": {
            "type": "object",
            "properties": {
                "category": {
                    "type": "string",
                    "description": "Optional: filter by event category.",
                    "enum": ["political", "natural_disaster", "economic"],
                },
            },
            "required": [],
        },
    },
  • Registration of `get_political_events` in the `TOOL_HANDLERS` dictionary mapping names to handler functions.
    "get_political_events": handle_get_political_events,
Behavior3/5

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

With no annotations provided, the description carries the full burden. It successfully discloses data freshness ('Updated daily') and return value structure ('probability, deadline, and confidence level'), but omits operational details like error handling, rate limits, or safety characteristics.

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?

Four sentences efficiently cover purpose, event examples, return data structure, and update frequency. Every sentence contributes distinct information without redundancy or filler.

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 adequately compensates by detailing the return value fields (probability, deadline, confidence). For a single-parameter tool, it provides sufficient context, though explicit differentiation from conflict-risk tools would improve completeness.

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?

Although the schema has 100% coverage for the single 'category' parameter, the description adds valuable semantic context by listing example event types (elections, policy changes, economic risks) that map to the enum values (political, economic, natural_disaster), clarifying what each category encompasses.

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 clearly states the tool retrieves 'high-impact political, economic, and natural disaster events' with specific examples (elections, policy changes). However, it does not explicitly differentiate from the sibling tool 'get_conflict_risks', which could conceptually overlap with political events.

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

Usage Guidelines2/5

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

The description provides no explicit guidance on when to use this tool versus siblings like 'get_conflict_risks' or 'get_maritime_traffic'. While it characterizes the data (probability estimates, daily updates), it lacks 'when-to-use' or 'when-not-to-use' criteria.

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/cct15/war-dashboard-data'

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