Skip to main content
Glama

Traffic Commissioner decisions

tc_decisions
Read-onlyIdempotent

Written regulatory decisions the Traffic Commissioners published on GOV.UK (revocations, suspensions, curtailments, refusals, warnings and more): company, licences, outcome, decision date, appeal status and the decision document, with counts by outcome and traffic area. Optionally for one traffic area and/or one outcome code (from by_outcome, e.g. 'revocation'). Companies are named; decisions about sole traders, partnerships or people are counted only.

Input Schema

NameRequiredDescriptionDefault
areaNoTraffic area: slug (e.g. 'scotland', 'north-west-of-england'), letter (B, C, D, F, G, H, K, M) or name
limitNo
outcomeNoOutcome code from by_outcome, e.g. revocation

Output Schema

NameRequiredDescriptionDefault
dataYes
sourceYesData source(s) the result is built from
licenceYesLicence of the source data
file_dateYesDate of the DVSA operator licence file the data describes (null before the first import)
source_urlYesWhere the primary source dataset is published
attributionYesAttribution text to show with the data
markdown_urlYesMarkdown version of the canonical page
retrieved_atYesWhen this response was generated (ISO timestamp)
canonical_urlYesThe human-readable HaulierScope page for this result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds genuine behavioral context beyond them: the result includes counts by outcome and traffic area, and a data-coverage caveat that only companies are named while sole traders, partnerships and individuals are counted only. This is useful disclosure about what the result set contains and omits.

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?

The core content (what the dataset is, what fields it returns) is front-loaded in the first sentence, with filtering and caveats following. It is dense but every clause carries information; the parenthetical outcome list is slightly long but serves as scope definition. No filler sentences.

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?

For a filtered-list tool with an output schema, this covers the essentials: what is returned, what the filters mean, where the outcome code comes from, and the key coverage caveat. Return-value details are handled by the output schema, and safety by annotations, so nothing critical is missing for correct invocation.

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 coverage is 67% (area and outcome are documented; limit is not). The description adds that the outcome code must come from by_outcome and gives an example ('revocation'), and clarifies that area and outcome are optional filters that can be combined. It says nothing about limit or the default of 50, so it does not fully compensate for the coverage gap.

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 specific resource (written regulatory decisions published by the Traffic Commissioners on GOV.UK) and enumerates the fields returned (company, licences, outcome, decision date, appeal status, document). It is clearly a decision-record retrieval tool rather than a licence/operator tool, though it never names a sibling to route against. Clear but not explicitly differentiated from siblings like search or recent_changes.

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?

It says the area and outcome filters are optional and combinable ('one traffic area and/or one outcome code'), which implies a filtered browsing use case. However, there is no when-to-use/when-not statement and no mention of alternatives such as search or area_stats for related questions. Usage is implied rather than guided.

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