Skip to main content
Glama

Resolve Replo interaction

resolve_agent_interaction
Destructive

Resolve one pending Replo agent interaction with the user's explicit answer. For a permission request, pass type permission and the decision from its response options. For a question, pass type question and one answers array per form step, in order, holding the selected option values, or the user's own text only where that step's allowCustom is true; an empty array skips a step. Never infer an answer. Approving or answering resumes the agent, which can then overwrite or delete content, publish, or write to an external service. Returns the updated session status; an interaction that is no longer pending returns an error and nothing is delivered, so call get_agent_session again. For multi-step Replo work, call skills with name "replo".

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": {
      "sessionId": "<sessionId>",
      "interactionId": "<interactionId>",
      "type": "<type>"
    },
    "name": "resolve_agent_interaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesThe interaction's type from pendingInteractions.
answersNoFor a question: one array per form step, in order.
decisionNoFor a permission: the user's selected option value from its response contract.
sessionIdYes
interactionIdYesThe id copied from get_agent_session.pendingInteractions after the user answers using that interaction's response contract.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / sessionId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructive and open-world, but the description adds the consequence chain the agent needs: approving or answering resumes the agent, which can overwrite or delete content, publish, or write to an external service. It also states the failure mode (error, nothing delivered) and the return value (updated session status).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, then ordered by interaction type, then side effects, then failure recovery. Dense but nearly waste-free; the answers clause packs several conditions into one long sentence, which costs a little readability.

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?

With no output schema, the description still covers the return value and the error case, plus the irreversible side effects of a destructive, non-idempotent mutation. Nothing an agent needs to invoke this safely is missing.

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

Parameters5/5

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

Schema coverage is 80%, but the description supplies the semantics the schema cannot: one answers array per form step in order, holding selected option values, custom text permitted only where that step's allowCustom is true, and an empty array skipping a step. It also ties decision to the permission's response options.

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: 'Resolve one pending Replo agent interaction with the user's explicit answer.' The scope ('one pending') and the input requirement ('user's explicit answer') distinguish it from get_agent_session, which merely reads state.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly branches usage by interaction type (permission vs question) with the required payload for each, tells the caller never to infer an answer, and gives a recovery path ('call get_agent_session again') when the interaction is no longer pending. It also routes multi-step Replo work to skills.

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.

Resources