Skip to main content
Glama

Amend log metadata

amend_log_metadata

Updates limited metadata on an existing log entry, including tags, affected files, next steps, and blockers.

Instructions

Amend limited metadata on an existing entry. Use this for affected_files, tags, next_steps, or blockers only.

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": {
      "log_id": "<log_id>"
    },
    "name": "amend_log_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoReplacement tag list.
log_idYesID of the log entry to amend.
blockersNoReplacement blocker note. Use an empty string to clear it.
next_stepsNoReplacement next-steps note. Use an empty string to clear it.
affected_filesNoReplacement file list if the original missed edited files.

Output Schema

NameRequiredDescriptionDefault
entryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does add real behavioral context: the change is limited to four metadata fields and nothing else on the entry is touched. It leaves unstated whether prior values are audited, whether permission is required, or whether the amendment is reversible, which matters for a mutation tool with zero annotation coverage.

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?

Two short sentences: the operation first, the field scoping second. Every clause carries information and nothing is padded.

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 five-parameter mutation tool with full schema coverage and an output schema, the description supplies the essential scope constraint and field list. The main remaining gap is behavioral (auth, audit, reversibility), which annotations would normally cover but here are absent.

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 the schema already documents each parameter, including 'Replacement ...' semantics and the empty-string clear behavior. The description merely restates the same four field names, adding no format or edge-case detail beyond the schema baseline.

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 ('Amend limited metadata on an existing entry') and enumerates the mutable fields, so an agent knows this is a narrow patch operation rather than a status change like update_log_status. It stops short of naming a sibling alternative explicitly, so it is clear but not fully differentiated.

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?

'Use this for affected_files, tags, next_steps, or blockers only' gives an explicit inclusion list and excludes everything else via 'only'. It does not spell out when to use a different tool (e.g. append_work_note or update_log_status) instead, so the guidance is clear context without full alternatives.

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