Skip to main content
Glama

MuniSpot Municipal Data

get_economy

Get economic and demographic data (median household income, unemployment, poverty rate, education attainment) by municipality EIN, CBSA metro area code, or state FIPS code. Census ACS 5-year actuals by default; set include_forecasts for MuniSpot projections of years the Census has not published (flagged is_forecast).

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_economy"
  }
}

Input Schema

NameRequiredDescriptionDefault
einNoMunicipality EIN — looks up economy data by auditee_ein
yearNoCensus year to filter by
cbsa_codeNoCBSA/metro area code
state_fipsNoState FIPS code (e.g. 04 for Arizona)
include_forecastsNoInclude MuniSpot projections for years the Census has not published yet (each record carries is_forecast). Default false: Census ACS actuals only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral load; it does disclose the data provenance (Census ACS 5-year), the default behavior, and that forecast rows are flagged via is_forecast. It is silent on precedence when several lookup keys are supplied at once, on whether results are paginated, and on any rate/credit implications.

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, with the resource and lookup keys front-loaded and the default-vs-forecast rule placed after. Every clause carries information an agent needs to pick keys and set the flag.

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?

Covers the core call pattern well for a tool with no annotations and no output schema, and it explains the is_forecast return flag. However, with zero required parameters it never says what happens when no key is supplied (all municipalities?) or how multiple keys interact, which is a real gap an agent will hit.

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, but the description goes further by tying each key to its source system (ein resolves against auditee_ein, state_fips as a FIPS code) and by framing include_forecasts as the switch between actuals and projections rather than as a bare boolean.

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?

States a specific verb and resource (economic/demographic data), enumerates the exact metrics (income, unemployment, poverty, education), and names the three lookup keys (EIN, CBSA code, state FIPS), which lets an agent separate it from get_financials or get_municipality without opening a 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?

Gives a clear selection rule for the main branch point: Census ACS 5-year actuals by default, and set include_forecasts only for years the Census has not published. It does not name a sibling tool to prefer or state when-not-to-use, so it stops short of a 5.

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.