Skip to main content
Glama

mileage-log

Remove a trip

trip_remove

Remove one trip from the mileage log by its exact TR-YYYY-NNNN id, for entries made by mistake. The id is not reissued: a gap in the TR series is the record that a trip was removed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe exact trip id, e.g. TR-2026-0003

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses a key behavioral trait: the id is not reissued and a gap in the TR series is the record of removal. This is valuable beyond the schema. It doesn't mention irreversibility explicitly, but the gap statement strongly implies permanence.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero waste. The core action and identifier format are front-loaded, and the behavioral note about id gaps is a meaningful addition that earns its place.

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 single-parameter removal tool with no output schema, the description is nearly complete. It covers what, when, and a key behavioral consequence. It could mention that removal is permanent, but the gap statement already implies it.

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 the schema already documents the id parameter with an example. The description reinforces the exact format but doesn't add much beyond the schema. Baseline 3 is appropriate.

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 states a specific verb ('Remove'), a specific resource ('one trip from the mileage log'), and a precise identifier format ('exact TR-YYYY-NNNN id'). It clearly distinguishes this from sibling tools like trip_add and trip_list by focusing on removal by exact id.

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

Usage Guidelines4/5

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

The description says this is for 'entries made by mistake', which gives a clear context for when to use it. It doesn't explicitly name alternatives or exclusions, but the context is clear enough for an agent to select this tool over trip_add or trip_list.

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.