Skip to main content
Glama

log_time

Records a time entry in Harvest using project, task, hours, optional notes, and date to track work hours accurately.

Instructions

Log a time entry to Harvest

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_id": "<project_id>",
      "task_id": "<task_id>",
      "hours": "<hours>"
    },
    "name": "log_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYesNumber of hours (0-24)
notesNoNotes about the time entry
task_idYesThe ID of the task
project_idYesThe ID of the project
spent_dateNoDate in YYYY-MM-DD format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It does not state whether authentication or permissions are required, whether the entry is billable or locked, whether logging time affects a running timer, or whether duplicate entries are rejected. For a write operation with zero annotation coverage, this leaves significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence with no wasted words, but it is under-specified for a tool with five parameters and three required fields. Brevity here reflects a lack of detail rather than disciplined conciseness.

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?

This is a five-parameter mutation tool with no annotations and no output schema, so the description must supply more context. It provides no information about return values, side effects, permissions, or error conditions. As written, it is too thin for the tool's complexity.

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 the schema already documents all five parameters, including the 0-24 hour range, the YYYY-MM-DD date pattern, and the ID constraints. The description adds no additional meaning, so the baseline score of 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 states a specific verb and resource: 'Log a time entry' to Harvest. This makes the create-a-time-entry action unambiguous. It does not distinguish this tool from siblings like update_time_entry or start_timer, but the core action is clear.

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?

The description gives no guidance on when to use this tool instead of alternatives such as update_time_entry or start_timer. It also does not say whether this tool creates a new entry, updates an existing one, or interacts with a running timer. The agent must infer everything from the tool name.

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