Skip to main content
Glama

append_file

Appends content to an existing note, updates its modified timestamp, and enforces schema validity; refuses missing notes, so create them first with write_file.

Instructions

WRITE — appends to an existing note and bumps updated; the note must still satisfy the schema. A missing note is refused: create it with write_file.

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>",
      "content": "<content>"
    },
    "name": "append_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
vaultNo
contentYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.2
    • addedInput schema / properties / vault
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Vault"
      +}
  2. First observedv0.2.1

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does well: it discloses append-vs-overwrite semantics, a timestamp mutation, schema re-validation of the result, and the failure mode for a nonexistent path. It stops short of noting that appended content is not re-validated itself, or any auth/concurrency behavior, which keeps it from a 5.

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 compact clauses, front-loaded with the WRITE marker and the core action, with the refusal rule and the redirect to write_file following immediately. No filler sentences.

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?

An output schema exists, so return values need no explanation, and the description covers purpose, precondition, side effect, and failure path for a three-parameter mutation tool. The one real hole is the undocumented `vault` parameter, which the description would need to address given 0% schema coverage.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and largely does not. It conveys that `content` is appended to the note at `path`, but `vault` is never mentioned and its scoping/selection meaning is left entirely undocumented, nor is the format of `path` clarified.

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?

States a specific verb and resource ('appends to an existing note'), plus the side effect ('bumps `updated`') and the validation precondition ('must still satisfy the schema'). It also names the sibling it is not (write_file) for the missing-note case, so an agent can distinguish append from overwrite without opening either schema.

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

Usage Guidelines5/5

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

Explicit when-to-use (existing note), explicit when-not and consequence ('A missing note is refused'), and explicit alternative ('create it with write_file'). Nothing about routing is left to inference.

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