Skip to main content
Glama

Tax Numbers

Look up the IRS mileage rate

get_mileage_rate
Read-onlyIdempotent

Use this when the user asks for the IRS standard mileage rate on a day, for example "what was the business mileage rate on 15 March 2026", "how much per mile can I deduct for charity driving", "medical mileage rate in 2025". Pass the date (YYYY-MM-DD); the rate in force that day is returned in cents per mile for business, medical and charity use, with the period it covers, the IRS notice that announced it and when it was last verified. Rates are available from 1 January 2022. It does not add up trips or compute a deduction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesThe day the driving happened, YYYY-MM-DD. The rate that applies is the one in force on that day.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
noteNo
unitNo
noticeNoThe IRS news release that announced the rates.
periodNo
sourceNo
statusYesok, not_available or invalid.
charityNo
medicalNo
messageNo
businessNo
last_verifiedNo

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?

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description goes further by disclosing the data boundary (available from 2022) and the shape of the answer (cents per mile for business/medical/charity, covering period, announcing IRS notice, verification date), which is context annotations cannot carry.

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 trigger and example queries, then the parameter, then the return contents, then the limits. It is on the long side and the three example phrasings are somewhat redundant, but every sentence carries information and nothing is buried.

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?

An output schema exists, so return values need not be explained, yet the description still summarizes them; the mutation/auth profile is carried by annotations. Coverage of when to call it, how to call it and the data range is complete for a single-parameter read tool.

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% and the single 'date' property already documents the YYYY-MM-DD format and that the rate in force on that day applies. The description restates the same semantics ('Pass the date (YYYY-MM-DD)'), adding examples of use but no new format or constraint information, so the baseline 3 applies.

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 ('look up the IRS standard mileage rate on a day') and pins the scope to a single date's in-force rate. It also explicitly disclaims what it does not do ('does not add up trips or compute a deduction'), which cleanly separates it from the tax-calculation siblings.

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?

Gives concrete when-to-use triggers with three paraphrased user phrasings and a boundary ('rates are available from 1 January 2022'), plus the when-not ('does not add up trips or compute a deduction'). It never names an alternative tool (e.g. get_tax_parameters or estimate_federal_tax), so routing between siblings is left to inference.

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