Skip to main content
Glama

kimai-update-activity

Update an existing time-tracking activity by ID, changing only the fields you specify.

Instructions

Update an existing activity. Pass only the fields you want to change.

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": {
      "id": "<id>"
    },
    "name": "kimai-update-activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesActivity ID to update
nameNoActivity name
colorNoHex color code
budgetNoMonetary budget
numberNoActivity number
commentNoDescription/comment
projectNoProject ID
visibleNoIs visible
billableNoIs billable
budgetTypeNoBudget type
timeBudgetNoTime budget
invoiceTextNoInvoice text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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 does disclose one meaningful trait — merge/patch semantics, implying unspecified fields are preserved — which prevents accidental field clearing. It says nothing about authorization requirements, reversibility, or downstream effects of changing billable/budget on existing timesheets, so significant gaps remain.

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?

Two short sentences with zero filler, and the core action is front-loaded before the invocation hint. Nothing to trim.

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?

Given full schema coverage and a single required id, an agent can construct a valid call from the schema plus the partial-update hint. But this is a 12-parameter mutation touching billing fields with no annotations and no output schema, and the description omits permissions and the consequences of changing project, billable or budget.

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 the schema already documents all 12 parameters including id, budget, billable and the month-only budgetType enum. The description adds only the generic instruction to send changed fields, with no extra meaning such as ID format or what budgetType 'month' implies.

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 ('Update an existing activity'), which clearly separates it from kimai-create-activity, kimai-get-activity and kimai-list-activities. It does not explicitly call out those siblings or the team-assignment tools, but the verb+resource is unambiguous.

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?

'Pass only the fields you want to change' gives useful partial-update guidance, so an agent knows it need not resend the whole object. However, there is no statement of when this tool applies versus siblings (e.g., team assignment via kimai-add-team-activity) and no prerequisites such as required permissions.

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