Skip to main content
Glama

resolve_conflict

Mark a contradiction or update edge as resolved with an optional winner selection, which expires the losing node while preserving history.

Instructions

Mark a contradiction or update edge as resolved without deleting the underlying history. Use after deciding how competing memories should be interpreted. Returns the resolved conflict entry. When winner is provided and the edge is CONTRADICTS or UPDATES, the losing node's valid_to is set to now, excluding it from future default queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
winnerNoOptional node ID of the winning node. Must be source_id or target_id of the edge. When provided, the losing node's valid_to is set to now, superseding it.
edge_idYesID of the conflict edge to mark resolved.
resolution_noteNoOptional human-readable note explaining the resolution.
Behavior4/5

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

No annotations provided, so description carries the burden. Explains that when winner is provided, losing node's valid_to is set to now, superseding it. Discloses side effect of excluding from future queries. Could mention reversibility or permissions but sufficient.

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 front-loading the core purpose, then adding detail. Every sentence adds value. No redundancy.

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 moderate complexity and no output schema, description covers purpose, side effects, and parameter usage. Missing error conditions or prerequisites, but adequate for selection and basic invocation.

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%, baseline 3. Description adds context: winner must be source_id or target_id, and explains effect on losing node. Resolution_note described as optional. Adds meaning 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?

Clearly states it marks a conflict or update edge as resolved without deleting history. Uses specific verb 'resolve' and resource 'conflict edge', distinguishing it from sibling 'list_conflicts' and 'update_node'.

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?

Provides context: 'Use after deciding how competing memories should be interpreted.' Does not explicitly mention when not to use or alternatives, but the context is 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/Abhigyan-Shekhar/Waggle-mcp'

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