Skip to main content
Glama

Append to a note

append_note

Append markdown to a note without overwriting existing content, optionally under a specific heading that is created if missing. Use it to safely add sections or log entries.

Instructions

Append markdown to a note, optionally under a specific heading (created at the end if missing). The safe default way to add content without overwriting anything.

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": {
      "ref": "<ref>",
      "text": "<text>"
    },
    "name": "append_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesNote path, title, or alias
textYesMarkdown to append
headingNoSection heading to append under, e.g. 'Log'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two useful traits: existing content is never overwritten, and a missing heading is created at the end. It does not say whether the note is created when ref is unresolved, whether the heading match is case-sensitive, or what an error/response looks like — notable gaps 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, front-loaded with the action and completed by the safety framing. Nothing is repeated from the title and no sentence 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 three-parameter mutation tool with no annotations and no output schema, the definition covers the core semantics (append target, heading creation, non-destructive default) but omits failure modes and return shape. It is adequate to call correctly in the happy path and thin around edge cases.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description earns an extra point by explaining heading behavior that the schema does not: a missing heading is created at the end of the note. That materially changes how an agent should use the optional heading parameter.

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?

"Append markdown to a note" gives a specific verb and resource, and "optionally under a specific heading" scopes the operation further. It never names a sibling, though the phrase "safe default way to add content without overwriting anything" implicitly separates it from edit_note/replace_note_body, leaving that contrast inferred rather than stated.

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?

"The safe default way to add content" is real usage guidance — it tells an agent to prefer this tool for additive writes. However, no alternative is named and no when-not condition is given, so the agent must infer that replace_note_body or edit_note are the non-default options from their titles alone.

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