Skip to main content
Glama
Clockify MCP Server
by JorgeDiazz

updateExpense

Modify an existing Clockify expense by updating its amount, date, category, project, billable status, or notes using workspace and expense IDs.

Instructions

Update an existing expense (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>",
      "expenseId": "<expenseId>"
    },
    "name": "updateExpense"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoNew expense date in ISO 8601 format (optional)
notesNoNew expense notes (optional)
amountNoNew expense amount (optional)
billableNoIs expense billable (optional)
expenseIdYesThe expense ID
projectIdNoNew project ID (optional)
categoryIdNoNew expense category ID (optional)
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description bears the full behavioral burden, and it discloses only that this is a paid/plan-gated feature — genuinely useful, but it is one fact. It says nothing about partial-update semantics (are omitted fields left untouched or cleared?), required permissions, whether the amount/date fields are validated, or whether changes are reversible.

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 wasted words. The brevity is efficient in structure, though it stems from under-specification rather than disciplined editing.

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?

This is an 8-parameter mutation tool with no annotations and no output schema, so the description carries maximum load and delivers very little. It omits update semantics, permission/plan requirements beyond "paid", and any indication of what a successful update returns.

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?

All 8 parameters are documented in the schema at 100% coverage, including which are optional and the ISO 8601 date format, so the baseline of 3 applies. The description adds no meaning beyond the schema, but it doesn't need to given the coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update an existing expense" gives a clear verb and resource, so the basic action is unambiguous. However, it offers no differentiation from siblings such as createExpense/deleteExpense beyond the verb, and the only extra detail is the parenthetical "(paid feature)", which is licensing context rather than purpose. Vague but identifiable.

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?

There is no when-to-use guidance, no prerequisites, and no named alternative (e.g., createExpense for new records). "Existing" implies the expense must already exist, which is the only usage signal, and it is implicit rather than stated.

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