Skip to main content
Glama

Archive a note

archive_note

Move a note to the archive folder instead of deleting it, keeping it out of default search and listings while preserving the original content.

Instructions

Move a note into the archive folder (the non-destructive alternative to deletion). Archived notes are excluded from search and listings by default.

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

Input Schema

NameRequiredDescriptionDefault
refYesNote path, title, or alias

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.7/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 burden and does disclose two useful traits: the move is non-destructive and archived notes drop out of search and listings by default. It omits reversibility (is there an unarchive path?), idempotency when the note is already archived, and permission requirements — meaningful gaps for a mutation tool.

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 tight sentences, with the core action front-loaded and the behavioral note (exclusion from search/listings) following it. Nothing is redundant or padded.

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 single-parameter mutation with no annotations and no output schema, the definition should explain reversibility, the already-archived case, and failure modes for an unresolvable ref. It covers the non-destructive framing and visibility side effect well, but leaves those operational questions unanswered.

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?

Only one parameter exists and schema coverage is 100%, with the schema already defining "ref" as a note path, title, or alias. The description adds no disambiguation guidance, such as how ambiguous titles are resolved or what happens when the ref matches multiple notes, so the baseline 3 applies.

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?

A concrete verb plus resource ("Move a note into the archive folder") leaves no ambiguity about the operation. The parenthetical contrasts it with deletion, but it does not name or distinguish any actual sibling such as edit_note or list_notes, which keeps it short of a 5.

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?

The phrase "the non-destructive alternative to deletion" gives a clear selection rule for the main decision an agent faces (delete vs. archive). It stops short of explicit when-not guidance, e.g., what to do if the note is already archived or if it should instead be edited or moved elsewhere.

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