Skip to main content
Glama
Clockify MCP Server
by JorgeDiazz

updateInvoice

Modify an existing Clockify invoice by updating its status, line items, dates, client, currency, or note. Use it to correct or revise invoice details in a workspace.

Instructions

Update an existing invoice (paid feature)

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": {
      "workspaceId": "<workspaceId>",
      "invoiceId": "<invoiceId>"
    },
    "name": "updateInvoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoNew invoice note (optional)
itemsNoNew invoice line items (optional)
statusNoNew invoice status (optional)
dueDateNoNew due date in ISO 8601 format (optional)
clientIdNoNew client ID (optional)
currencyNoNew currency code (optional)
invoiceIdYesThe invoice ID
invoiceDateNoNew invoice date in ISO 8601 format (optional)
workspaceIdYesThe workspace ID
invoiceNumberNoNew invoice number (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses essentially nothing beyond 'paid feature'. It does not say whether omitted fields are preserved (partial update) or cleared, whether the `items` array replaces or appends existing line items, whether status transitions are validated, or how permission failures surface — all critical for a mutation.

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

Conciseness4/5

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

A single front-loaded clause with a useful parenthetical constraint and zero filler. It is efficient, though the brevity here comes partly at the cost of the missing behavioral detail scored elsewhere.

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

Completeness1/5

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

This is a 10-parameter mutation tool with a nested line-item array, no annotations, and no output schema, so the description is the sole source of behavioral context — and it supplies one sentence. For this complexity level it is materially under-specified.

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% with every parameter documented inline, so the baseline is 3. The description adds no meaning beyond the schema — notably it never explains the merge semantics of the nested `items` array or whether `invoiceId`/`workspaceId` must match an existing pairing.

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?

States a specific verb and resource ('Update an existing invoice') and adds a prerequisite ('paid feature'). It does not explicitly distinguish itself from sibling mutation tools or clarify how it differs from createInvoice/deleteInvoice, but the name-plus-verb pairing leaves little ambiguity about the operation.

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?

The only usage signal is the parenthetical 'paid feature', which is a plan gating note rather than guidance. There is no statement of when to prefer this over createInvoice, getInvoice, or bulk alternatives, and no mention of prerequisites such as required scopes or plan tier beyond the phrase itself.

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