Skip to main content
Glama

memory_curate

Destructive

Validates a CurationPlan/1 through a deterministic safety gate before optionally applying it; invalid, protected, or over-cap operations are dropped with reasons, and nothing is deleted.

Instructions

Validate a CurationPlan/1 with the deterministic safety gate and optionally apply it. Unknown slugs, bad zones, protected notes and archives over the per-call cap are dropped with a reason; nothing is ever deleted. apply=true re-validates against the current vault.

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": {
      "plan": "<plan>"
    },
    "name": "memory_curate"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYes
applyNofalse (default) = dry run; true = apply

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The description goes well beyond the annotations: it discloses that invalid ops are dropped with a reason rather than failing, that nothing is ever deleted, that a per-call cap applies to archives, and that apply re-validates against the current vault state. This is meaningful context for a tool annotated destructiveHint=true and idempotentHint=false. There is mild tension between 'nothing is ever deleted' and destructiveHint=true (archiving still mutates vault state), but it reads as clarification rather than contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, no filler, and the core action is front-loaded. The drop-reason and no-deletion facts are packed efficiently. Slightly dense in phrasing ('Validate a CurationPlan/1 with the deterministic safety gate') but nothing is wasted.

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?

The tool is moderately complex (nested plan payload, mutation with re-validation), and the description covers the validation contract, the dry-run default, and the destructive-behavior caveat. With an output schema present and annotations covering safety hints, the remaining gaps (atomicity of apply, exact cap value, ordering of ops) are minor.

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 50%, and the description compensates by explaining the two top-level parameters' roles: plan is a CurationPlan/1 payload gated by validation rules, and apply toggles dry run versus mutation with re-validation. It also conveys op-level semantics (zones, slugs, archives counted against a cap) that the schema only names. It does not spell out the plan_version constraint beyond the name or the exact cap value, leaving some detail to the schema.

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?

States a specific verb-and-resource pair: validate a CurationPlan/1 through a deterministic safety gate, with optional application. The scope (unknown slugs, bad zones, protected notes, over-cap archives) makes the tool's remit concrete. It does not explicitly contrast with siblings such as memory_review_apply or memory_forget, so an agent must infer the boundary from the plan-based workflow.

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 dry-run-versus-apply distinction is stated (apply=false is default; apply=true re-validates against the current vault), which implies a validate-then-apply workflow. However, there is no explicit 'use this when...' guidance and no mention of when to prefer a sibling tool. Usage is implied rather than prescribed.

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