Skip to main content
Glama

MuniSpot Municipal Data

get_municipality

Get detailed profile for a single municipality by EIN, including full MuniScore breakdown, location, and AI-generated financial summary. Governments carry the v5 MuniScore (4 factors, 9 metrics); utilities carry scorecard ut_v1 with factor_details (service area economy, system, liquidity, debt).

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": {
      "ein": "<ein>"
    },
    "name": "get_municipality"
  }
}

Input Schema

NameRequiredDescriptionDefault
einYesEmployer Identification Number (e.g. 86-0006490)
fiscal_yearNoFiscal year (default: 2023)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description carries the whole behavioral burden. 'Get' implies a read operation and the description discloses the shape of the return (score factors, location, AI summary, utility-specific factor_details), but it never states behavior for missing EINs, whether the EIN must match exactly, or how entity type is inferred. For a lookup tool with zero annotation coverage, these gaps matter.

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 sentences, front-loaded with the core retrieve-by-EIN action, with no filler. The second sentence is dense domain jargon (v5, ut_v1, factor_details) but it is load-bearing for interpreting output, so it earns its space; 'MuniScore' is repeated but minimally.

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?

With no output schema and no annotations, the description does a creditable job of describing what comes back, including the government-versus-utility scorecard distinction and the utility factor categories. Missing only edge-case behavior (unknown EIN, entity-type resolution) for full completeness.

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 both parameters are already documented with an EIN example and a fiscal-year default. The description adds only that EIN identifies a single municipality and, indirectly, that it drives which scorecard variant applies; it says nothing extra about how fiscal_year changes the returned MuniScore vintage.

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 opens with a specific verb and resource ('Get detailed profile for a single municipality by EIN') and enumerates the payload (MuniScore breakdown, location, AI-generated financial summary). The word 'single' implicitly separates it from the list-oriented search_municipalities sibling, though no sibling is named explicitly.

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?

Usage is only implied: an agent can infer it should call this when it already has an EIN and wants a full profile rather than a search result. There is no explicit when-to-use/when-not guidance, no mention of what to do with an invalid or unknown EIN, and no routing to compare_municipalities or get_financials for narrower needs.

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.