Skip to main content
Glama

Official Records Hub: UK & US Property and Location Data

uk_crime_trend

Read-onlyIdempotent

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

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), but the description adds materially more: pricing model and amount, 'errors never charged', the underlying source (data.police.uk, OGL), the 1-mile radius and 12-month window, and the England/Wales-only geographic restriction. The only gap is that it doesn't mention rate limits or latency, which is minor for a read-only lookup.

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

Conciseness4/5

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

Front-loaded with the core value proposition, then output contents, then pricing/provenance, then the when-to-use and not-for guidance. Dense but nearly every clause carries information; the only redundancy is restating the England/Wales restriction as a bare 'Not Scotland.' after it was already implied.

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?

With no output schema, the description still enumerates what is returned (12 months of data, 3-month vs prior-year comparison, per-category change, plain-English summary, JSON) and covers pricing, billing failure behavior, data provenance, coverage limits, and the alternative tool. An agent has everything needed to invoke and interpret it correctly.

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% and there is only one parameter, so the baseline is already high; the description nonetheless adds real constraint meaning the schema lacks—the postcode must be in England or Wales and explicitly not Scotland—plus a worked example format. It stops short of describing validation or normalization rules for the postcode string.

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'), the exact scope (12 months of police-recorded street crime within ~1 mile of a postcode), and the output shape (per-category rising/falling/stable plus plain-English summary). It explicitly contrasts itself with the sibling uk_crime_summary, so an agent can choose between them without opening either schema.

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 trigger ('when the user asks whether crime near a UK postcode is rising or falling over the last year') and an explicit exclusion with the named alternative ('Not for: a single month's snapshot (use uk_crime_summary)'). Nothing is left to inference.

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