Skip to main content
Glama

plan_merge

Preview a merge plan for two or more memories without applying changes. Returns a plan ID for later execution; protected members prevent the merge.

Instructions

Produce a previewable MERGE plan (a diff: combined content/tags/provenance) for 2+ memories WITHOUT applying it. Returns a plan_id for apply_plan. Protected members block the merge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
member_idsYesIDs of the memories to merge (>= 2). The survivor is kept; the rest are bitemporally invalidated (kept for audit).
survivor_idNoOptional: which member to keep. Defaults to the highest-retention member.
Behavior4/5

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

No annotations provided, but description discloses key behaviors: produces a plan without applying it, returns a plan_id, and notes that protected members block the merge. Schema adds details on bitemporal invalidation. Lacks side effects or error conditions.

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 concise sentences fully explain the tool's purpose, behavior, and output. No fluff – every piece of information serves a purpose.

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?

Given no output schema, the description explains the output (plan_id) and the nature of the plan (diff). Sufficient for the tool's complexity and parameters. Lacks mention of potential failure modes or prerequisites.

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 description coverage is 100%, providing clear parameter details. Description adds contextual meaning (previewable plan, combined content/tags/provenance, protected members blocking). Adds value beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb ('Produce') and resource ('previewable MERGE plan') and explicitly distinguishes from sibling tools like 'apply_plan' by noting it does not apply the plan.

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?

Indicates when to use (preview before applying) and references 'apply_plan' as next step. Mentions that protected members block the merge, but could be more explicit about when not to use or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samvallad33/vestige'

If you have feedback or need assistance with the MCP directory API, please join our Discord server