Skip to main content
Glama

mileage-log

Summarize a date range

mileage_summary

The deductible mileage for a date range, per category: trips, distance kept per unit, the rate each trip earned (the one in force on its day), and the deductible amount, totalled per currency. Trips with no applicable rate are listed with the reason, not silently dropped. Defaults to the current calendar year. Never metered.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_dateNoEnd of the range, YYYY-MM-DD. Default December 31 of the current year
categoryNoOnly this category: business, medical, moving, charitable, personal
from_dateNoStart of the range, YYYY-MM-DD. Default January 1 of the current year

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It discloses a key edge-case behavior (trips without a rate are listed with reason, not dropped) and includes the cryptic 'Never metered' note, which likely indicates no rate-limit impact. It does not explicitly state read-only behavior, but that is implied for a summary tool. No contradictions with annotations (none present).

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?

The description is two sentences with no filler. It front-loads the purpose, lists the output components, includes a crucial edge-case behavior, and states defaults. Every sentence earns its place, making it efficient and easy 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?

Given the lack of an output schema, the description sufficiently explains what the tool returns (trips, distance kept per unit, rate per trip, deductible amount per currency). It also covers the edge case of trips without rates, states defaults, and is concise enough for an agent to call it correctly. No critical missing information is apparent.

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%, meaning all parameters (to_date, category, from_date) are already documented in the schema with their defaults and allowed values. The description adds minimal new semantic value—it reiterates the default calendar year (already in schema) and mentions 'per category' which is also in the schema. Baseline of 3 is appropriate given high schema coverage.

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 clearly states the tool's function: summarizing deductible mileage for a date range, broken down by category, with specific metrics (trips, distance, rate, deductible amount). It also includes behavioral details like 'Trips with no applicable rate are listed with the reason, not silently dropped' and 'Never metered,' which distinguish it from siblings like trip_list or mileage_export. The verb 'summarize' is implicit but the scope and output are specific.

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?

The description provides clear context about defaults (current calendar year) and what the tool does, but it does not explicitly contrast with sibling tools or state when to use this versus alternatives like trip_list or mileage_export. Usage is implied rather than explicitly guided, with no 'when-not-to-use' or alternative recommendations.

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.