Skip to main content
Glama

x402_socrata-newyork_get_v1_index_crimes

Query New York state index crime data by county and agency from data.ny.gov to analyze local crime trends and reporting needs.

Instructions

socrata-newyork — New York state open data (data.ny.gov): index crimes by county and agency, hate crimes, local unemployment statistics, UI claims, lottery aid to education [GET /v1/index-crimes] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/index-crimes?limit=2&where=county%3D'Albany'

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

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

B3.2/5.0
Behavior3/5

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

No annotations, so the description carries the burden. It usefully discloses that the call is paid ($0.005 USDC on eip155:8453+137+42161+480) and that it is a GET, which is real behavioral context an agent needs. It says nothing about pagination, row limits, response shape, or failure/retry behavior, leaving significant gaps for an unannotated paid endpoint.

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?

Front-loaded with the endpoint and example, and the price is stated compactly. However, the catalog of unrelated datasets (hate crimes, unemployment, UI claims, lottery aid) pads the sentence with information that does not help invoke this specific tool.

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?

For an unannotated, no-output-schema, paid GET tool the definition covers the essentials: what data, which endpoint, what it costs, and a working query example. It is still thin on result format and on how to paginate or constrain large crime datasets, which an agent would need to call it well.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the structural baseline is 3, but the example (/v1/index-crimes?limit=2&where=county%3D'Albany') adds genuine meaning beyond the schema by showing that query accepts SoQL-style limit and where parameters rather than arbitrary key/values. It does not explain restart or operationId semantics, which the schema already covers.

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?

States a specific verb+resource: GET /v1/index-crimes on New York state open data (data.ny.gov), returning index crimes by county and agency. It is distinguishable from siblings like hate_crimes or unemployment_statistics, though the opening sentence lists all those sibling datasets together, which blurs the boundary of what THIS endpoint returns.

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?

No when-to-use or when-not-to-use guidance, and no routing to alternatives such as the hate-crimes or unemployment endpoints even though they are named in the same sentence. The only usage signal is an example query, which implies filtering but does not state when this tool is the right pick.

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