Skip to main content
Glama

Time Entry Billing Increments

billing_increments
Read-onlyIdempotent

Round a batch of time entries to billing increments the way a law office bills them. Send each entry's matter code, timekeeper code and time (minutes or hours), with an optional hourly rate; choose the increment (0.1 hour = 6 minutes by default, or 0.05, 0.2, 0.25, 0.5 or 1 hour) and the rounding (up by default, nearest or down). Each entry is rounded on its own. Get back every entry's billed hours and the minutes rounding added or took away, totals by matter and by timekeeper, the rounding effect in hours, percent and money, and the entries where rounding at least doubled the time actually worked. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/billing-increments). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entries": "<entries>"
    },
    "name": "billing_increments"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional label, e.g. 'October prebill' (your own text, echoed; not a client name).
entriesYesTime entries (up to 200). No narratives: send codes and time only.
roundingNoup (default): to the next increment unless already on one. nearest: half an increment or more goes up. down: drop the part below an increment.up
increment_hoursNoBilling increment in hours: 0.1 (6 minutes, default), 0.05 (3), 0.2 (12), 0.25 (15), 0.5 (30) or 1 (60).0.1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / entries / items / properties / matter / description
      Previous value: -"Matter code (your billing system's matter number, not a client name)."New value: +"Matter code with at least one digit (your billing system's matter number, such as M-1042 or 2026-0042; up to 8 digits in a row, letters only as abbreviations up to 4), not a client name."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description still adds substantial behavior: free, no model, no network, nothing stored, answers cryptographically signed with a verification URL, refusal rules for labels (emails, URLs, long digit runs), and the three error classes. That is well beyond what the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and every clause carries information, but it is one dense run-on paragraph mixing inputs, outputs, guarantees and disclaimers. The 'Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify' run is a raw field dump that would read better as a structured list.

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?

With no output schema, the description takes on the burden of describing returns and does so: billed hours, rounding delta in minutes, totals by matter and timekeeper, rounding effect in hours/percent/money, and flagged entries where rounding doubled the work. Combined with error behavior, privacy posture and verification path, nothing material is missing for a 4-parameter batch tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: 'Each entry is rounded on its own', that time can be sent as minutes *or* hours, what the optional hourly rate is for (the money effect), and the practical consequence of 'up' skipping entries already on an increment. It does not explain the matter/timekeeper code format rules that the schema covers, so it is additive rather than compensating.

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 — 'Round a batch of time entries to billing increments' — plus the domain framing ('the way a law office bills them'). The scope (batch, per-entry rounding) is unambiguous, and no sibling in the list covers billing increments, so an agent can route here without confusion.

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 clear operational context: what to send per entry, which increment to choose, the default rounding, and an explicit scope exclusion ('Not legal, tax or financial advice'). It does not name a when-not or an alternative tool for, say, summing raw time, so it stops short of full routing guidance.

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