Skip to main content
Glama

LocalSig - Local Outage Guidance

Power outages in a Maryland ZIP code

get_zip
Read-only

How many customers are without power in one Maryland ZIP code right now (State of Maryland data). For weather and water, call get_signals with the county.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "zip": "<zip>"
    },
    "name": "get_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipYes5-digit Maryland ZIP code, e.g. '21201'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, so the safety profile is covered. The description adds value beyond them by disclosing the data source (State of Maryland), the real-time nature ("right now"), and the Maryland-only scope, though it does not say what happens for an out-of-state or malformed ZIP or whether the count is returned as a bare number.

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 short sentences with zero filler: the capability and its scope come first, the routing hint second. Nothing is repeated and nothing could be cut without losing information.

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 one-parameter read tool with full schema coverage, the definition covers what is measured, where, and how fresh the data is. The remaining gap is edge-case behavior — an invalid or non-Maryland ZIP — and the exact response shape, which is only implied by "how many customers."

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% and the single `zip` parameter is documented in the schema with a 5-digit format and an example. The description reinforces the Maryland constraint and the single-ZIP scope but adds no format or validation detail beyond what the schema already states, so the baseline of 3 applies.

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 names a precise resource (customers without power), a precise geographic scope (one Maryland ZIP code), and a freshness qualifier ("right now"), plus the underlying data source. It also separates itself from get_signals by assigning weather and water queries elsewhere, so an agent can route without opening the schema.

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?

It gives a concrete exclusion — use get_signals with the county for weather and water — which is real routing guidance rather than implied usage. It stops short of saying when NOT to use this tool for other cases (e.g., non-Maryland ZIPs or list_counties lookups), so it is clear context without full exclusions.

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.