Skip to main content
Glama

resolve_conflict

Destructive

Apply a user's ruling to settle a conflicting memory so the chosen value becomes current and the other is retired to history or closed.

Instructions

Apply the user's ruling on a conflict — the ruling decides what stays current, it is not just a note. winner="standing" keeps the standing value and retires the challenger to history; winner="challenger" promotes the challenger and closes the standing value's window. Only pass a ruling the user actually made.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conflict_id": "<conflict_id>",
      "resolution": "<resolution>"
    },
    "name": "resolve_conflict"
  }
}

Input Schema

NameRequiredDescriptionDefault
winnerNostanding
resolutionYes
conflict_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / properties / winner
      Added value: +{
      +  "default": "standing",
      +  "title": "Winner",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuine value on top by spelling out exactly what each branch destroys: retiring the challenger to history versus closing the standing value's window. It does not address reversibility or whether re-applying the same ruling is safe, which are the remaining relevant unknowns for a destructive mutation.

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 tight clauses: what it does, why it matters, and the two branch outcomes, followed by the guardrail. The branch semantics are front-loaded where an agent will read them, and no sentence is filler.

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?

For a destructive, non-idempotent mutation with no output schema and 0% schema coverage, the description covers the highest-risk surface — what each winner value does to existing data. Remaining gaps (meaning of the required resolution field, what the call returns) are modest but real.

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 coverage is 0% and there are no enums in the schema, so the description's explanation of winner="standing" versus winner="challenger" is doing real work the schema cannot. However, the two required parameters, conflict_id and resolution, get no semantic treatment at all — their formats and expected content remain undocumented.

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?

States a specific verb and resource ('Apply the user's ruling on a conflict') and immediately clarifies the semantic weight of the operation ('the ruling decides what stays current, it is not just a note'). An agent can distinguish this from a listing tool like open_conflicts without inspecting the schema.

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?

Gives a clear usage constraint — 'Only pass a ruling the user actually made' — which prevents an agent from inventing a resolution. It stops short of naming alternatives (e.g. open_conflicts to find a conflict_id, why to inspect history), so routing is implied rather than spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.