Skip to main content
Glama
Clockify MCP Server
by JorgeDiazz

getExpense

Retrieve details for a specific Clockify expense by workspace ID and expense ID to inspect records and support paid-feature workflows.

Instructions

Get details for a specific 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": "getExpense"
  }
}

Input Schema

NameRequiredDescriptionDefault
expenseIdYesThe expense ID
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 implies a read-only lookup but discloses nothing about permissions, behavior when the expenseId is unknown or belongs to another workspace, or what the response contains; only the paid-plan availability constraint adds real context.

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

Conciseness5/5

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

A single short sentence with the action front-loaded and no filler. The parenthetical tier note is compressed into two words rather than a separate clause.

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

Completeness3/5

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

For a two-parameter read tool with fully documented schema this is adequate to call correctly, but with no output schema the agent gets no hint about which expense fields are returned or how errors surface. A brief note on the returned detail level would close the remaining gap.

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 required parameters (workspaceId, expenseId) are already documented in the schema. The description adds no format, scoping, or cross-parameter meaning beyond restating that the target is a single expense, so the baseline 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?

The description names a specific verb and resource ("Get details for a specific expense") and the word "specific" implies single-record retrieval as opposed to the listing/bulk siblings. It stops short of explicitly differentiating itself from createExpense/updateExpense/deleteExpense, so it lands at 4 rather than 5.

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?

Usage is only implied: the agent must already have an expenseId to call this, which suggests it is a follow-up to a list or create operation. The "(paid feature)" marker is a genuine prerequisite signal, but there is no explicit when-to-use versus when-to-use-an-alternative guidance.

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