Skip to main content
Glama

Archive a note

archive_note
DestructiveIdempotent

Archive a note: it disappears from lists but remains readable. Nothing is deleted.

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

Input Schema

NameRequiredDescriptionDefault
note_idYes
expected_versionYes

Output Schema

NameRequiredDescriptionDefault
idYes
archived_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Adds genuine behavioral detail beyond the annotations: the note vanishes from lists yet stays readable, and nothing is deleted. That is exactly the kind of context annotations cannot convey. However, it sits in mild tension with destructiveHint=true, and it says nothing about the required expected_version concurrency check, reversibility, or what happens on a stale version.

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, front-loaded with the effect on listings followed by the safety reassurance. No filler and nothing redundant.

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?

The existence of an output schema excuses the lack of return-value detail, and the state-change semantics are covered. But for a state-mutating tool with two undocumented required parameters, the missing explanation of expected_version and of whether the change is reversible leaves a real gap.

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% (both parameters are bare titles), so the description must carry the load — and it describes neither parameter. The required expected_version in particular is a precondition whose failure behavior is left completely unexplained.

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?

Names a specific verb and resource ('Archive a note') and immediately defines the resulting state ('disappears from lists but remains readable'). It is clear enough to distinguish from sibling write tools like update_note or create_note, though it does not explicitly contrast itself with the many other archive_* siblings.

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?

Usage is only implied: an agent can infer this is the right tool when a note should be hidden but still retrieved. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative (e.g., update_note for edits, or an unarchive path if one exists).

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