Skip to main content
Glama
Clockify MCP Server
by JorgeDiazz

createExpense

Add a new expense to a Clockify workspace with date, amount, notes, billable status, project, and category for paid expense tracking.

Instructions

Create a new expense 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>",
      "date": "<date>",
      "amount": "<amount>"
    },
    "name": "createExpense"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesExpense date in ISO 8601 format
notesNoExpense notes (optional)
amountYesExpense amount
billableNoIs expense billable (optional)
projectIdNoProject ID (optional)
categoryIdNoExpense category ID (optional)
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?

No annotations are supplied, so the description carries the full disclosure burden, and it only covers plan gating. It does not state that this is a mutating write, what permissions are required, whether the created record is returned (and with what identifier), or what validation errors to expect. For a 7-parameter creation endpoint with zero annotation coverage, this is a substantial gap.

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?

Eight words, front-loaded with the verb and resource, with the plan constraint in a trailing parenthetical — no filler. It is efficient, though the extreme brevity is part of why the usage and behavioral gaps exist.

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 a write tool with seven parameters, no annotations, and no output schema, the description should say at minimum what is returned and what preconditions apply. The only context provided is the paid-feature flag, leaving the agent to infer mutation semantics and return shape on its own.

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 all seven parameters including required workspaceId, date, amount and optional projectId/categoryId/billable/notes are already documented in the schema. The description adds no syntax, format, or constraint detail beyond that, which is the expected baseline when the schema does the work.

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 expense") plus the containing scope ("in a workspace"), so an agent can distinguish it from deleteExpense, getExpense, and updateExpense by name alone. It stops short of explicitly naming a sibling or an overlapping case, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical "(paid feature)" is a real precondition that tells the agent the call may fail or be unavailable on unpaid plans, which is more than nothing. However, there is no guidance on when to create versus update an existing expense, no prerequisite ordering (e.g. needing a valid workspaceId or categoryId first), and no mention of alternatives.

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