Skip to main content
Glama
Clockify MCP Server
by JorgeDiazz

createInvoice

Creates a new invoice in a Clockify workspace for a client, including optional line items, dates, currency, and notes.

Instructions

Create a new invoice in a workspace (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>",
      "clientId": "<clientId>"
    },
    "name": "createInvoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoInvoice note (optional)
itemsNoInvoice line items (optional)
dueDateNoDue date in ISO 8601 format (optional)
clientIdYesThe client ID for the invoice
currencyNoCurrency code (optional)
invoiceDateNoInvoice date in ISO 8601 format (optional)
workspaceIdYesThe workspace ID
invoiceNumberNoInvoice number (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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. It discloses only the paid-feature gate; it omits permission requirements, mutation side effects, whether invoiceNumber is auto-generated when omitted, whether items are required in practice, and what the call returns.

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 sentence with no filler; the paid-feature caveat is correctly placed as a qualifier. The brevity is efficient, though it edges toward under-specification rather than optimal density.

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

Completeness2/5

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

For an 8-parameter mutation tool with a nested items array, no output schema, and no annotations, one sentence is thin. Missing are the required-field behavior beyond workspaceId/clientId, currency defaults, invoice numbering behavior, and the shape of the created invoice returned to the caller.

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 every parameter including the nested line-item fields is already documented in the schema. The description adds no format, default, or dependency information (e.g., currency defaults, invoiceNumber generation), so the baseline of 3 applies.

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 ('Create a new invoice') plus its scope ('in a workspace'), which is enough to distinguish it from getInvoice/updateInvoice/deleteInvoice. It stops short of explicitly differentiating from other create* siblings, but the name and phrasing make intent unambiguous.

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?

Provides no when-to-use guidance, no mention of alternatives, and no preconditions beyond the parenthetical '(paid feature)'. An agent learns that a paid plan is required but nothing about when this is preferable to other invoice paths or what must exist beforehand (client, workspace membership).

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