Skip to main content
Glama

kimai-create-timesheet

Create a new timesheet entry with a required project and activity, set start and end times, or omit the end time to start a running timer.

Instructions

Create a new timesheet entry. Requires project and activity. If no begin is set, starts now. If no end is set, the timesheet will be running (active timer).

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

Input Schema

NameRequiredDescriptionDefault
endNoEnd date-time (YYYY-MM-DDThh:mm:ss). Omit to start a running timer.
tagsNoComma-separated list of tags
userNoUser ID (admin only, defaults to current user)
beginNoStart date-time (YYYY-MM-DDThh:mm:ss). Defaults to now.
projectYesProject ID (required)
activityYesActivity ID (required)
billableNoMark as billable
exportedNoMark as exported
fixedRateNoFixed rate override
hourlyRateNoHourly rate override
descriptionNoDescription of the work

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?

With no annotations, the description carries the full behavioral burden; it does disclose the important non-obvious side effect that omitting end creates a live running timer. It omits permissions/auth scoping (e.g. the admin-only user field), whether an existing active timer conflicts, and what is returned.

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?

Three short sentences, front-loaded with the required fields and then the two conditional behaviors; nothing is padded or redundant in structure.

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 mutation tool with no annotations and no output schema, the description covers the required fields and the timer behavior but says nothing about the response, error conditions, or the rate/tag/user parameters. The rich schema compensates partially, but not fully.

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 every one of the 11 parameters is already documented, including begin/end defaults. The description restates the begin/end defaults rather than adding new meaning, and says nothing about rate overrides, billable, exported, tags, or user.

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?

"Create a new timesheet entry" states a specific verb plus resource, and "new" separates it from kimai-update-timesheet and kimai-duplicate-timesheet. It does not explicitly name a sibling or exclusion, so it stops 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 Guidelines3/5

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

The description gives required inputs (project, activity) and the begin/end omission semantics, which implies when the tool produces a running timer. It never says when to prefer this over kimai-restart-timesheet, kimai-duplicate-timesheet, or kimai-stop-timesheet, nor does it warn about creating a second active timer.

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