Skip to main content
Glama

calculate_tachograph_break

Calculate required tachograph break/rest periods for a shift. ($2.00)

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": {
      "shift_start": "<shift_start>",
      "shift_end": "<shift_end>"
    },
    "name": "calculate_tachograph_break"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional payment: x402 base64 payment payload, or MPP voucher (mpp.v1...). Without it, the tool returns a payment_required challenge.
shift_endYes
shift_startYes
existing_breaks_minNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does disclose that the operation is paid by including '($2.00)' and 'Calculate' implies a computational, non-mutating action, but it does not explain the payment challenge flow or explicitly confirm that no persistent state is changed.

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 description is short, front-loaded, and free of unnecessary wording. The price parenthetical is efficient but slightly ambiguous in context. It is concise, though its brevity contributes to missing semantic detail.

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

Completeness2/5

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

The tool has four parameters, low schema description coverage, no annotations, and no output schema. The description does not compensate for these gaps: it omits parameter formats, existing-break handling, payment behavior, return shape, and calculation assumptions. It states the high-level purpose but is not complete enough for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, with only the payment parameter documented in the schema. The description adds almost no meaning for shift_start, shift_end, or existing_breaks_min, and it gives no time format, timezone, or break-calculation semantics. This is a significant gap for a four-parameter domain-specific calculation.

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 verb and resource: calculate required tachograph break/rest periods for a shift. This makes the tool's purpose clear and distinguishable from sibling tools such as route_hgv or validate_hgv_compliance. It does not explicitly name alternatives, which keeps it from a 5.

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?

The description gives no guidance on when to use this tool versus related compliance or routing siblings. It also provides no exclusions, prerequisites, or conditions under which a different tool would be appropriate. Usage is only loosely implied by the phrase 'for a shift'.

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