Skip to main content
Glama

Mechanics Pack

Parts plus labour repair quote

repair_quote
Read-onlyIdempotent

Prices a repair: labour hours for the jobs (same jobs as labour_time_estimate) at the business's labour rate, each part at its trade cost plus markup, waste disposal for oil, coolant and tyres, call out, consumables, margin and VAT on parts and labour, with every price line, a low to high range and the defaults used. Must checks cover quote or estimate (Consumer Rights Act 2015), agreeing extra work, hazardous waste, F gas for air con, brakes, tyres, high voltage vehicles and off premises cancellation rules for mobile work. Default labour rates: garage £75, mobile £60, main_dealer £130. Example: {"jobs":["front_discs_and_pads"],"parts":[{"part":"Front discs pair","cost_gbp":48},{"part":"Front pads","cost_gbp":22}],"labour_rate_per_hour":65,"vat_registered":true}.

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": {
      "jobs": "<jobs>"
    },
    "name": "repair_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsYesJobs as names, or {"job":"front_discs_and_pads","quantity":1}, or your own {"job":"fit tow bar","hours":2}. Listed (hours for a medium car): interim_service 1, full_service 2, major_service 3, oil_and_filter 0.5, front_brake_pads 0.8, rear_brake_pads 0.9, front_discs_and_pads 1.4, rear_discs_and_pads 1.6, rear_brake_shoes 1.5, brake_fluid_change 0.7, brake_caliper 1.2, clutch_replacement 5, dual_mass_flywheel 1, timing_belt_and_water_pump 4, timing_chain 8, auxiliary_belt 0.6, battery 0.4, battery_registration 0.3, alternator 1.5, starter_motor 1.5, spark_plugs 0.8, glow_plugs 1.5, wheel_bearing_front 1.5, wheel_bearing_rear 1.2, front_shock_absorbers 2, rear_shock_absorbers 1.2, front_coil_spring 1.2, drop_links 0.6, track_rod_end 0.7, wheel_alignment 0.8, lower_control_arm 1.2, driveshaft 1.6, exhaust_back_box 0.7, catalytic_converter 1.5, dpf_clean 1.5, egr_valve 2.5, radiator 2, thermostat 1.2, coolant_flush 0.8, head_gasket 9, air_con_regas 0.8, diagnostic_check 1, headlight_bulb 0.3, wiper_blades 0.1, tyre_fit 0.25, mot_prep_check 0.5.
partsNo
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.
mobileNoWorking on a driveway or roadside with no lift (x1.1).
call_out_gbpNo
disposal_gbpNoWaste disposal charge, £. Default by job.
vehicle_sizeNoLabour factor: small x0.9, medium x1, large x1.15, van x1.15, suv_4x4 x1.2, prestige x1.25. Default medium.
business_typeNoPicks the default labour rate. Default garage (mobile when mobile is true).
margin_percentNoAdded on top of the lines.
min_charge_gbpNo
vat_registeredNoAdds VAT at 20% on parts and labour.
consumables_gbpNo
rusty_or_seizedNoOld or corroded vehicle (x1.25).
extra_charges_gbpNoAnything else to add, £.
hybrid_or_electricNo
labour_rate_per_hourNo
parts_markup_percentNoDefault 25%.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description goes further by disclosing the pricing model, the built-in legal 'must checks' (Consumer Rights Act 2015, F gas, hazardous waste, mobile cancellation) and concrete defaults for labour rates by business type. It also tells the agent the result contains per-line prices, a low-to-high range and the defaults used. The only missing behavioural detail is whether the trade profile is persisted, which the schema covers instead.

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 pricing model is front-loaded and the concrete example at the end is high-value for a 17-parameter call. The middle 'Must checks cover…' sentence becomes a long run-on list of legal topics, which is denser than it needs to be but still earns its place by flagging compliance behaviour.

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 17-parameter nested tool with no output schema, the description supplies the computational model, the defaults, the legal checks and a ready-to-adapt example, and it does sketch the return value (price lines, low-to-high range, defaults used). Minor gaps remain around the shape of the returned lines and how the range is derived, but an agent could invoke this correctly from what is given.

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 65%, so the description needs to add meaning and it does for the pricing inputs it names — labour rate defaults per business type, parts markup, disposal, call out, consumables, margin, VAT. However, several parameters are left to the schema alone (vehicle_size multipliers, rusty_or_seized, hybrid_or_electric, min_charge_gbp, extra_charges_gbp, the whole trade object), so it only partially compensates for the coverage gap.

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 and resource ('Prices a repair') and then enumerates exactly what goes into the price: labour hours at the business rate, parts at trade cost plus markup, disposal, call out, consumables, margin and VAT. It explicitly distinguishes its job inputs from the sibling by naming labour_time_estimate as the source of the same job list, so an agent can tell it apart from the other tools without opening the schema.

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 implied rather than stated: naming labour_time_estimate for the job list signals a relationship, but the description never says when to call this instead of labour_time_estimate or consumer_rights_check. There are no exclusions or prerequisites given, leaving the agent to infer that this is the full-quote tool while hours-only requests go elsewhere.

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.