Skip to main content
Glama

create_clockin_event

Destructive

Write a clock event (stamp) for an employee (POST /events) — e.g. start work, start a project, pause, end of day. Required: employee_id, task_id (2 Ladezeit, 3 Fahrzeit, 4 Projekt, 5 Pause, 6/7 Sonder, 8 Logout (Feierabend), 9 Dienstreise, 10 Arbeitszeit), occurred_at (ISO). Optional: project_id (for task 4), task_label. Changes recorded working time — needs approval.

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": {
      "employee_id": "<employee_id>",
      "task_id": "<task_id>",
      "occurred_at": "<occurred_at>"
    },
    "name": "create_clockin_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYestask id
project_idNoclockin project ID
task_labelNoOptional label for the clock event
employee_idYesclockin employee ID
occurred_atYesoccurred at

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value with 'needs approval' and the side effect on recorded working time, but says nothing about the response, error behavior, or whether duplicate stamps are rejected — a relevant gap given idempotentHint=false.

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?

Front-loaded with the action and endpoint, then the required/optional split, and every clause carries information. The Required/Optional restatement partly duplicates the schema and the nested parentheses make it dense, but nothing is wasted.

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

Completeness4/5

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

For a destructive, non-idempotent write with no output schema, the definition covers the codes, formats, conditional parameters and approval requirement an agent needs to call it correctly. Remaining gaps (response shape, duplicate handling) are minor against the annotation coverage.

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

Parameters5/5

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

Schema coverage is 100% but the schema labels task_id only as 'task id' with zero enums; the description supplies the whole business code table (2 Ladezeit … 10 Arbeitszeit) that an agent cannot derive elsewhere. It also specifies occurred_at as ISO and conditions project_id on task_id 4, adding genuine meaning beyond the input schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (write/stamp) and concrete resource (clock event for an employee) plus the backing endpoint POST /events. The enumerated examples — start work, start a project, pause, end of day — make the tool's scope unambiguous and clearly separate it from the delete/list clockin siblings.

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

Usage Guidelines4/5

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

Gives concrete use-case triggers and a key precondition ('needs approval') an agent should surface before calling. It stops short of explicit when-not guidance or naming an alternative for correcting a wrong stamp (e.g. delete_clockin_event), which leaves a small routing gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.