Skip to main content
Glama

Check Risk Along a Route

skimguard_route_risk
Read-onlyIdempotent

Given a series of route points, report locations along that stretch of road with recent suspicious activity or stale scan coverage. IMPORTANT: this checks the road AHEAD, not a whole trip — at most 20 km of the supplied route is examined, and the response says how much was actually checked (examinedMeters / truncated). For accurate results pass real route geometry from a directions provider; passing only a start and end point checks a straight line between them, which will not follow the actual road. TO COVER A LONGER TRIP: split the route geometry into consecutive 20 km segments and call this tool once per segment, then combine the results — that is the supported way to check a full drive. A 500 km trip is about 25 calls, which fits inside the anonymous rate limit. Do NOT report a route as clear unless you have covered all of it this way; say which portion you checked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
polylineYesOrdered route points, start first
corridor_metersNoHow far either side of the route to look (10-200 m)
response_formatNoResponse format: 'markdown' (default) or 'json'markdown
lookahead_metersNoHow far along the route to look (max 20 km)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses critical runtime behavior: only up to 20 km is examined, the response includes examinedMeters/truncated, a straight line is checked if geometry is incomplete, and the rate-limit implication is stated. This goes well beyond what annotations or schema convey.

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?

Although the description is several sentences long, every sentence earns its place: purpose, key limitation, accuracy caveat, longer-trip strategy, concrete call count, and a clear safety warning. It is front-loaded with the core function and uses formatting (IMPORTANT, TO COVER) to highlight critical sections without verbosity.

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?

The tool has no output schema, but the description compensates by revealing the response fields examinedMeters/truncated and by explaining how to cover a full trip. It also covers accuracy prerequisites, rate limits, and a safe reporting rule, making it fully actionable for an AI agent.

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%, so the baseline is 3. The description adds important semantics for the polyline parameter by explaining that a start/end-only input produces a straight-line check and that real route geometry is required for accurate results. Other parameters are already well described in the schema, so no further detail is needed.

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?

The description opens with a specific verb+resource: 'report locations along that stretch of road with recent suspicious activity or stale scan coverage.' It clearly distinguishes this from sibling tools by emphasizing route-based analysis rather than point/regional lookups, and it immediately states the 20 km scope.

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?

Provides explicit when-to-use and when-not-to-use guidance: 'this checks the road AHEAD, not a whole trip', warns against passing only start/end points, and prescribes the correct alternative for longer trips ('split the route geometry into consecutive 20 km segments and call this tool once per segment'). It also gives a safety rule: 'Do NOT report a route as clear unless you have covered all of it this way.'

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