Skip to main content
Glama
OpenProject MCP Server

OpenProject MCP Server

by billmal071

log_time

Records hours spent on an OpenProject work package, with optional date, activity, and comment, so teams can track effort and update time entries.

Instructions

Log time spent on a work package

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": {
      "work_package_id": "<work_package_id>",
      "hours": "<hours>"
    },
    "name": "log_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYesNumber of hours spent
commentNoComment about the logged time
spent_onNoDate the time was spent in YYYY-MM-DD format (defaults to today)
activity_idNoNumeric ID of the time entry activity
work_package_idYesThe numeric ID of the work package

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 and largely drops it. It does not state that a new time entry is created, whether the operation is idempotent or can double-log, what permissions or project membership are required, or what the response contains.

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?

A single short sentence with zero waste and the resource scoping front-loaded. It is efficient, though the brevity is partly a symptom of under-specification rather than disciplined editing.

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

Completeness2/5

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

For a write tool with five parameters, no annotations, and no output schema, one sentence is not enough. Nothing is said about side effects, required permissions, or what the agent gets back, leaving real gaps an agent must guess at.

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 parameter is already documented in the schema, including the YYYY-MM-DD format and the today default. The description adds no extra meaning such as how activity_id should be chosen or whether comment is free text; 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 gives a specific verb+resource pair ("Log time") scoped to a work package, so an agent can tell it creates a time entry rather than reading or deleting one. It does not, however, contrast with siblings such as update_time_entry or list_time_entries, so the differentiation is only implicit.

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

Usage Guidelines2/5

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

There is no guidance on when to use this instead of update_time_entry (correcting an existing entry) or list_time_entries (checking what was already logged). No prerequisites, no conditions, no exclusions are stated.

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