Skip to main content
Glama
jais2402
by jais2402

Log time on an Everhour task

everhour_log_time

Log hours worked on an Everhour task with duration (hours or seconds), optional date, comment, and user ID.

Instructions

Log (add) tracked time against an Everhour task. This is the primary tool for recording hours worked.

Args:

  • task_id (string): Everhour task ID. For Asana tasks: 'as:'.

  • duration ({ hours?: number } | { seconds?: number }): How long to log. Provide ONE of:

    • hours: decimal hours, 0-24 (e.g. 1.5 = 1h 30m)

    • seconds: integer seconds, 60-86400

  • date (string, optional): YYYY-MM-DD. Defaults to today.

  • comment (string, optional): Note describing the work.

  • user_id (number, optional): Defaults to the authenticated user (only admins can log for others).

  • response_format ('markdown' | 'json'): Output format

Returns the created time record: { "id": number, "date": "YYYY-MM-DD", "user": number, "time": number, // seconds "comment": string | null, "task": { "id": string, "name"?: string }, "createdAt": "ISO-8601" }

Examples:

  • "Log 2 hours on task as:1208... for today" → task_id='as:1208...', duration={ hours: 2 }

  • "Log 45 minutes on OPS-123 yesterday with comment 'fix flaky test'" → after resolving the task ID: duration={ seconds: 2700 }, date='YYYY-MM-DD', comment='fix flaky test'

  • For an Asana ticket where you only have the GID, prefer everhour_log_time_for_asana_task.

Error Handling:

  • 404 → task not synced; verify with everhour_find_task_by_asana_id

  • 409 → a time record already exists for that user/date — use everhour_update_time_record instead

  • 422 → validation error (duration too long, future date, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate the time was worked, YYYY-MM-DD. Defaults to today if omitted.
commentNoOptional note describing the work performed.
task_idYesEverhour task ID. For Asana-synced tasks the ID is 'as:<asanaGid>' (e.g. 'as:1208034567890123').
user_idNoEverhour user ID to log time for. Defaults to the authenticated user.
durationYes
response_formatNoOutput format: 'markdown' for human-readable text or 'json' for machine-readable structured datamarkdown
Behavior5/5

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

Annotations indicate write, non-destructive, non-idempotent, open-world. Description adds behavioral context: explains creation of time record, default user behavior (authenticated user, admin can log for others), error scenarios, and output structure. Does not contradict annotations.

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?

Well-structured with clear sections (Args, Returns, Examples, Error Handling). Each sentence adds value. Front-loaded with purpose. Appropriate length given complexity.

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

Completeness5/5

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

Complete description for a tool with 6 params (2 required), nested duration object, and no output schema. Covers all parameters, output format, error handling, usage patterns, and examples.

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 83%, so baseline is 3. Description adds significant value beyond schema: explains duration as mutually exclusive hours/seconds with examples, default date, response_format enum, and provides examples that clarify usage. Only minor redundancy with 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 'Log (add) tracked time against an Everhour task' and identifies itself as the primary tool for recording hours. It differentiates from siblings like everhour_log_time_for_asana_task (mentioned in examples) and everhour_update_time_record (in error handling).

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

Usage Guidelines5/5

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

Explicitly says when to use this tool (primary for recording hours). Provides error handling that guides to alternatives: for 409 use everhour_update_time_record, for 404 use everhour_find_task_by_asana_id. Also advises preferring everhour_log_time_for_asana_task when only Asana GID is known.

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/jais2402/ever-hour-mcp-for-jais'

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