Skip to main content
Glama

commander append

exza_commander_append
Destructive

Append text with expected original SHA256 to prevent stale writes.

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": {
      "path": "<path>",
      "text": "<text>",
      "expectedSha256": "<expectedSha256>"
    },
    "name": "exza_commander_append"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
textYes
expectedSha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed3 schema fields changed
    • addedInput schema / properties / expectedSha256 / description
      Added value: +"Lowercase SHA-256 from the prior read; prevents overwriting changed content."
    • addedInput schema / properties / path / description
      Added value: +"Explicit path inside the scope for this tool; no symlink traversal where prohibited."
    • addedInput schema / properties / text / description
      Added value: +"User-approved text to type, append, replace, or report; may be sensitive."
  4. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is carried by structured data. The description adds real value beyond that by disclosing the optimistic concurrency contract (expectedSha256 prevents stale writes). It does not say what happens on a SHA mismatch (error? no write?), nor that appended text cannot be cleanly reverted.

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?

A single front-loaded sentence with no filler; the safety mechanism is stated up front. It is arguably too terse given the tool's risk profile, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema and zero schema description coverage, the description covers the concurrency contract but omits failure behavior, path resolution, and what is returned on success. That leaves meaningful gaps an agent would need before calling it confidently.

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 0%, so all three parameters rest on names alone. The description usefully explains expectedSha256 as the hash of the original content and its purpose, but says nothing about how path is resolved (workspace-relative? absolute?) or about text encoding/size limits.

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 (append) plus the optimistic-concurrency mechanism (expected original SHA256), which distinguishes it from overwrite-style siblings like exza_write_file and exza_commander_edit. It never names the resource explicitly as a file, relying on the 'path' parameter to imply it, and names no sibling by name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Append vs. overwrite is implied by the verb and by the SHA guard, so an agent can infer this is the right tool when adding to existing content. There is no explicit when-to-use/when-not guidance and no mention of the obvious alternatives (edit, write_file, home_edit_block).

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