Skip to main content
Glama

Motor X Checks

Buy Service X History

buy_service_history

Service X History for a signed-in dealer. Always returns the price first. Charges only when confirm is true and confirm_price matches that price. Returns the charge and remaining balance.

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": {
      "reg": "<reg>"
    },
    "name": "buy_service_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
regYesUK vehicle registration.
api_keyNoDealer or admin API key. Optional when the MCP request sends Authorization: Bearer.
confirmNo
confirm_priceNoThe price just shown, such as 4.99.

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 flag a non-read-only, non-idempotent, open-world operation; the description adds the genuinely useful part: price is always returned first and a charge occurs only when confirm is true and confirm_price matches. It does not say what happens on a price mismatch (silent no-charge vs. error) or whether a repeat confirmed call can double-charge, which the non-idempotent hint makes relevant.

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?

Four short sentences, front-loaded with what the tool is, followed by the charging contract and return values. The opening noun phrase is slightly elliptical, but no sentence is wasted or redundant.

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?

With no output schema, the description supplies the key return values (charge and remaining balance) and the price-first contract. For a money-spending tool it could be more complete about failure modes and currency, but nothing essential for a correct happy-path invocation is missing.

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 75% and reg/api_key are already documented, but the description contributes the coupling rule that confirm_price must equal the price just returned and that confirm alone triggers the charge. That is meaning beyond the schema's 'The price just shown, such as 4.99.'

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 states a specific resource (Service X History) and a specific effect (charges the dealer), which goes beyond a bare restatement of the name. It does not differentiate itself from siblings such as check_mot_history or buy_factory_extras, so an agent must infer which history/check product applies.

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?

The two-phase flow is implied: call once to see the price, then call again with confirm=true and a matching confirm_price to purchase. There is no explicit 'when to use this vs. check_mot_history' guidance and no statement of what happens if the dealer is not signed in or lacks an API key.

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