Skip to main content
Glama

Edit an entry

update_entry
Idempotent

Change an entry's project, date, minutes or note. Only the fields you pass change. Entries on an invoice keep their minutes and client.

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_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe entry id (from list_entries)
dateNoMove the entry to this day, YYYY-MM-DD
noteNoNew description (max 2,000 characters)
minutesNoNew whole minutes (use this or duration)
projectNoMove the entry to this project: id or "Client / Project"
durationNoNew duration text such as "1h30" (use this or minutes)

Output Schema

NameRequiredDescriptionDefault
updatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / updated / properties / logged_by
      Added value: +{
      +  "description": "Name of the access token that logged this entry, or null when it was logged in the UseHourly app",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / updated / required
      Previous value: -[
      -  "id",
      -  "date",
      -  "minutes",
      -  "hours",
      -  "note",
      -  "running",
      -  "started_at",
      -  "project",
      -  "client"
      -]New value: +[
      +  "id",
      +  "date",
      +  "minutes",
      +  "hours",
      +  "note",
      +  "running",
      +  "started_at",
      +  "logged_by",
      +  "project",
      +  "client"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), but the description adds real context beyond them: the partial-update contract and the rule that entries on an invoice keep their minutes and client (a silently ignored field). That locked-field disclosure is exactly the kind of behavior schema and annotations cannot express.

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

Conciseness4/5

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

Three short sentences, front-loaded with the core action, and every sentence carries information. The text is efficiently sized, with minor room to state which fields are optional.

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?

With annotations, an output schema and fully described parameters, the description covers what the schema cannot: partial-update semantics and invoiced-entry restrictions. The description does not mention the duration parameter and does not say whether edits can fail, but with those structured fields present, this is still nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 id, date, note, minutes, project and duration, including formats and bounds. The description adds meaning on top by stating the partial-update rule and that minutes/client are preserved for invoiced entries. Baseline 3 does not apply here because the description genuinely adds semantic value.

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 opens with a specific verb plus resource ('Change an entry's project, date, minutes or note') and enumerates the mutable fields, so an agent knows exactly what this does versus delete_entry or merge_entries. It stops short of naming a sibling alternative, which keeps it from a 5.

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?

'Only the fields you pass change' clearly signals partial-update semantics, telling the agent it can call this for a single-field tweak without risk of clobbering other values. No explicit when-not or alternative-tool routing is given, so it lands at 4 rather than 5.

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.