Skip to main content
Glama
nyc-checkbook-mcp

nyc-checkbook-mcp

search_payroll

Read-only

Search NYC payroll records by agency, job title, pay frequency, pay date, or amount range; specify fiscal or calendar year. Payroll data is aggregated by agency/title/pay date, not employee name.

Instructions

Search NYC payroll records by agency, job title, pay frequency, pay date, or amount range. Requires fiscal_year or calendar_year. NOTE: the Checkbook NYC API does not expose employee names — payroll data is aggregated by agency/title/pay date. There is no employee-name search.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default: 1)
titleNoJob title (partial match)
page_sizeNoResults per page (default: 50, max: 20000)
amount_maxNoMaximum payment amount
amount_minNoMinimum payment amount
agency_codeNo3-digit agency code, e.g. '056' for NYPD, '040' for Education
fiscal_yearNoFiscal year, e.g. '2026'. Either fiscal_year or calendar_year is required.
pay_date_toNoPay date range end (YYYY-MM-DD)
calendar_yearNoCalendar year, e.g. '2025'. Either fiscal_year or calendar_year is required.
pay_date_fromNoPay date range start (YYYY-MM-DD)
pay_frequencyNoPay frequency, e.g. 'BI-WEEKLY', 'SUPPLEMENTAL'

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, e.g. '846' for Parks"New value: +"3-digit agency code, e.g. '056' for NYPD, '040' for Education"
  2. First observedv1.6.4

TDQS

A3.8/5.0
Behavior3/5

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

Read-only and open-world behavior are already declared by annotations, and the description adds real context beyond them: the upstream Checkbook NYC API exposes no employee names and data is aggregated by agency/title/pay date, so results are not per-person. It says nothing about aggregation granularity limits, rate limits, or result volume, which matters for a broad open-world dataset.

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?

Three short sentences, front-loaded with the capability then the prerequisite then the caveat, with no filler. The NOTE label makes the constraint scannable, though it could be folded more tightly into the first sentence.

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 crucial domain trap and the required-year prerequisite for an 11-parameter tool, and no output schema means return values need not be explained. It stops short of clarifying whether the aggregation caveat means results are rows of totals (and thus not safely summable per filter), which is the main interpretive risk for an agent.

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 schema already documents all 11 parameters including formats and defaults. The description only restates the year requirement and facet list, adding no syntax or interaction detail (e.g. how pay_date range interacts with fiscal_year) beyond the schema. Baseline 3 applies.

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 (Search) and resource (NYC payroll records) plus the exact facets it filters on, and rules out the most likely wrong assumption (employee-name lookup). An agent can tell this apart from search_spending or search_contracts by resource alone.

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 hard prerequisite ('Requires fiscal_year or calendar_year') and a clear scope exclusion ('There is no employee-name search'), which steers agents away from a futile query shape. It does not, however, say when to prefer this over the sibling spending/budget tools.

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