Skip to main content
Glama

get_disaster_statistics

Read-onlyIdempotent

Get disaster statistics aggregated by event type and alert level for a specified time period.

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": "get_disaster_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
toDateNoEnd date for statistics period
countryNoCountry filter
fromDateNoStart date for statistics period
alertLevelNoAlert level filter
eventTypesNoComma-separated event types to include

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds that results are aggregated by event type and alert level, but says nothing about default date handling, permissions, or what the statistics contain. With annotations carrying the safety profile, this is adequate but thin.

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?

A single sentence, front-loaded with the verb and resource, with no redundant wording. Every clause contributes scope.

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

Completeness3/5

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

The definition is sufficient for a simple read-only aggregation tool whose annotations cover safety. However, with no output schema it does not clarify what statistics are returned or how null dates behave, leaving some context for an agent to infer.

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 all five optional filters are documented in the schema. The description adds grouping dimensions (event type, alert level) and references a time period, but does not explain parameter interactions or the country filter. Baseline 3 is appropriate.

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?

States a specific verb and resource: 'Get disaster statistics,' and scopes them as aggregated by event type and alert level over a time period. It does not explicitly contrast with siblings such as get_event_data or search_events, so 4 rather than 5.

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?

The aggregation and time-period phrasing implies it is for summary statistics rather than raw event retrieval, but there is no explicit when-to-use guidance, exclusions, or named alternative. Usage is therefore implied rather than directed.

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