Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_public_safety_contacts

Read-onlyIdempotent

Read publicly published structured office contacts of police stations, fire stations or government hospitals from supplied website; not emergency dispatch. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "url": "<url>",
      "agency": "<agency>"
    },
    "name": "api_public_safety_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic credential-free HTTPS URL on port 443
agencyYesRequired police,fire or public_hospital

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely non-obvious operational context: a 0.01 USDC per-call charge on Base x402 and the X-Provider-Key header for customer-owned provider credentials. It does not describe failure behavior for non-credential-free or non-443 URLs, which is the main remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with the purpose front-loaded, followed by the exclusion, then cost and auth facts. Every clause carries information; the semicolon-joined cost/header sentence is slightly compressed but not wasteful.

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?

For a two-parameter, open-world fetch tool with no output schema, the definition covers cost, auth, and scope but says nothing about the returned contact structure beyond 'structured office contacts', nor about rate limits or what happens when the supplied URL yields no matches. Payment and auth are well handled, so it is adequate but not fully self-sufficient.

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%, with both parameters (url, agency) described in the schema down to port and allowed agency values, so the baseline is 3. The description adds only a mild gloss, 'from supplied website', that maps url to the source site but adds no format, validation, or example detail beyond the schema.

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 (read) and a precise resource: publicly published structured office contacts for police stations, fire stations or government hospitals, sourced from a supplied website. The explicit exclusion 'not emergency dispatch' narrows the intent further. It stops short of naming the nearest siblings (api_police_incident_log, api_healthcare_directory, api_government_services), so disambiguation is left implicit.

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?

Gives a clear usage context (pull published office contacts from a given URL) and one explicit when-not ('not emergency dispatch'). No alternative tool is named for the emergency case or for incident/directory data, so an agent must infer routing from sibling names alone.

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