Skip to main content
Glama

kimai-create-activity

Create a new activity with a required name and optional project link; omit the project to create a global activity.

Instructions

Create a new activity. Requires name. Optionally link to a project (otherwise it becomes a global activity).

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

Input Schema

NameRequiredDescriptionDefault
nameYesActivity name (required)
colorNoHex color code
budgetNoMonetary budget
numberNoActivity number
commentNoDescription/comment
projectNoProject ID (omit for global activity)
visibleNoIs visible (default: true)
billableNoIs billable (default: true)
budgetTypeNoBudget type: 'month' for monthly budget
timeBudgetNoTime budget (e.g. '100:00')
invoiceTextNoInvoice text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 burden, and it does disclose one meaningful behavioral trait: omitting the project yields a global activity rather than failing. It says nothing about permissions/auth, whether defaults like visible=true and billable=true are applied, duplicate-name behavior, or what the response contains — significant gaps for a mutation tool.

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; the action, the requirement, and the key optional behavior are front-loaded. Nothing is repeated or padded.

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 an 11-parameter create tool with no annotations and no output schema, the description covers the essential call path (required name, optional project scope) plus the rich schema fills in the rest. It still omits any statement of return value shape or side effects, which leaves an agent guessing after invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, and the description modestly adds meaning by framing the project parameter as an optional scoping choice with a documented consequence. It adds nothing about the remaining ten parameters, but the schema already documents each of those individually.

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 definition opens with a specific verb+resource ("Create a new activity") and immediately states the required field, so an agent knows exactly what the tool produces. It does not name or distinguish itself from the closest siblings such as kimai-update-activity or kimai-create-project, so it stops short of full sibling differentiation.

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 "otherwise it becomes a global activity" gives a concrete conditional for how to use the project parameter, which is genuine usage guidance. However, there is no statement of when to choose this tool over kimai-create-project or kimai-update-activity, and no prerequisites (e.g. that a project must already exist) are mentioned.

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