Skip to main content
Glama

update_time_entry

Idempotent

Update a time entry's duration, date, task, or description by ID. Missing fields are kept from the original entry.

Instructions

Change one time entry (a declaration), by the id list_time_entries returns: its duration, its day, its task, its description. Gryzzly's update requires all of them, so whatever is left out is read back from the existing entry first. Use log_time to add time and delete_time_entry to remove an entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe declaration's identifier, as returned by `list_time_entries`.
dateNoThe new day. Left alone when absent.
taskNoThe new task, by name or id. Left alone when absent.
userNoWhose declaration it is, when it is not the current user's.
projectNoThe project the new task belongs to, to narrow the lookup.
durationNoThe new duration. Left alone when absent.
descriptionNoThe new description. Left alone when absent.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe declaration's identifier, needed to update or delete it.
dateYesThe day, as `YYYY-MM-DD`.
taskNoThe task's name, when it could be resolved.
projectNoThe project's name, when it could be resolved.
secondsYesThe duration in seconds, which is what Gryzzly stores.
task_idYesThe task the time is declared against.
user_idYesWhose time it is.
durationYesThe duration, human readable.
project_idNoThe project the task belongs to.
descriptionNoWhat the time was spent on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Discloses a non-obvious behavioral trait beyond the annotations: Gryzzly's update requires all fields, so omitted values are 'read back from the existing entry first,' i.e., a read-modify-write merge. Annotations already cover safety (readOnly=false, idempotent=true, destructive=false), so this adds genuine value; it does not mention permission needs or concurrency.

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?

Front-loaded with the verb and reasonably sized, but the sentence 'by the id list_time_entries returns: its duration...' is run-on and awkward to parse, mixing the identifier source with the field list in a way that requires re-reading.

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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile. The description supplies the routing (log_time/delete_time_entry) and the partial-update semantics, making it largely complete, though it omits auth/permission context for editing another user's entry.

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 coverage is 100% and each parameter already carries a description including 'Left alone when absent,' so the schema does the heavy lifting. The description reinforces the absent-field behavior but adds little beyond it, and never mentions the user/project params, so the baseline 3 holds.

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?

States a specific verb and resource ('Change one time entry'), names the returned identifier source (list_time_entries), and enumerates the mutable fields (duration, day, task, description). It also names the sibling tools log_time and delete_time_entry, letting the agent distinguish this update tool from the add/remove alternatives without opening a schema.

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 routes the agent to alternatives: 'Use log_time to add time and delete_time_entry to remove an entry,' which clarifies this is neither creation nor deletion. It gives clear context for use but stops short of stating when-not conditions or prerequisites (e.g., permissions on others' entries).

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