Skip to main content
Glama

Invoice summary

invoice_summary

Turn tracked billable time into itemized invoice lines for a project or client, including hours, hourly rate, per-task amounts, and total in the logged currency.

Instructions

Turn tracked billable time into invoice line items for one project or client: hours, hourly rate, amount per task and the total, in the currency the work was logged in (EUR 225.00, not $225.00).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesISO date/time end of the billing period. Free covers the last 7 days; Pro invoices any period from the full history.
fromYesISO date/time start of the billing period. Free covers the last 7 days; Pro invoices any period from the full history.
projectYesProject or client to invoice
unbilled_onlyNoDefault true: hours already put on an invoice (entry_mark_billed) are left out, so the same hours are never billed twice. Pass false to see the whole period including invoiced work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing side effects, but it never states whether this tool creates an invoice, modifies time entries, or is read-only. The phrase 'Turn tracked billable time into invoice line items' implies a transformation rather than a safe summary, leaving the mutation status ambiguous.

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 a single sentence with no filler; the core operation and output fields are front-loaded, and the currency example adds concrete value. Every clause earns its place.

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

Completeness3/5

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

The description partially substitutes for a missing output schema by listing what the line items contain, but it leaves out essential context: whether calling this tool mutates any state, how the output is grouped or structured, and how it relates to invoice_create or invoice_from_hours. For a four-parameter, annotation-free tool, this is adequate but not complete.

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 the schema already documents project, from, to, and unbilled_only. The description maps 'project or client' to the project parameter and describes output fields, but it adds no additional meaning to the input parameters beyond what the schema provides.

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 identifies a specific operation—turning tracked billable time into invoice line items—and enumerates the output fields: hours, hourly rate, amount per task, and total. It also adds a concrete currency behavior. However, it does not explicitly distinguish this summary tool from siblings like invoice_create or invoice_from_hours, and 'turn into line items' could be misread as actually creating an invoice.

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?

No when-to-use or when-not-to-use guidance is provided. The description does not name alternatives such as invoice_from_hours or invoice_create, and it never states whether this should be used as a read-only preview before invoicing.

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