Skip to main content
Glama

time-tracking

Mark time entries as billed

entry_mark_billed

Close the loop after an invoice is issued: stamp the tracked hours that went on it with the invoice number, so report and invoice_summary stop offering them and the same hours are never billed twice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO date/time end of the billed period, used with project
idsNoExact entry ids, normally the entry_ids invoice_summary returned. Pass either ids or project plus from and to. Entries already billed are left alone and listed back to you.
fromNoISO date/time start of the billed period, used with project
projectNoProject or client, used with from and to instead of ids; every billable entry in that range is stamped.
billed_atNoISO timestamp of the stamp, defaults to now
invoice_numberYesThe invoice these hours were put on, e.g. INV-2026-0001

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?

The description discloses that the operation stamps entries with an invoice number, causing report and invoice_summary to stop offering them and preventing double billing. This adds meaningful side-effect context beyond the annotations, which only indicate the operation is not read-only and not destructive.

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?

One front-loaded sentence that states the purpose, mechanism, and consequences without padding. Each clause contributes directly to the agent's understanding, and there is no redundant or vague wording.

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?

The description provides the workflow rationale and effects, while the schema supplies all parameter details, including the idempotent skip-and-return behavior for already-billed entries. With no output schema and no safety annotations, this is adequate for correct invocation, though the description could more explicitly mention the two invocation modes (ids vs. project+from+to).

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 all six parameters have descriptive text. The tool description itself adds no parameter-specific meaning beyond what the schema already provides, so the baseline score of 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?

The description uses a specific verb ('stamp') applied to a specific resource ('tracked hours') and explains the downstream effect on report and invoice_summary. This clearly distinguishes it from sibling entry-editing tools by tying it directly to the invoicing workflow.

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?

The opening phrase 'Close the loop after an invoice is issued' explicitly gives the trigger condition for using this tool. It does not name alternatives or exclusions, but the workflow context is clear enough that an agent can decide when to invoke it.

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.