Skip to main content
Glama

active_warnings

Read-onlyIdempotent

Official NDMA/IMD hazard warnings currently active across India (the authoritative channel). Optionally filter by a region/state name (matched against the headline).

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

Input Schema

NameRequiredDescriptionDefault
regionNoOptional state/region name to filter by.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description contributes real value by disclosing that filtering matches against the headline only and that results are limited to currently active warnings, but it says nothing about coverage lag, empty-result behavior, or how records are sourced/updated.

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, no filler: authority and scope come first, the optional filter second. 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?

For a zero-required-parameter read tool with a fully documented schema and annotations covering safety and openness, this is sufficient. There is no output schema, but the tool returns warnings whose identity the description makes clear, so no critical gap remains.

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 the baseline is 3; the description earns an extra point by explaining that the region string is matched against the warning headline rather than a structured state code, which tells an agent how to phrase the value and why an unmatched string may return nothing.

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 pair: currently active official NDMA/IMD hazard warnings across India, plus a geographic scope. The parenthetical '(the authoritative channel)' signals this source is preferred over others, though it never names a sibling tool outright.

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 phrase 'currently active' plus the optional region filter implies the use case (current hazard lookup for a state), but there is no explicit when-to-use versus conditions_at or national_now, and no statement of what this tool does not cover.

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.