Skip to main content
Glama

create_time_entry

Log work hours to a project by specifying date, project, task, and either total hours or start and end times.

Instructions

Create a new time entry. Requires project_id, task_id, and spent_date. Must provide either hours OR both started_time and ended_time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID to log time against
task_idYesThe task ID to log time against
spent_dateYesThe date the time was spent (YYYY-MM-DD)
started_timeNoStart time in HH:MM format (24-hour)
ended_timeNoEnd time in HH:MM format (24-hour)
hoursNoDecimal hours (e.g., 0.5 = 30min, 1.25 = 1h15m)
notesNoNotes for the time entry
external_referenceNo
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It discloses that the tool creates a new record and outlines required fields. However, it does not mention any destructive behavior, authentication needs, or potential side effects (e.g., duplicate handling). The information is adequate but not comprehensive.

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?

Two sentences, front-loaded with purpose, then constraints. No extraneous information. Every word is meaningful.

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?

The tool has 8 parameters including a nested object, no output schema. The description covers core logic (required fields and time/hours constraint). It does not explain the external_reference object or notes, but the schema covers those. For a creation tool, it is contextually complete.

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?

Input schema already provides detailed descriptions for 7 out of 8 parameters (88% coverage). The description adds the critical OR constraint between hours and started_time/ended_time, which is not captured in the schema. This provides additional guidance beyond the 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?

The description clearly states the action (Create) and resource (a time entry), specifying required fields (project_id, task_id, spent_date). This distinguishes it from sibling tools like start_timer or update_time_entry.

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?

Explicitly states the OR constraint for hours versus started_time/ended_time, providing a key decision rule. It implies that if you have hours you don't need time ranges, and vice versa. Lacks explicit exclusions or alternative tool suggestions, but the constraint is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ianaleck/harvest-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server