Skip to main content
Glama

Issue draft bill

issue_bill
Destructive

Issues a DRAFT Clio bill: awaiting payment, due in 30 days. Does not email it or apply a payment. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.

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": {
      "bill_id": "<bill_id>"
    },
    "name": "issue_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
due_atNoYYYY-MM-DD. Defaults to 30 days from today.
bill_idYesClio bill id (digits) of a DRAFT bill, from list_matter_bills.
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
idempotency_keyNoOptional. A retry with the same key returns the first result without a second write. Defaults to preview_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / bill_id
      Added value: +{
      +  "description": "Clio bill id (digits) of a DRAFT bill, from list_matter_bills.",
      +  "type": "string"
      +}
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "false or omitted returns a preview; true applies the change identified by preview_id.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / due_at
      Added value: +{
      +  "description": "YYYY-MM-DD. Defaults to 30 days from today.",
      +  "type": "string"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional. A retry with the same key returns the first result without a second write. Defaults to preview_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / preview_id
      Added value: +{
      +  "description": "preview_id is the id returned by this tool's preview call. Required when confirm is true.",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "bill_id"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds genuinely new behavioral context beyond them: the two-phase preview/confirm model, that no email is sent, that no payment is applied, and that sign-in is required. It does not explain irreversibility (whether an issued bill can be reverted) or what confirm=true destroys/changes, which would complete the picture for a destructive operation.

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?

Three short sentences with zero filler, front-loading the action and the draft-only scope before the preview mechanics and the sign-in requirement. Every sentence carries information an agent needs.

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?

For a 5-parameter write tool with full schema coverage and no output schema, the description covers prerequisites, the preview/confirm flow, side-effect boundaries, and auth. The only gap is behavioral depth around the destructive flag — nothing states whether issuance is reversible or what a failed second call leaves behind.

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 coverage is 100% and every parameter already carries a description covering format and defaults, so the description does not need to compensate. The description restates the confirm/preview_id flow already documented in the schema and adds no new detail on due_at or idempotency_key, so the baseline 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 names a specific verb and resource ("Issues a DRAFT Clio bill") and immediately scopes what it does not do ("Does not email it or apply a payment"), which separates it from read-only siblings like get_bill and from email/payment flows. An agent knows exactly what state change is being performed without opening the schema.

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?

It gives explicit invocation sequencing — a first call returns a preview, a second call with confirm true plus that preview_id applies it — and names the prerequisite that bill_id must come from a DRAFT bill in list_matter_bills. What is missing is any comparison against alternative siblings (e.g., get_bill to inspect before issuing), but the operational context is clear.

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