Skip to main content
Glama

Create Redmine Time Entry

redmine_create_time_entry

Log time entries in Redmine with issue or project ID, hours, and activity type, plus optional date and comments.

Instructions

Log time in Redmine. Requires either issue_id or project_id.

Args:

  • issue_id: Issue to log time against (provide this OR project_id)

  • project_id: Project to log time against (provide this OR issue_id)

  • hours: Hours spent (required)

  • activity_id: Activity type ID (required unless default exists)

  • spent_on: Date spent (YYYY-MM-DD, defaults to today)

  • comments: Description of work done

Returns: Created time entry details.

User preferences: none saved yet. The first time you help this user, ask once which Redmine projects they actually work on (suggest candidates via redmine_get_current_user with include_memberships=true and recent issues assigned to them), then save with redmine_save_preferences. Do not ask on later sessions — the saved answer replaces this hint (review anytime via redmine_get_my_context).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursYesHours spent
commentsNoDescription of work
issue_idNoIssue ID
spent_onNoDate (YYYY-MM-DD, default: today)
project_idNoProject ID or identifier
activity_idNoActivity type ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, so the create action is implied. The description adds non-obvious behavioral context: the first-time user preference questioning, how to suggest candidates, and the instruction not to ask later. This is valuable beyond annotations. It doesn't contradict annotations, and it transparently discloses a side process the agent must follow.

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?

The description is well-structured: a one-line purpose, a clear list of arguments with constraints, a return statement, and a separate paragraph for user preferences. It is front-loaded with the key requirement. While the user-preference section is lengthy, it contains essential operational guidance and is not redundant. The overall length is justified.

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?

Given the absence of an output schema, the description states 'Returns: Created time entry details,' which is sufficient. It covers the key constraints and the preference workflow. However, it does not specify behavior when both issue_id and project_id are provided (e.g., error or priority), nor does it mention error conditions or permissions. For a create tool with 6 parameters, it is fairly complete but could add a note on exclusivity enforcement.

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 coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema: it clarifies the mutual exclusivity of issue_id and project_id ('provide this OR project_id'), and the conditional nature of activity_id ('required unless default exists'). It also paraphrases comments as 'Description of work done' which is slightly more specific. This adds value over the raw schema.

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 states a clear verb and resource: 'Log time in Redmine.' While it doesn't explicitly distinguish from sibling redmine_update_time_entry, the name 'create_time_entry' and the action of logging time imply creation. The constraint 'Requires either issue_id or project_id' adds specificity. It could be clearer about being for new entries only, but it's still specific enough.

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 provides usage constraints (mutual exclusivity of issue_id/project_id, activity_id condition) and a user-preference workflow (ask once which projects, suggest via redmine_get_current_user, save with redmine_save_preferences). However, it does not explicitly mention when to use this tool versus alternatives like update_time_entry or list_time_entries. The guidance is more about operational setup than selecting the right tool.

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