Skip to main content
Glama
Clockify MCP Server
by JorgeDiazz

deleteExpense

Deletes an expense from a Clockify workspace using workspace and expense IDs to remove incorrect or outdated expense records.

Instructions

Delete an expense from 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>",
      "expenseId": "<expenseId>"
    },
    "name": "deleteExpense"
  }
}

Input Schema

NameRequiredDescriptionDefault
expenseIdYesThe expense ID
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden. Aside from flagging "paid feature", it says nothing about whether the deletion is permanent, cascading, or reversible, nor what happens on a missing/foreign expenseId — critical gaps 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.

Conciseness4/5

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

A single short sentence with the core action front-loaded and no wasted wording. However, the brevity is partly under-specification rather than disciplined concision for a destructive tool.

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?

Given a simple two-parameter, flat schema with no output schema, this may be over-generous. Reassessing: the description omits irreversibility, permission/plan requirements beyond a bare "paid feature", and failure behavior on a destructive call. For a delete operation with zero annotation coverage, this is incomplete.

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 both workspaceId and expenseId are already documented in the schema. The description merely restates the workspace-expense relationship without adding ID format, sourcing, or constraint details, making the baseline 3 appropriate.

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 ("Delete an expense") plus scope ("from a workspace"), which is enough to distinguish it from getExpense and updateExpense. It does not explicitly name a sibling or clarify how it differs from other delete tools, so it falls short of a 5.

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 mention of alternatives, and no exclusions. The only contextual hint is the parenthetical "paid feature", which implies a prerequisite but is not framed as usage guidance.

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