Skip to main content
Glama

memoryguard_rule_merge_safe_preview

Preview merge safety for duplicate rule sources and definitions by resolving their current revisions and pair safety, without writing transactions or bypassing composer rules.

Instructions

Read-only preflight for memoryguard_rule_merge_safe. Resolves the requested canonical/duplicate source or definition ids in the trusted share group, returns current definition revisions and pair safety, and does not write transactions, decisions, undo, settlement, or idempotency records. There is no force or bypass; composer/pair safety still decides mergeability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceNo
canonical_source_idNoactive rule_source_links.memory_id in the trusted share group
duplicate_source_idsNoactive duplicate source ids in the same share group
canonical_definition_idNoactive definition id in the trusted share group
duplicate_definition_idsNoactive duplicate definition ids in the same share group

Schema Changelog

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

  1. Addedv0.7.11

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so thoroughly. It explicitly states the tool is read-only, lists several record types it does not write, and explains that composer/pair safety still governs mergeability. This gives an agent strong expectations about side effects and guarantees.

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 focused sentences deliver the core purpose, behavioral guarantees, and key caveat without wasted words. The most important information is front-loaded: 'Read-only preflight' appears immediately.

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 has no output schema and no annotations, so the description must cover behavior and expected results well; it does, mentioning current definition revisions and pair safety. However, it does not describe the exact return structure or clarify whether workspace is required for resolution, leaving minor gaps for an agent.

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 80%, so the schema already documents most parameters. The description echoes the same canonical/duplicate source and definition ID concepts rather than adding deeper semantics, and it does not explain the workspace parameter, which is the one undocumented field.

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?

The description opens with 'Read-only preflight for memoryguard_rule_merge_safe,' naming a specific verb, resource, and operation. It clearly distinguishes itself from the actual merge tool by stating it resolves IDs, returns revisions and pair safety, and does not write anything.

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?

The description clearly frames this as a preflight step for memoryguard_rule_merge_safe, giving strong context on when to invoke it. It does not explicitly name alternatives like the actual merge command, but 'does not write transactions...' and 'no force or bypass' effectively communicate that this is not a substitute for performing the merge.

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