Skip to main content
Glama

Update time

update_time
Idempotent

Update an existing time entry. Only provided fields are changed. Provide duration_min, or provide start_time + end_time to recalculate it. Another person's entry may only be changed by admin/team lead or the project lead. Months sent for signature or signed are locked (correction = new version).

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": {
      "id": "<id>"
    },
    "name": "update_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTime entry UUID
dateNoNew date in YYYY-MM-DD format
categoryNoEffort category for plan-vs-actual: work = human work (default), steering = human time spent briefing/steering Claude, agent = Claude's own runtime
end_timeNoNew end time in HH:MM format. Used with start_time to recalculate duration_min.
commit_shaNoGit commit SHA to link to this time entry (pass an empty string to clear it)
start_timeNoNew start time in HH:MM format. Used with end_time to recalculate duration_min.
descriptionNoNew description of the work done
duration_minNoNew duration in minutes
commit_repo_full_nameNoGitHub repo (owner/repo) the commit_sha belongs to — must already be linked to the project (pass an empty string to clear it, reverting to the project's default repo)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare non-read-only, idempotent, non-destructive; the description adds substantive behavior: partial updates, an authorization gate (admin/team lead/project lead), and a hard refusal case where signed or signature-pending months are locked and require a new version. This is genuine context beyond the structured hints and is consistent with destructiveHint=false.

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?

Four compact sentences, front-loaded with the verb and resource, then constraints in descending order of importance. No filler and nothing repeated from the structured fields verbatim.

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?

For a 9-parameter mutation with no output schema, the description covers the risky parts: permissions, locked periods, and the duration calculation rule. It could say what is returned (the updated entry) and what happens when the id does not resolve, which is the only notable gap.

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 baseline is 3, but the description adds cross-parameter logic the schema only implies piecewise: either pass duration_min, or pass start_time + end_time and the duration is recalculated. It also clarifies that unspecified fields are left untouched, which is meaningful PATCH semantics not stated in the 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?

States a specific verb and resource ('Update an existing time entry'), which cleanly separates it from add_time and delete_time. It does not explicitly distinguish itself from update_plan_time or update_ai_memory_item-style siblings, but the resource noun is unambiguous.

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?

Gives real usage conditions: partial-update semantics ('Only provided fields are changed'), the duration_min versus start_time+end_time choice, and the permission rule for editing another person's entry. It lacks explicit routing to alternatives (e.g., when to use update_plan_time instead), but supplies clear when/when-not context in the form of the signed-month lock.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources