Skip to main content
Glama
nyc-checkbook-mcp

nyc-checkbook-mcp

search_nycedc_contracts

Read-only

Search NYCEDC and other government entity registered expense contracts by fiscal year, vendor, contract number, OGE agency, award method, expense category, amount, or date range.

Instructions

Search NYCEDC / Other Government Entities (OGE) contracts (Checkbook domain Contracts_OGE). These are separate from citywide contracts and cover economic-development-corporation and other-government-entity agreements. Registered expense contracts only. Filter by fiscal year, vendor, entity contract number, OGE agency code, award method, expense category, budget name, commodity line, amount, and date ranges.

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

Input Schema

NameRequiredDescriptionDefault
pinNoContract PIN / tracking number
pageNoPage number, 1-based (default: 1)
page_sizeNoResults per page (default: 50, max: 20000)
amount_maxNoMaximum current contract amount
amount_minNoMinimum current contract amount
budget_nameNoBudget name (first 3 characters matched)
contract_idNoContract number
end_date_toNoEnd date range end (YYYY-MM-DD)
fiscal_yearNoFiscal year, e.g. '2024'
vendor_nameNoPrime vendor name (first 3 characters matched). The vendor may be a reseller, not the product's maker.
award_methodNoAward method code
end_date_fromNoEnd date range begin (YYYY-MM-DD)
start_date_toNoStart date range end (YYYY-MM-DD)
commodity_lineNoCommodity line code (EDC contracts)
start_date_fromNoStart date range begin (YYYY-MM-DD)
expense_categoryNoExpense category code
entity_contract_numberNoOGE entity contract number
other_government_entities_codeNoOGE agency code (identifies the other government entity)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.8.0
    • changedInput schema / properties / vendor_name / description
      Previous value: -"Prime vendor name (first 3 characters matched)"New value: +"Prime vendor name (first 3 characters matched). The vendor may be a reseller, not the product's maker."
  2. First observedv1.6.4

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds meaningful non-annotation context: the backing domain (Contracts_OGE), the entity types covered (economic development corporation and other government entities), and the restriction to registered expense contracts. It says nothing about result volume, pagination limits beyond the schema's, or ordering, so it is not exhaustive.

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?

Front-loaded with the identity and scope of the tool, then the critical separation from citywide contracts, then constraints. The trailing enumeration of filterable fields largely restates the schema and is the least valuable sentence, but the whole description remains short and free of filler.

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 read-only search tool with no output schema, the description supplies the dataset identity, the entity scope, and the expense-only restriction, which is the non-obvious information an agent cannot get elsewhere. It does not describe the shape of returned records or how results are ordered, which would be the remaining gap for an 18-filter search endpoint.

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% across all 18 parameters, so field-level meaning (e.g. vendor_name matching only the first 3 characters, date formats, page_size maximum) is already fully documented in the schema. The description only recites the filter categories at a high level and adds no syntax, defaults, or matching behavior beyond it, so 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 and resource (search NYCEDC/OGE contracts), names the underlying dataset (Checkbook domain Contracts_OGE), and explicitly distinguishes itself from citywide contracts, which is exactly the boundary an agent needs against the sibling search_contracts. The scope restriction 'Registered expense contracts only' further narrows what this tool returns.

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?

The line 'These are separate from citywide contracts' gives clear routing guidance by implication — an agent looking for citywide agreements should pick a different tool. It also states a hard usage condition (registered expense contracts only). It stops short of naming the alternative tool explicitly or saying when-not to use it, so it is not a full 5.

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