Skip to main content
Glama

Nenpi - car costs, fuel log and reminders

Add an odometer reading

add_odometer_reading

Records the odometer of one vehicle on a given day, without any cost. Use it when the user tells or shows the current mileage; a fill-up or a cost with the odometer already records it. Nothing is overwritten: the tool only adds. After saving, repeat the date and value to the user and give them entryUrl. A warning ODOMETER_OUT_OF_ORDER means the value contradicts other readings.

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": {
      "vehicleId": "<vehicleId>",
      "date": "<date>",
      "odometerKm": "<odometerKm>"
    },
    "name": "add_odometer_reading"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDay of the reading (YYYY-MM-DD), at most tomorrow.
noteNoFree-text note, at most 2000 characters. Optional.
vehicleIdYesVehicle id (UUID) from list_vehicles. Never guess it or reuse a name.
odometerKmYesOdometer value in km, as shown on the dashboard. At most 1 decimal place.
confirmDuplicateNoSet to true only after the user confirmed that this is a separate entry, when a previous call returned the warning POSSIBLE_DUPLICATE. Never set it on the first call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses that nothing is overwritten (only appends), names the ODOMETER_OUT_OF_ORDER warning and what it means, and specifies post-save behavior: repeat the date and value and hand back entryUrl. That is meaningful context the readOnly/destructive/idempotent hints do not convey.

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 purpose and followed by usage, mutation semantics and post-save instructions. Every sentence carries information, though the semicolon-joined usage clause reads tersely and takes a moment to parse.

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

Completeness5/5

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

There is no output schema, yet the description tells the agent what to do with the response (report date and value, surface entryUrl) and how to interpret the out-of-order warning. Combined with full parameter coverage in the schema, nothing needed to call this correctly is missing.

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 date, odometerKm, vehicleId, note and confirmDuplicate are already fully documented with formats and constraints. The description adds only an oblique reference to "date and value" and introduces a warning name the schema does not mention, which is marginal value over the schema.

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?

The description opens with a specific verb and resource, "Records the odometer of one vehicle on a given day, without any cost," and the "without any cost" clause explicitly separates it from add_cost_entry and add_fuel_entry. An agent can tell which sibling to reach for without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the trigger condition ("when the user tells or shows the current mileage") and the exclusion case ("a fill-up or a cost with the odometer already records it"). It also ties confirmDuplicate to a prior POSSIBLE_DUPLICATE warning, so the multi-call flow is clear.

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