Skip to main content
Glama

generate_expense_report

Create a detailed expense report for any date range. Specify workspace, pagination, sorting, and billable status to get expenses and totals.

Instructions

Generate a detailed expense report ({"expenses": [...], "totals": {...}}) for a date range. Requires the Expenses add-on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_range_startYes
date_range_endYes
workspace_idNo
pageNo
page_sizeNo
sort_columnNo
billableNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the output format and the requirement for an add-on, but does not mention side effects, idempotency, or other behavioral traits. For a generation tool, this is adequate but not comprehensive.

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 long, front-loading the core purpose and output format. Every word earns its place with no redundancy.

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?

Despite 7 parameters and no annotations or output schema, the description covers only the date range and add-on requirement. It lacks guidance on optional parameters like pagination, sorting, and billable filtering, which are crucial for effective use.

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?

The schema has 7 parameters with 0% description coverage. The description only mentions date range, failing to explain workspace_id, pagination, sorting, or billable filtering. Without compensating for low schema coverage, the description adds minimal value over the raw schema.

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 generates a detailed expense report, provides a sample output structure, and mentions it's for a date range. This distinguishes it from sibling report tools like generate_attendance_report or generate_summary_report.

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 indicates the tool is for expense reports and requires the Expenses add-on, but does not explicitly state when to use it vs alternatives or provide any exclusion criteria. The usage context is implied but not fully articulated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tracegazer/clockify-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server