Skip to main content
Glama

IRS Mileage Rates

IRS mileage rate on a date

get_mileage_rate
Read-onlyIdempotent

The IRS standard mileage rate in force on one day, in dollars per mile, with the period it covers and whether it is published or provisional.

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": {
      "date": "<date>"
    },
    "name": "get_mileage_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesA calendar day as YYYY-MM-DD, for example 2026-08-14.
purposeNoWhat the miles were for. "moving" applies only to armed forces moves on military orders. Default business.business

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety needs no restating. The description earns credit for disclosing return semantics the annotations cannot: the coverage period and the critical published-vs-provisional flag, which tells an agent a value may still change. It does not say what happens for dates with no applicable rate, which holds it back from a 5.

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 that packs subject, scope, unit, and return contents with no filler wording. Every clause carries information an agent would otherwise have to guess.

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 only two parameters, one enum, and no output schema, the description usefully compensates by describing the shape of the return value. The remaining gap is edge-case behavior for out-of-range or invalid dates, which an agent calling with an arbitrary date would want.

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 coverage is 100%, including the date format example and the enum with its 'moving' caveat, so the schema does the heavy lifting and baseline 3 applies. The description adds nothing about the purpose parameter or how categories map to different rate values.

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?

The description names a specific resource (IRS standard mileage rate), a precise scope ('in force on one day'), and the unit ('dollars per mile'). The 'one day' scoping implicitly contrasts with the list_mileage_rates sibling, but no sibling is named, so differentiation is left to inference.

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?

Usage is implied by the phrasing ('rate in force on one day'), which tells an agent this is a point lookup rather than a range/list query. There is no explicit when-to-use statement, no exclusion, and no pointer to list_mileage_rates or calculate_deduction for the cases where those would be the better call.

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