Skip to main content
Glama

expense_report

Generate expense and mileage reports with category totals, total miles, and missing-receipt rows filtered by date, company, or category.

Instructions

Expenses and mileage with totals by category, total miles, and which rows lack a receipt.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "expense_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNo
untilNo
companyNo
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and does not meet it. It discloses the report's contents, which is genuinely useful given there is no output schema, but says nothing about read-only safety, permissions, date-range defaults, pagination, or result format. For a four-parameter reporting query with zero annotation coverage, this is thin.

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?

A single tight sentence with no filler, and the most salient outputs (totals, miles, missing receipts) are front-loaded. It is under-specified rather than verbose, so brevity is not the flaw.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and four completely undescribed parameters, the definition should explain what each filter does and what the return shape looks like. It covers the output content in outline but leaves the entire input contract and safety profile unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and all four parameters (since, until, company, category) are undocumented structured fields. The description only weakly gestures at 'category' through 'by category'; the date filters and company scope are never explained, and no formats (date syntax, exact-match vs substring) are given. It does not compensate for the total coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resources (expenses and mileage) and the aggregate content (totals by category, total miles, rows lacking a receipt), which tells an agent roughly what it returns. However, it is a bare noun phrase with no verb, so whether it lists, aggregates, or exports is left implicit. It partially distinguishes itself from mutation siblings like log_expense or delete_expense by implying a reporting read, but does not say so.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as export_expenses_csv or match_receipts. An agent must infer from the name alone that this is the read/report path versus the logging or export paths.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.