Skip to main content
Glama

Search operator licences

search_operators
Read-onlyIdempotent

Find GB goods vehicle and PSV operators by company name, operator licence number (e.g. OB1234567) or Companies House number. Returns up to limit matches with status, licence type, traffic area, town and the canonical page URL. Exact licence and company numbers rank first; names match companies and organisations only (sole traders and partnerships are found only by exact licence number and are never named). Optional filters narrow by traffic area, vehicle category, status, licence type or presence in the latest DVSA file.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results (1–50)
queryYesCompany name, licence number (two letters + seven digits) or company number
filtersNo

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

A4.4/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, not open-world), so the description's value-add is the ranking behavior and the name-matching limitation, both of which materially affect how results should be interpreted. It stops short of discussing empty-result or pagination behavior.

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?

Three tight sentences, front-loaded with what the tool does and the accepted keys, then ranking and matching caveats, then filters. No filler and no repetition of annotation-covered facts.

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?

For a search tool with an output schema, the description supplies the matching semantics, ranking and filter surface an agent needs to invoke it correctly. Minor gaps remain around empty-result and pagination behavior, but the output schema covers the return shape.

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 67%, and the description compensates by enumerating the filter axes (traffic area, vehicle category, status, licence type, presence in the latest DVSA file) and giving a licence-number example format. It adds interpretation (e.g. names match organisations only) beyond the raw field descriptions, though it doesn't document each filter value's syntax in prose.

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?

States a specific verb (find) and resource (GB goods vehicle and PSV operators), plus every accepted search key. It reads distinctly from lookup siblings like get_licence or get_company, which require an identifier rather than performing a search.

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?

Explains the matching model and its limits (exact licence/company numbers rank first; names match companies and organisations only, so sole traders are only found by exact licence number), which tells the agent when this search will and won't succeed. It does not, however, name a sibling alternative (e.g. get_licence for full detail on a known number).

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