Skip to main content
Glama

Get a company's operator licences

get_company
Read-onlyIdempotent

All operator licences held by one company or organisation, by Companies House number (e.g. 02155951 or SC096849): totals of licences, vehicles, trailers and operating centres, each licence with its status and continuation date, Companies House status (liquidation, administration, receivership, accounts overdue; dissolved only when verified by number and name), earned recognition, public inquiries, Traffic Commissioner decisions and Gazette notices.

Input Schema

NameRequiredDescriptionDefault
company_numberYesCompanies House number, e.g. 02155951 or SC096849

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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, covering the core safety profile. The description adds the scope of returned data (totals, statuses, inquiries, etc.) but does not disclose behavioral traits like permissions, failure modes, rate limits, or whether historical licences are included.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the description is a single long sentence with a dense colon-separated list of return fields. Because an output schema exists, enumerating those fields here is largely redundant and reduces conciseness.

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 one-parameter, read-only tool with rich annotations and an output schema, the description gives enough to invoke it correctly: it states the required input, identifies the company scope, and summarizes the returned data. The main gap is the lack of explicit guidance on when to use it versus sibling tools.

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% and already includes the same examples of Companies House numbers. The description repeats the example and says 'by Companies House number' but adds no format constraints, validation details, or semantics beyond what the schema provides.

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?

States a specific resource ('All operator licences held by one company or organisation') and keying mechanism ('by Companies House number'). It clearly distinguishes itself from get_licence by returning all licences for a company, but does not explicitly name or contrast with any sibling tool, leaving some differentiation to inference.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance. The description never mentions alternatives such as search_operators or get_licence, nor does it state the context in which this tool should be chosen.

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