Skip to main content
Glama

Mechanics Pack

MOT due date, fee, retest and appeal rules

mot_rules
Read-onlyIdempotent

Works out when a vehicle's MOT is due from its first registration date (first MOT at 3 years in Great Britain, 4 in Northern Ireland) or its current expiry date, the earliest test date that keeps the same renewal date (one month minus a day before), whether it is overdue (fine up to £1,000), the 40 year historic exemption, the maximum fee for its class (class 4 car £54.85, no VAT), defect categories, free and partial retests, and DVSA appeals. Example: {"first_registration_date":"2023-03-14"} or {"mot_expiry_date":"2026-12-02","vehicle_class":"car"}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mot_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
todayNoYYYY-MM-DD, to work as of another day. Default today.
tradeNoOptional. The garage or mechanic's own business details (Nero Trade Profile v1). Used to prefill quotes and checks and to give a stable nero_trade_ref. Not stored by Mechanics Pack.
nationNo
vehicle_classNoclass_1, class_2, class_3, class_4, class_5, class_7, or car, van, motorcycle, large_van, minibus. Default class_4.
mot_expiry_dateNoYYYY-MM-DD, from the current MOT certificate.
first_registration_dateNoYYYY-MM-DD, from the V5C or the MOT history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld=false, so the safety profile is covered and this is clearly a pure computation. The description adds useful domain behavior detail — fines up to £1,000, the £54.85 class 4 cap with no VAT, free and partial retests — which is real value beyond the annotations. It does not describe the response shape or how conflicting inputs (both dates supplied) are resolved.

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?

Purpose is front-loaded in the first clause and every subsequent item corresponds to a rule the tool actually computes, so little is padding. The single-sentence list is dense and hard to parse on first read, but trimming it would lose real semantic content that the schema does not carry.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with a nested object and no output schema, the description covers the domain rules well but leaves gaps: it never mentions the trade object (business profile used to prefill quotes and derive a nero_trade_ref) that occupies most of the schema, nor what the tool returns. An agent could call it correctly from the examples, but the trade parameter's role is discoverable only from the schema.

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 high (83%), so baseline is 3, but the description genuinely adds meaning: it explains that nation changes the first-MOT threshold (3 years GB, 4 years NI), that vehicle_class drives the fee cap, and the one-month-minus-a-day renewal window rule. The two example invocations also clarify how first_registration_date and mot_expiry_date are used as alternative anchors. It says nothing about the nested trade object, which is an unexplained sixth parameter.

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 opens with a concrete verb and resource ('Works out when a vehicle's MOT is due') and enumerates exactly which rules it computes: due date, earliest renewal-preserving test date, overdue status, historic exemption, max fee, defect categories, retests and appeals. It is specific enough for an agent to know this is a MOT rules calculator, though the long enumeration makes it read as a bundle of features rather than one crisp capability, and no sibling (repair_quote, fault_triage) is named as an alternative.

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: the two example payloads show that you can supply either first_registration_date or mot_expiry_date, which hints at the two entry modes. There is no explicit statement of when to call this versus repair_quote or fault_triage, no prerequisites, and no exclusions, so an agent must infer the routing.

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.