Skip to main content
Glama

resolve_contradiction

Resolves conflicting memories by keeping one and superseding, deleting, or weakening the other to maintain consistency.

Instructions

Resolve a contradiction by keeping one memory and handling the other.

After resolving:

  • 'supersedes': Creates SUPERSEDES relationship, weakens trust in discarded

  • 'delete': Removes the discarded memory entirely

  • 'weaken': Reduces trust in discarded memory but keeps it

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keep_idYesID of memory to keep (must be one of the two)
resolutionNoHow to handle the discarded memory: 'supersedes' (kept memory replaces other), 'delete' (remove the other memory), 'weaken' (reduce trust in other memory)supersedes
memory_id_aYesFirst memory in contradiction
memory_id_bYesSecond memory in contradiction

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: the three resolution methods and their effects (creating relationships, weakening trust, deleting). This provides sufficient transparency for an agent.

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 concise, with a clear first sentence stating the purpose, followed by a structured list of resolution behaviors. No unnecessary words.

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

Completeness5/5

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

Given the presence of an output schema and the detailed explanation of resolution behaviors, the description provides complete context for this tool. All parameters are well-described in the schema, and the description adds the missing behavioral effects.

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 100%, so baseline is 3. The description adds value by explaining the resolution options in more detail and clarifying that keep_id must be one of the two memory IDs.

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 clearly states the action ('Resolve a contradiction') and the resource ('memory'), and distinguishes it from sibling tools like find_contradictions and mark_contradiction by focusing on resolution.

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 implies use after contradictions are identified, but does not explicitly provide when-not or alternative scenarios. However, the context of sibling tools makes the usage context clear.

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/michael-denyer/memory-mcp'

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