Skip to main content
Glama

Archive a partition

partition_archive
DestructiveIdempotent

Archive a partition by id. Its memories stay reachable with partition_scope: "id:<ulid>". Refused for the default partition. Idempotent.

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": {
      "id": "<id>"
    },
    "name": "partition_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
idYes
statusYesAlways `"ok"` today.
messageNoSet only when `status` isn't `"ok"`.
archivedYes
is_defaultYesThe default partition; cannot be renamed, archived or restored.
display_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover destructiveHint, idempotentHint, and openWorldHint, so the bar is lower; the description still adds two facts not in the structured data — that data is not lost (memories remain reachable via `partition_scope: "id:<ulid>"`) and that the default partition is refused. 'Idempotent' merely repeats idempotentHint=true, adding no new information.

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?

Three short sentences, front-loaded with the action, then the downstream effect, then the constraint and idempotency. Nothing is wasted and the most important consequence is stated early.

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?

With an output schema present, return values need not be described, and the description covers effect, refusal case, idempotency, and post-archive accessibility. The remaining omission is how to reverse the operation (partition_restore) and the exact form of the `id` argument.

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 coverage is 0% for the single `id` parameter, and the description only says 'by id' plus an incidental hint that ids are ULIDs via the `id:<ulid>` scope syntax. It never states whether `id` accepts the partition ULID, name, or both, nor any validation behavior — a meaningful gap at 0% coverage.

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?

The description states a specific verb and resource ('Archive a partition by id') and immediately clarifies the consequence ('Its memories stay reachable'), so an agent knows exactly what the operation does. It does not explicitly name the inverse sibling (partition_restore), so differentiation is implied by the verb 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 Guidelines4/5

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

'Refused for the default partition' is an explicit when-not condition that prevents a guaranteed failure. It stops short of naming the alternative path for undoing an archive (partition_restore), so the routing guidance is clear but not complete.

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.