Skip to main content
Glama
nyc-checkbook-mcp

nyc-checkbook-mcp

smart_search

Read-only

Search Checkbook NYC records by vendor, product, keyword, or phrase; use as an opt-in fallback when structured spending or contract tools cannot answer a query.

Instructions

DISABLED BY DEFAULT (opt in with CHECKBOOK_ENABLE_SMART_SEARCH=1). The checkbooknyc.com /smart_search endpoint is not a supported Checkbook NYC API endpoint — it is a WAF-fronted, JavaScript-rendered web page — so this server does not call it by default. Prefer the structured tools: search_spending(payee_name=…) to find checks paid to a named vendor, search_contracts for contract filters. When disabled (or when opted-in but WAF-blocked) this returns structured fallback guidance rather than data.

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": {
      "query": "<query>"
    },
    "name": "smart_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (default 25, max 100)
queryYesSearch term — product name, vendor name, keyword, or phrase

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.4

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the non-obvious operational facts the agent actually needs: disabled by default, requires an environment variable to enable, may still be WAF-blocked, and returns structured fallback guidance instead of data in those cases. It is consistent with readOnlyHint=true — nothing is mutated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Four sentences, front-loaded with the critical 'DISABLED BY DEFAULT' constraint before any rationale. Every sentence carries distinct load: status, reason, alternatives, fallback behavior — no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, no-output-schema tool, the description covers the three things an agent must know: it is off by default, how to turn it on, and what happens when it is unavailable. Nothing needed to decide whether to call it or interpret the response is missing.

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 both query and limit are fully documented in the schema itself. The description's mention of 'search term' adds no format, syntax, or limit semantics beyond what is already structured, so the baseline of 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+resource (calls the checkbooknyc.com /smart_search endpoint) and immediately qualifies its status: disabled by default, WAF-fronted, JS-rendered, returns fallback guidance rather than data. An agent knows exactly what this tool is and what it will get back without opening the schema.

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

Usage Guidelines5/5

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

Explicit when-not guidance ('not a supported API endpoint ... does not call it by default') plus named alternatives with concrete usage patterns: search_spending(payee_name=…) for checks paid to a vendor and search_contracts for contract filters. It also gives the exact opt-in mechanism (CHECKBOOK_ENABLE_SMART_SEARCH=1).

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