Skip to main content
Glama

get_mileage_logs

Read-onlyIdempotent

Retrieve registered vehicle mileage logs for tax and expense auditing.

Input Schema

NameRequiredDescriptionDefault
limitNoOptional pagination limit
cursorNoOptional cursor
farmIdYesThe unique farm ID
endDateNoOptional end date YYYY-MM-DD in farm time or ISO
startDateNoOptional start date YYYY-MM-DD in farm time or ISO

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / endDate
      Added value: +{
      +  "description": "Optional end date YYYY-MM-DD in farm time or ISO",
      +  "type": "string"
      +}
    • addedInput schema / properties / startDate
      Added value: +{
      +  "description": "Optional start date YYYY-MM-DD in farm time or ISO",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds the useful scoping detail that only 'registered' logs are returned, but says nothing about ordering, pagination behavior, or date-range semantics despite limit/cursor/startDate/endDate parameters.

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?

A single front-loaded sentence naming verb, resource, and purpose with zero filler. Nothing is wasted or buried.

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?

With annotations covering safety and a 100%-documented schema covering all parameters, the description is nearly sufficient for a read-only list tool. The one remaining gap is pagination/ordering expectations, which matter for a cursor-based endpoint but are only inferable from the schema.

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 all five parameters are already documented in the schema, and the baseline is 3. The description contributes no additional parameter meaning such as default date windows or how farm time interacts with ISO dates.

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?

States a specific verb ('Retrieve') and resource ('registered vehicle mileage logs') plus the domain purpose ('tax and expense auditing'), so an agent knows exactly what comes back. It does not explicitly distinguish itself from close siblings such as log_mileage (the write counterpart) or get_time_logs, which keeps it below a 5.

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 stated purpose ('for tax and expense auditing') implies when the data is wanted, which is weak but real usage context. There is no explicit when-to-use, no prerequisites, and no routing to alternatives like log_mileage or list_vehicles.

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