Skip to main content
Glama

NYC Department of Consumer and Worker Protection license

b2b_nyc_business_licenses
Read-only

NYC Department of Consumer and Worker Protection license list: searches by business name and returns license number, category, status, expiry date and address (borough, zip). Public open data (Socrata); license rows only. Related tools on this server, for a different need: b2b_nyc_certified_business when you need NYC Small Business Services certified business list; b2b_chicago_business_licenses when you need city of Chicago current active business licenses: searches. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "q": "<q>"
    },
    "name": "b2b_nyc_business_licenses"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesBusiness name part, letters, digits, spaces and . , & - only, 2 to 60 characters
limitNoRows to return, 1 to 25 (default 10)

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
sourceNo
resultsNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description genuinely adds context: the source is public open data (Socrata), results are license rows only, and billing is $0.002 per successful call via x402 with failed calls uncharged — useful cost/risk information not visible in structured fields. It stops short of describing result ordering or how many rows a name search may match before truncation.

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 purpose and return fields, then alternatives and price; no filler sentences. The final pricing sentence is dense with parenthetical detail (networks, payment tokens) that slightly bloats the tail without helping tool selection.

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?

With an output schema present and 100% parameter coverage, the description covers purpose, scope, sibling routing, data provenance and cost — everything needed to invoke correctly. Only minor operational details (result ordering, truncation on common names) are absent, and the output schema covers the return shape.

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%, and the schema already documents both 'q' (character set, 2–60 length) and 'limit'. The description adds only the general notion of searching by business name, which the schema's parameter description already conveys, so the 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?

Names a specific verb and resource — 'NYC Department of Consumer and Worker Protection license list: searches by business name' — and enumerates the returned fields (license number, category, status, expiry date, address). It also explicitly separates itself from the two most confusable siblings (b2b_nyc_certified_business, b2b_chicago_business_licenses), so an agent can route without opening any 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?

Each alternative is paired with the condition that selects it: NYC SBS certified businesses go to b2b_nyc_certified_business, Chicago licenses go to b2b_chicago_business_licenses. The scope limit ('license rows only') further constrains when this tool applies, leaving nothing for the agent to infer.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources