Skip to main content
Glama

Nenpi - car costs, fuel log and reminders

List log entries

list_entries
Read-onlyIdempotent

Lists entries of one vehicle's Nenpi log, newest first, 50 per page: fill-ups (FUEL), service, repairs, tyres, insurance, financing instalments, other costs and plain odometer readings (ODOMETER_READING, not a cost). Optional date range (both ends inclusive) and category. 'total' is the number of all matching entries; 'nextPage' is present when there are more. For totals and averages use get_cost_stats instead of adding up pages. odometerExcluded means the reading contradicts the others and is left out of calculations.

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>"
    },
    "name": "list_entries"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, inclusive. Omit for no upper bound.
fromNoFirst day, inclusive. Omit for no lower bound.
pageNoPage number, starting at 0. Use nextPage.
categoryNoOnly entries of this category.
vehicleIdYesVehicle id (UUID) from list_vehicles. Never guess it or reuse a name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent and non-destructive, so the safety burden is light; the description still adds real substance. It discloses result ordering (newest first), fixed page size (50), the meaning of 'total' vs 'nextPage', and that odometerExcluded readings are omitted from calculations because they contradict others — behavior not derivable from any structured field.

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?

Front-loaded with the core operation, then scoping, then return fields, then the routing hint — a sensible order with no filler sentences. It is dense to the point of being one long paragraph, and the prose category list partly repeats the schema enum, costing a little tightness.

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 read-only list tool with no output schema, the description covers the important return semantics (total count, nextPage, odometerExcluded) and the filtering model. It does not describe the shape of an individual entry object, but an agent has enough to select and invoke the tool correctly.

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 100%, so the baseline is 3; the description earns an increment by glossing the category enum in domain terms (fill-ups, tyres, financing instalments) and by clarifying that both date bounds are inclusive and optional. It stops short of adding anything beyond the schema for page/nextPage mechanics, which the schema and description largely duplicate.

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 (lists entries of one vehicle's Nenpi log) plus ordering and page size, and enumerates the entry categories covered. It also explicitly flags that ODOMETER_READING is a plain reading, not a cost, which prevents a plausible misclassification an agent could otherwise make.

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?

Gives an explicit when-to-use (browse/filter one vehicle's entries by inclusive date range and category) and an explicit when-not plus alternative: use get_cost_stats for totals and averages rather than summing pages. Pagination guidance ('nextPage is present when there are more') tells the agent how to continue.

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