Skip to main content
Glama

memoryguard_memory_merge_safe

Safely merge duplicate memory atoms into a canonical atom using governed supersede, with mandatory confirmation and revision checks to prevent bypass and preserve owner updates.

Instructions

Admin-only governed supersede of one active same-group duplicate memory atom into a stronger canonical atom. Reuses GovernanceV2.supersede. Requires confirmed=true. There is no force or bypass; owner update/delete stay unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmedYesmust be true; the mutation refuses any other value
workspaceNo
idempotency_keyYes
mutation_receiptYesnative mutation receipt for this supersede transaction
canonical_atom_idNoactive canonical atom_id in the trusted share group
duplicate_atom_idNoactive duplicate atom_id in the same share group
canonical_memory_idNoactive canonical memory_id in the trusted share group
duplicate_memory_idNoactive duplicate memory_id in the same share group
expected_atom_revisionsYesCAS map of involved atom or memory ids to current revisions

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.7.11

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose meaningful traits: the operation is governed, admin-only, requires confirmation, and leaves owner update/delete unchanged. It does not, however, explain concrete effects such as what happens to the duplicate atom, whether the operation is reversible, or what the agent should expect in the response, which are significant for a mutating action.

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?

The description is three tightly packed sentences with no filler. It front-loads the core action and scope, then adds governance context, confirmation requirement, and boundary constraints, with every sentence earning its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex mutating operation with nine parameters, nested objects, no annotations, and no output schema, yet the description omits the operational flow such as the preview step, how CAS revisions are used, and the effect on the duplicate atom. An agent can identify the tool's purpose but lacks enough context to confidently execute the full transaction end to end.

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 description coverage is 78%, and most parameters already have meaningful descriptions such as 'CAS map' and 'native mutation receipt'. The description only adds the confirmed=true requirement, so it contributes little beyond what the schema already provides.

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 names a specific verb ('supersede'), a specific resource ('duplicate memory atom' into 'canonical atom'), and scope ('same-group'), which clearly distinguishes it from generic memory operations. It does not explicitly name sibling tools like memoryguard_memory_merge_safe_preview or memoryguard_rule_merge_safe, so differentiation is evident from context rather than directly stated.

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 description gives important preconditions: admin-only access, confirmed=true required, and no force or bypass. However, it does not explicitly say when to use this tool versus alternatives such as the preview tool or rule-based merge, leaving the agent to infer selection logic from tool names and surrounding context.

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/irisxc4/memoryguard'

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