Skip to main content
Glama

Kildeverk

The road at a point

road_at_point
Read-onlyIdempotent

The road nearest a point, from Statens vegvesen's NVDB: its reference and category (European, national, county, municipal, private), speed limit, annual average daily traffic, height limit, and any bridge or tunnel. For traffic counts over time, use traffic_find_points.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "road_at_point"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude in decimal degrees.
lonYesLongitude in decimal degrees.
max_distance_mNoHow far to look for a road.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds useful payload context by listing the returned road attributes, but says nothing about behavior when no road exists within the search radius or which road authority/coverage area applies at edges. With annotations carrying the operational profile, this is adequate but not rich.

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?

Two tight sentences: the first front-loads what the tool returns, the second handles routing. No filler, no repetition of the title, and the alternative is placed at the end where it is easy to act on.

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?

With no output schema, the description carries the burden of describing return values and does so by enumerating the road attributes, which is exactly what an agent needs. The remaining gap is the no-match/empty-result case, which matters given a bounded max_distance_m search, but overall it is complete enough to 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?

Schema description coverage is 100%, so lat, lon and max_distance_m are already fully documented in the schema. The description's 'nearest a point' reinforces that max_distance_m bounds a proximity search, but it adds no format, unit or default detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 names a specific operation and resource — 'The road nearest a point, from Statens vegvesen's NVDB' — and enumerates the attributes returned (reference, category, speed limit, AADT, height limit, bridge/tunnel). It also explicitly separates itself from traffic_find_points, so an agent can pick it without opening the schema.

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

Usage Guidelines4/5

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

It gives a clear positive use case (nearest road to a coordinate) and one explicit routing rule away to traffic_find_points for time-series traffic counts. It stops short of stating what to do when no road is found or when other point-based siblings (map_layers_at_point, regions_at_point) would be preferable.

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.