Skip to main content
Glama

x402_socrata-nyc_get_v1_traffic_collisions

Fetches NYC traffic collision records from NYC Open Data via Socrata, returning crash details for analysis and reporting. Use query parameters to filter and limit results.

Instructions

socrata-nyc — NYC Open Data (data.cityofnewyork.us) curated datasets: 311 requests, crime complaints, restaurant inspections, traffic collisions, building permits, air quality [GET /v1/traffic-collisions] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/traffic-collisions?limit=2

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": "x402_socrata-nyc_get_v1_traffic_collisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the burden, and it does disclose the most consequential behavioral trait: this is a paid call costing $0.005 USDC across four chains, which matters before invocation. It reveals nothing about rate limits, error/failure semantics, data freshness, or what the response contains, and the restart/operationId retry semantics are left entirely to the schema.

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

Conciseness3/5

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

The entry is compact and front-loads the provider and endpoint path, but a large share of the text is a catalogue of unrelated datasets that does no work for this specific tool. The pricing and example are useful; the dataset roll-call is padding.

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

Completeness2/5

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

This is a data-query tool with a generic, nested schema (body/query/restart/operationId) and no output schema, so the description needed to explain filtering syntax, pagination, result shape, and the paid-retry model. It covers only the price and a minimal example, leaving an agent unable to construct a meaningful query without trial and error.

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 restart, operationId, body, and query are already documented in the schema, and the description adds only an example `?limit=2` that illustrates query-parameter usage. It does not clarify how query parameters map to the nested `query` object or what filtering syntax the underlying Socrata API expects, so baseline 3 applies.

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 names the provider (NYC Open Data / data.cityofnewyork.us), the resource (traffic collisions via GET /v1/traffic-collisions), and situates it within a curated dataset family, so an agent can identify the target data precisely. It stops short of differentiating this endpoint from lookalike siblings such as traffic offences or 311 requests beyond the dataset label.

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

Usage Guidelines2/5

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

There is no statement of when to use this endpoint versus the other listed NYC datasets or versus sibling traffic tools, and no prerequisites (wallet, payment, retry policy) are spelled out. The only hint is a bare example URL with limit=2, which shows syntax but not selection guidance.

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

Deploy Server

Other Tools