Skip to main content
Glama

Official Records Hub (UK & US): property, company, sanctions, health, vehicle & travel checks

uk_crime_trend

Pay-per-call crime trend for property and relocation AI agents. Send a postcode in England or Wales and get 12 months of police-recorded street crime within about 1 mile, the latest 3 months compared with the same 3 months a year earlier (rising, falling or stable), and the change for each crime category, with a plain-English summary, as JSON. Saves an agent 15 separate police API calls. Official data.police.uk open data (OGL). Errors never charged. Not Scotland. Use this when the user asks whether crime near a UK postcode is rising or falling over the last year. Not for: a single month's snapshot (use uk_crime_summary). Price: $0.03 USDC per call (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "uk_crime_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPostcode in England or Wales, e.g. L35 1QA. Example: L35 1QA

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses data source and licence (data.police.uk, OGL), cost model ($0.03 USDC via x402), that errors are never charged, output format (JSON), and geographic scope limits. It stops short of stating latency, retry behavior for invalid postcodes, or exactly what an error response looks like.

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

Conciseness5/5

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

Front-loads the resource and payload, then usage trigger, exclusions, and cost. Sentences are dense but each delivers distinct information; the 'saves 15 API calls' and source/licence notes justify their space given the pay-per-call framing.

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

Completeness5/5

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

For a single-parameter, no-output-schema tool, the description covers coverage area, time window, comparison logic, return contents, data provenance, pricing, and error billing — everything an agent needs to decide and invoke correctly.

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?

Only one parameter with 100% schema description coverage, so the schema already documents the postcode with an example. The description reinforces the England/Wales restriction but adds no syntax, normalization, or format guidance beyond what the schema provides; baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('crime trend' for a postcode) plus the exact payload: 12 months of street crime within ~1 mile, latest 3 months vs. same period a year earlier, per-category change, JSON summary. It also explicitly contrasts with the sibling uk_crime_summary.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use trigger ('when the user asks whether crime near a UK postcode is rising or falling over the last year') and an explicit when-not with the named alternative ('Not for: a single month's snapshot (use uk_crime_summary)'), plus a geographic exclusion ('Not Scotland').

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources