Skip to main content
Glama

MuniSpot Municipal Data

get_financials

Get detailed financial line items from audited statements. Governments (city, county, school district, state, special district): balance sheet, income statement, obligations (filter with column_index: 1 = General Fund, -1 = Total Governmental Funds). Utilities and community colleges: business-type statements: Statement of Net Position (bta_net_position), Statement of Revenues, Expenses and Changes in Net Position (bta_activities), Statement of Cash Flows (bta_cash_flows), plus printed debt service coverage (bta_coverage, utilities); columns are systems in page order, -1 = printed total. Values are dollars as printed (outflows and nonoperating expenses negative). Pro/Enterprise tier only. Requires fiscal_year parameter. Returns up to 1,000 line items.

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>",
      "fiscal_year": "<fiscal_year>"
    },
    "name": "get_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
einYesEmployer Identification Number
fund_typeNoFilter by fund type
fiscal_yearYesFiscal year (required)
column_indexNoFilter to one fund column. Governments: 1 = General Fund, -1 = Total Governmental Funds. Utilities / colleges: 1..n = columns in page order (one per system, e.g. Electric, Gas, Water), -1 = a printed total column. Omit for all columns.
statement_typeNoFilter by statement type. Governments (city, county, school_district, state, special_district): balance_sheet, income_statement, reconciliation_statement, long_term_obligations. Utilities, community colleges and public universities (business-type statements): bta_net_position (Statement of Net Position), bta_activities (Statement of Revenues, Expenses and Changes in Net Position), bta_cash_flows (Statement of Cash Flows), bta_coverage (printed debt service coverage, utilities)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key traits: results come from audited statements, values are dollars as printed with outflows and nonoperating expenses negative, access is gated to Pro/Enterprise tier, and results are capped at 1,000 line items. It does not say what happens past the 1,000-item cap (truncation vs. pagination) or how to page further, which is the main 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.

Conciseness3/5

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

Purpose is front-loaded and the entity-type branching is organized, but the paragraph is dense and repeats schema text verbatim (column_index values, bta_* definitions), which crowds out information the schema cannot carry. It is efficient in word count but not in information density relative to what is already structured.

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 5-parameter read tool with no output schema, the description covers entity applicability, statement types, value sign conventions, result volume (1,000 line items) and tier gating. What remains missing is handling of the row cap and any indication of ordering, which keeps it from a 5.

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 description coverage is 100%, so ein, fund_type, fiscal_year, column_index and statement_type are already documented in structured form. The description largely restates the column_index and statement_type semantics found in the schema, adding only the reminder that fiscal_year is required; fund_type is not mentioned at all in the description.

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 ('Get detailed financial line items from audited statements') and then enumerates the exact statement families returned for governments vs. utilities/community colleges. An agent can tell this is the audited-financials retrieval tool and not the demographic tools (get_economy, get_municipality) listed as siblings.

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 clear conditional routing: governments use balance_sheet/income_statement/obligations with column_index 1 = General Fund and -1 = Total Governmental Funds, while utilities and colleges use the bta_* statement types. It also states the Pro/Enterprise tier prerequisite and that fiscal_year is required. It never names a sibling alternative for non-financial needs, so it stops short of explicit when-not guidance.

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.