Skip to main content
Glama

x402_socrata-marin_get_v1_crime_counts

Retrieve Marin County crime counts from open data to analyze incident totals by category, location, or time period.

Instructions

socrata-marin — Marin County open data (data.marincounty.gov): building permits, sheriff crimes, food inspections, beach water quality, parks budget [GET /v1/crime-counts] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/crime-counts?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-marin_get_v1_crime_counts"
  }
}

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

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

No annotations are provided, so the description carries the full burden. It does disclose genuinely behavioral facts that are not in structured fields: the GET method, the $0.005 USDC cost, and the supported chains (eip155:8453+137+42161+480), which tell the agent this is a paid read. It does not disclose what the response contains, how results are ordered or paginated, or any rate/row limits.

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?

Everything is packed into a single dense line that front-loads source and price, which is good. But the catalog of four other datasets is boilerplate that does not help select this tool and crowds out more useful detail. The example is the highest-value fragment and appears last.

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-retrieval endpoint with no output schema, so the description is the only place an agent can learn what comes back. It says nothing about the fields, granularity, or time coverage of the crime counts, and nothing about pagination defaults. For a paid query tool, that omission leaves the agent unable to judge whether the call will answer its question.

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 body, query, restart, and operationId are already documented in the schema. The description adds only one concrete usage example (limit=2) demonstrating how query parameters are passed, which is a small but real addition. Baseline 3 is appropriate given the schema does the heavy lifting.

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 description names the Marin County open-data source and the specific endpoint ([GET /v1/crime-counts]), so the resource is identifiable. However, the leading sentence enumerates four unrelated datasets (permits, crimes, inspections, water quality) that belong to the whole family rather than this tool, and it never distinguishes "crime counts" from the sibling sheriff_crimes, leaving the actual scope of this endpoint vague.

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 any alternative, nor any prerequisite beyond the payment price. The only hint at usage is the example URL with limit=2, which shows syntax rather than selection guidance. The presence of a nearly synonymous sibling (x402_socrata-marin_get_v1_sheriff_crimes) makes the absence of routing guidance a real gap.

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