Skip to main content
Glama

x402_socrata-somerville_get_v1_police_data_crime_reports

Retrieves Somerville police crime reports from the city open-data API, with query options for limits and filters, so you can analyze local incident data.

Instructions

socrata-somerville — Somerville open data (data.somervillema.gov) curated datasets: 311 Service, Information, and Feedback Requests, City of Somerville Parking Permits, Police Data: Traffic Citations… [GET /v1/police-data-crime-reports] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/police-data-crime-reports?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-somerville_get_v1_police_data_crime_reports"
  }
}

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.2/5.0
Behavior1/5

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

Annotations are absent, so the description carries the full burden. It adds useful cost/payment context ($0.005 USDC on eip155:8453+137+42161+480) and implies a read-only GET, but says nothing about pagination behavior, maximum page size, rate limits, authentication, response shape, or whether a retry re-charges — all critical for a 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.

Conciseness2/5

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

The opening sentence is group-level boilerplate listing other datasets that this call does not serve, and trails off with an ellipsis, which is noise for a single-endpoint tool. Only the bracketed path, price line, and example earn their place, and they come after the irrelevant catalog text.

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?

With no output schema and no annotations, the description should clarify what the records contain (fields, date coverage), how results are paginated or limited, and what the paid call returns. It provides payment and endpoint info but leaves the agent guessing on response structure and filtering capability for a nested, four-parameter tool.

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 the four parameters (body, query, restart, operationId) are already documented. The description's '?limit=2' example adds a small amount of usage flavor, but it doesn't clarify how query filters map to this dataset's columns or what fields are filterable; baseline 3 applies when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The endpoint path '[GET /v1/police-data-crime-reports]' combined with the provider line identifies the resource as Somerville police crime reports, but the prose never states a verb+resource for this tool. Instead it enumerates three unrelated datasets (311 requests, parking permits, traffic citations) with an ellipsis, so the agent must infer which dataset this call actually 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?

There is no when-to-use guidance, no conditions for preferring this over the many sibling crime-report tools (e.g. traffic_citations, crime_data), and no exclusions. The only actionable hint is the '?limit=2' example, which shows a call shape but not selection criteria.

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