Skip to main content
Glama

x402_socrata-la_get_v1_crime_data

Retrieve Los Angeles crime data from data.lacity.org with query filters, ordering, and limits for analysis, reporting, or public-safety research.

Instructions

socrata-la — Los Angeles Open Data (data.lacity.org) curated datasets: MyLA311 cases, crime data, building permits, business registrations, parking occupancy tax locations, streetlight requests [GET /v1/crime-data] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/crime-data?limit=2&order=date_rptd%20DESC

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

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.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important behavioral fact: the call costs $0.005 USDC on four specific chains. The schema's restart/operationId fields imply paid-call retry semantics, but the description says nothing about rate limits, pagination, failure handling, or what a successful response contains.

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 endpoint, price, and example are front-loaded and useful, but the middle clause enumerating five other LA datasets is filler for this tool and dilutes focus. It is one dense sentence rather than a structured definition.

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?

With no output schema and no annotations, the description should say more about the returned record shape, pagination, and cost-per-retry behavior for a paid endpoint. It adequately covers endpoint, price, and query syntax, which is enough to attempt a correct call but leaves the agent guessing about results.

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 baseline is 3; the description earns an extra point by showing a concrete query string ('?limit=2&order=date_rptd%20DESC'), which teaches the Socrata-style query conventions (limit, order-by field, URL encoding) that the generic 'query' object in the schema does not convey. Body, restart, and operationId remain undocumented in prose, but the schema covers those.

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 a specific verb+resource combination ('GET /v1/crime-data') and identifies the source ('socrata-la — Los Angeles Open Data (data.lacity.org)'), which is enough to distinguish it from the many non-LA crime tools in the sibling list. The extra catalog sentence listing unrelated LA datasets (permits, 311, streetlights) adds some context about the provider but does not sharpen this tool's purpose.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the endpoint to call for LA crime data, and the sample query hints at filtering/ordering. There is no explicit statement of when to use this versus other LA datasets or versus the other crime endpoints in the sibling set, and no prerequisites beyond the price mention.

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