Skip to main content
Glama

HamroLink Business OS MCP Server

fleet.log_fuel

Destructive

Logs or edits a truck fuel entry with audit trail, odometer tracking, and efficiency check.

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": {
      "truckQuery": "<truckQuery>",
      "quantity": "<quantity>",
      "fuelRate": "<fuelRate>"
    },
    "name": "fleet.log_fuel"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeNoTrip route
actionNoCreate or edit
fuelRateYesPrice per Litre in NPR
fuelTypeNoFuel type
odometerNoOdometer reading in km
quantityYesFuel quantity in Litres
editReasonNoAudit reason when editing
truckQueryYesTruck plate or identifier
fuelStationNoFuel pump name
totalAmountNoOptional total amount in NPR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false and destructiveHint=true, so the mutation risk is known. The description adds genuinely useful context beyond that — an audit trail and efficiency check accompany each entry — but it does not say what the destructive surface actually is (e.g. whether edits overwrite prior values irreversibly) or what a caller receives back.

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?

A single front-loaded sentence with the verb and resource first, then the three distinguishing traits. Nothing is redundant, though 'efficiency check' is left undefined and reads as filler without a follow-up.

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 10-parameter mutating tool with no output schema and a destructive hint, the description covers the core purpose but omits how the efficiency check is computed or enforced, how edit affects previously stored entries, and any hint about the response. Adequate, but leaves real gaps for a write operation.

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%, so every parameter is already documented in the schema, establishing a baseline of 3. The description adds only indirect meaning — 'audit trail' hints at the role of editReason and 'efficiency check' at odometer plus quantity — without describing their interaction.

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 names a specific verb pair and resource ('Logs or edits a truck fuel entry') and adds distinguishing traits: audit trail, odometer tracking, and efficiency check. No sibling tool in the list covers fuel logging, so differentiation is implicitly clear, though it is not stated against any 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 implied by 'Logs or edits' with an 'action' enum choosing between create and edit, but there is no explicit guidance on when to prefer create versus edit, when to use this tool over e.g. fleet.query or fleet.update_trip_status, or any prerequisites such as an existing truck record.

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.