Skip to main content
Glama
nyc-checkbook-mcp

nyc-checkbook-mcp

search_budget

Read-only

Search New York City budget records by agency, department, fiscal year, or budget code to find and filter spending plans.

Instructions

Search NYC budget data by agency, department, fiscal year, or budget code.

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": "search_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default: 1)
page_sizeNoResults per page (default: 50, max: 20000)
agency_codeNo3-digit agency code, e.g. '056' for NYPD, '040' for Education
budget_codeNoBudget code
fiscal_yearNoFiscal year, e.g. '2024'
department_codeNoDepartment code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.8.0
    • changedInput schema / properties / agency_code / description
      Previous value: -"3-digit agency code"New value: +"3-digit agency code, e.g. '056' for NYPD, '040' for Education"
  2. First observedv1.6.4

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint and openWorldHint annotations already establish the safety profile. The description adds the searchable dimensions but does not disclose pagination behavior, whether filters combine with AND semantics, matching behavior, or what happens with no filters.

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?

The description is a single front-loaded sentence with no filler. It is efficient for a simple search tool, though it could be structured to separate purpose from available filters more clearly.

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 six-parameter optional search with no output schema, the description is minimally adequate: annotations cover safety and the schema covers parameter meanings. However, it omits return behavior, pagination expectations, and whether an unfiltered call returns all budget data.

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 the input schema already documents all six parameters, including page, page_size, and field formats. The description names four filter fields but does not add format examples or clarify how page and page_size relate to result limits.

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 states a specific verb and resource: search NYC budget data. It names the main filter dimensions (agency, department, fiscal year, budget code), which clearly separates it from contract or payroll siblings, though it does not explicitly distinguish it from spending-oriented tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no routing to alternatives such as search_spending or get_agency_spending. Usage is only implied by the domain name and filter list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.