Skip to main content
Glama

UK Road Collisions: Collisions near a point

uk-road-safety__near
Read-onlyIdempotent

Reported collisions within a radius (default 500 m, max 2 km) of a UK postcode or point over the last five years: totals by severity and year, and the most recent collisions with road, speed limit, light and weather. A few free samples a day, then $0.003 USDC per call via x402.

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": "uk-road-safety__near"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude
lngNoLongitude
yearNoOne year only
limitNoRecent collisions to list (default 20)
postcodeNoUK postcode (or give lat and lng)
radius_mNoRadius in metres (default 500, max 2000)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description adds genuinely new behavioral context: a five-year data window, the breakdown returned (totals by severity and year), and crucially the commercial constraints — a few free samples per day then $0.003 USDC per call via x402. Rate limits and cost are exactly the kind of trait annotations cannot express.

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?

Two sentences, front-loaded with the core capability followed by the cost model; almost nothing is wasted. The first sentence is heavily packed with several clauses, which slightly hurts readability, but every clause conveys real information.

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

Completeness4/5

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

An output schema exists, so the return format need not be spelled out, yet the description usefully previews what comes back. Combined with annotations covering safety and the description covering cost and data window, an agent has enough to call it correctly; only the sibling-selection guidance is missing.

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 schema already documents lat, lng, year, limit, postcode and radius_m. The description restates the radius default/max but adds no syntax, format, or interaction detail (e.g. that year accepts one value only, or how postcode and lat/lng are prioritized). 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.

Purpose4/5

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

The description names a precise capability: reported collisions within a radius of a UK postcode or point, with totals by severity/year plus recent collision detail. That is far more specific than the title and clearly scoped by radius geographies. It does not explicitly distinguish itself from siblings like uk-road-safety__lsoa (area-based) or uk-road-safety__collision (single record), so it stops short of a 5.

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 implied by the geography model ('within a radius ... of a UK postcode or point') and a default radius is given, which tells an agent how to invoke it. However, there is no explicit when-to-use statement and no routing to alternatives such as the LSOA or single-collision siblings, leaving selection 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