Skip to main content
Glama
nyc-checkbook-mcp

nyc-checkbook-mcp

search_revenue

Read-only

Search NYC revenue data by agency, revenue category/class/source, fund class, or fiscal year to filter and retrieve matching records.

Instructions

Search NYC revenue data by agency, revenue category/class/source, fund class, or fiscal year.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default: 1)
page_sizeNoResults per page (default: 50, max: 20000)
fund_classNoFund class code
agency_codeNo3-digit agency code, e.g. '056' for NYPD, '040' for Education
fiscal_yearNoFiscal year, e.g. '2026'
funding_classNoFunding class code
revenue_classNoRevenue class code
revenue_sourceNoRevenue source code
revenue_categoryNo2-character revenue category code (not the category name)
budget_fiscal_yearNoBudget fiscal year, e.g. '2026'

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.4/5.0
Behavior3/5

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

Annotations already declare the tool as a safe read-only search with openWorldHint=true. The description adds the domain scope (NYC revenue data) but does not mention pagination behavior, result limits, or how the open-world search behaves beyond what the annotations and schema provide.

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 concise sentence that front-loads the core purpose and then lists supported filter dimensions. It has no unnecessary wording, though it is almost too terse for a ten-parameter search tool.

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?

The tool has ten parameters, no required fields, and no output schema. The description names the resource and filter dimensions but does not explain what a result contains, how pagination works, or when this tool should be preferred over sibling search tools.

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 the input schema already explains each parameter in detail, including agency and revenue category code formats. The description only restates the filter categories at a high level and adds no new semantic 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?

The description states a specific verb (Search) and resource (NYC revenue data), and lists the main dimensions by which the data can be filtered. It is clear what the tool does, but it does not distinguish this tool from siblings such as search_budget or smart_search.

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 implied by the list of filter dimensions, and an agent can infer that this tool is for revenue data lookups. However, there is no explicit when-to-use guidance, no exclusions, and no reference to alternative tools for related budget or spending searches.

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