Skip to main content
Glama

Resolve Memory Conflict

resolve_memory_conflict
Destructive

Resolve a memory conflict by applying a chosen resolution strategy: keep existing, replace, merge, or mark conflict.

Instructions

Resolve a listed memory conflict. Call this only when the user/admin explicitly chooses a resolution strategy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conflict_idYesExact memory-conflict ID returned by list_memory_conflicts.
merge_contentNoMerged memory content to apply when resolving a conflict with a merge strategy.
metadata_jsonNoOptional JSON object string with extra metadata for the operation.{}
winning_memory_idNoMemory ID that should win when resolving a conflict.
resolution_strategyNoConflict resolution strategy, such as mark_conflict, keep_existing, replace, or merge.mark_conflict

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The annotation destructiveHint=true indicates destructive behavior, and the description adds context about needing user/admin choice before calling, but doesn't detail what gets destroyed or whether reversal is possible.

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 two sentences, front-loads the purpose, and contains no superfluous information.

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 existence of an output schema and the tool's straightforward nature (resolve a conflict), the description provides sufficient context for an agent to understand when and how to invoke it.

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 100% with all 5 parameters described in the input schema. The description does not add any extra meaning beyond what the schema provides.

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 verb 'Resolve' and the resource 'memory conflict', and distinguishes from sibling tools like list_memory_conflicts by specifying it is for listed conflicts.

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?

It explicitly says 'Call this only when the user/admin explicitly chooses a resolution strategy', providing clear context for when to use, though it doesn't mention 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/yonro/memory-os-cli'

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