Skip to main content
Glama

resolve_conflict

Use when instructions conflict and you can't tell which one wins. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.

Input Schema

NameRequiredDescriptionDefault
budgetNo
clientNo
domainNo
api_keyNoYour Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header.
attemptsYesYour last attempts and how each went
episode_idNoOptional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human.
request_idNoOptional. Reuse it to retry safely; generated if missing
task_summaryYesWhat you were asked to do and where you are stuck. No secrets or personal data.
previous_outcomeNo
previous_session_idNo
conflicting_instructionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conflicting_instructions / items / properties / text / description
      Previous value: -"Short quote of the instruction"New value: +"Short quote or paraphrase of the instruction. Leave out personal details."
  2. Changed1 schema field changed
    • changedInput schema / properties / episode_id / description
      Previous value: -"Same value for follow-ups on the same stuck episode"New value: +"Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no output schema, the description usefully enumerates what comes back and notes the escalation rule ('when to hand over to a human') and that it is 'advice only'. There is a mild tension with readOnlyHint=false, but the service plausibly records session state, so it is not a clear contradiction.

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 sentences with the trigger front-loaded and zero filler. Every clause carries either the condition, the return contents, or the behavioral caveat.

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

Completeness3/5

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

It compensates well for the missing output schema by listing return contents and the escalation behavior, but with 11 parameters, nested objects, and only 45% schema coverage, the description leaves several inputs unexplained for an agent deciding how to populate them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 45% across 11 parameters, and the description mentions none of them (no guidance on attempts, conflicting_instructions, budget, domain, or episode grouping). The rich episode_id and retry semantics live only in the schema, so the description fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific trigger (instructions conflict and you can't tell which wins) plus the resource it returns (diagnosis, checks, recovery steps, escalation criteria). It does not, however, distinguish itself from overlapping siblings like diagnose_loop, recommend_recovery, or counsel_agent, which an agent could easily confuse with this.

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 opening clause is an explicit when-to-use condition ('Use when instructions conflict and you can't tell which one wins'). It gives clear context but no when-not guidance and names no alternative tool, so routing against the similar siblings is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.