Skip to main content
Glama

Edit Log Entry

edit_log_entry
DestructiveIdempotent

Change a log entry: replace its summary and body (and optionally its mentions and attachments), delete it, or restore an earlier revision. Briefs can't be deleted. This never changes the task's status; to fix the status, log a new entry with the right one. Returns the owner's new version; edits stay recoverable for 30 days.

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": {
      "request_id": "<request_id>",
      "expected_version": "<expected_version>",
      "entry_id": "<entry_id>"
    },
    "name": "edit_log_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoThe new full text, replacing the old one; send summary too.
deleteNoDelete the entry and withdraw its mentions; it stays recoverable for 30 days.
summaryNoThe new one-line summary, replacing the old one; send body too.
entry_idYesThe log entry's ID, from read_task or read_project.
mentionsNoNew mentions, replacing the old ones, with a text edit; omit to keep them. Members removed have their mention withdrawn.
artifactsNoNew attachments, replacing the old ones, with a text edit; omit to keep them.
request_idYesA key you choose, such as a UUID. Retry an uncertain write with the same request_id and arguments; Venom applies it once.
expected_versionYesThe owning task's or project's version (owner_version in reads); a stale one fails instead of overwriting a newer change.
restore_revisionNoRestore this revision of the entry, from an include_recovery read.

Output Schema

NameRequiredDescriptionDefault
noticesNoVenom reminders to read first.
task_idNoTask ID, if task write.
versionYesNew version for expected_version.
entry_idNoLog entry ID written.
owner_idYesWritten project or task ID.
owner_typeYesproject or task.
project_idYesProject ID.
mutation_atYesCommit time (Unix seconds).
recoverable_untilNoUnix time until edited/deleted text can be restored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / artifacts / description
      Previous value: -"Replace the attachments, with a text edit; omit to keep them."New value: +"New attachments, replacing the old ones, with a text edit; omit to keep them."
    • changedInput schema / properties / artifacts / items / properties / artifact_id / description
      Previous value: -"The artifact's ID, as save_artifact, list_artifacts or an attachment gives it."New value: +"The artifact's ID, from save_artifact, list_artifacts, search or an attachment."
    • changedInput schema / properties / artifacts / items / properties / revision / description
      Previous value: -"Which saved version to attach, by its revision number; the entry keeps pointing at it after newer saves."New value: +"The revision number to attach; the entry keeps pointing at it after newer saves."
    • changedInput schema / properties / body / description
      Previous value: -"The entry's new full text, replacing the old one; send summary too."New value: +"The new full text, replacing the old one; send summary too."
    • changedInput schema / properties / delete / description
      Previous value: -"Delete the entry; it stays recoverable for 30 days."New value: +"Delete the entry and withdraw its mentions; it stays recoverable for 30 days."
    • changedInput schema / properties / entry_id / description
      Previous value: -"The ID of the log entry to change, as read_task or read_project gives it."New value: +"The log entry's ID, from read_task or read_project."
    • changedInput schema / properties / expected_version / description
      Previous value: -"The current version of the task or project that owns it (owner_version in reads); a stale version fails instead of overwriting a newer change."New value: +"The owning task's or project's version (owner_version in reads); a stale one fails instead of overwriting a newer change."
    • changedInput schema / properties / mentions / description
      Previous value: -"Replace the mentions, with a text edit; omit to keep them. Members removed have their mention withdrawn."New value: +"New mentions, replacing the old ones, with a text edit; omit to keep them. Members removed have their mention withdrawn."
    • changedInput schema / properties / mentions / items / description
      Previous value: -"Ask an organization member, and through them their agents, to look at an entry.\n\nMentions are advisory: they never assign the task or change its status."New value: +"A member, and through them their agents, asked to look at this entry. It\nnever assigns the task or changes its status."
    • changedInput schema / properties / request_id / description
      Previous value: -"An idempotency key you make up for this write, such as a UUID. If you're unsure it went through, retry with the same request_id and arguments: Venom applies it only once."New value: +"A key you choose, such as a UUID. Retry an uncertain write with the same request_id and arguments; Venom applies it once."
    • changedInput schema / properties / summary / description
      Previous value: -"The entry's new one-line summary, replacing the old one; send body too."New value: +"The new one-line summary, replacing the old one; send body too."
  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 declare destructiveHint=true and idempotentHint=true, so safety is partly covered; the description nonetheless adds real behavior: briefs cannot be deleted, edits never touch task status, edits are recoverable for 30 days. It does not mention permission/auth requirements or failure modes beyond the schema's expected_version note.

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?

Three tight sentences, front-loaded with the operations, then the key constraint (no status change), then the return/recovery facts. No filler or repetition.

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 destructive multi-mode mutation with an output schema, the description covers the critical constraint (30-day recoverability, no status change) and the return value is handled by the output schema. It stops short of describing interaction between modes (e.g., delete versus restore_revision precedence), a minor but noticeable gap.

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 description coverage is 100%, so every parameter, including request_id, expected_version, mentions and artifacts replacement semantics, is already documented in the schema. The description adds modest framing ("replace its summary and body", "restore an earlier revision") but no syntax or constraints beyond that, so baseline 3 applies.

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 opens with a specific verb and resource ("Change a log entry") and enumerates the distinct operations: replace summary/body, replace mentions/attachments, delete, or restore a revision. That scope is clearly separable from siblings like append_task_log or edit_skill.

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?

"This never changes the task's status; to fix the status, log a new entry with the right one" is explicit routing to an alternative action (append a new entry) for the status case. It gives clear context but does not name or exclude other sibling tools, so it falls short of full when/when-not coverage.

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.