Skip to main content
Glama

Kildeverk

Traffic volumes at a point

traffic_volumes
Read-onlyIdempotent

How many vehicles passed a traffic registration point per hour or per day, split by direction and into light and heavy vehicles, with how much of each period was counted; or the annual average daily traffic (ÅDT) for every year it has counted.

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": {
      "point": "<point>"
    },
    "name": "traffic_volumes"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast day, included.
pointYesPoint id from traffic_find_points (vehicle or bicycle).
startNoFirst day. Defaults to 7 days ago (daily) or yesterday (hourly).
resolutionNo'annual' gives the annual average daily traffic (ÅDT) for every year.daily

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds real behavioral context beyond that: the output is split by direction and vehicle weight class, includes the counted fraction of each period, and the annual resolution returns ÅDT per year — all of which tell the agent what to expect without calling it.

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?

It is a single front-loaded sentence that puts the primary metric first and the annual variant last. Dense but nearly every clause carries information; the sentence is long enough that it reads as a run-on, which keeps it just short of a 5.

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 usefully compensates by describing the shape of the returned data (directional and weight-class split, counted fraction, ÅDT by year). For a four-parameter read-only tool with full schema coverage, the only gap is the absence of explicit routing to the point-lookup sibling.

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 start, end, point and resolution (including that 'annual' yields ÅDT). The description's restatement of hourly/daily/annual and the ÅDT concept adds modest interpretive value but no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 the exact metric and resource — vehicle counts past a traffic registration point, broken down by direction and light/heavy class, plus annual average daily traffic (ÅDT). It is specific and unmistakable, but it never names the sibling tool (traffic_find_points) that supplies the required point id, so the differentiation is implicit rather than stated.

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 only implied through the resolution phrasing ('per hour or per day' ... 'or the annual average daily traffic'), which hints at which resolution to pick but never states when to use this tool versus point-discovery or other point-data siblings. There is no explicit when-not guidance or prerequisite statement.

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.