Skip to main content
Glama

Plan Studio

resolve_suggestion

Idempotent

Accept or reject a suggestion. Use it once a person has decided: accepting appends the proposal to the plan as a new revision. Returns the suggestion's status, or 409 when the plan has moved past the expect_revision of an acceptance.

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": {
      "id": "<id>",
      "suggestion_id": "<suggestion_id>",
      "accept": "<accept>",
      "actor": "<actor>",
      "expect_revision": "<expect_revision>"
    },
    "name": "resolve_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe room id, from get_rooms
actorYesthe display name of whoever decides
acceptYestrue to append the proposal, false to decline it
suggestion_idYesthe suggestion id, from get_suggestions or request_suggestion
expect_revisionYesthe plan revision the decision is based on, from get_suggestions

Output Schema

NameRequiredDescriptionDefault
idYesThe room id.
statusYesA suggestion's lifecycle.
task_idYesThe task that produced it.
suggestion_idYesThe suggestion id.
applied_revisionNoThe revision accepting it produced, when accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, openWorld=false and idempotent=true, but the description adds the mutation's consequence (proposal appended as a new revision) and the concurrency failure mode (409 when the plan has moved past the supplied expect_revision). That conflict/error disclosure is real value beyond structured fields and is consistent with idempotentHint, since a repeat with a stale revision is rejected rather than duplicated.

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 short sentences, zero waste: purpose first, then the decision precondition, then side effect and error condition. Every clause carries information an agent needs.

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 five-parameter mutation with full schema coverage, annotations, and an output schema, this covers effect, precondition, and the main failure mode. Minor remaining gaps (authorization expectations attached to actor, exact return payload) are small since the output schema documents the return.

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%, so a 3 is the floor, and the description earns an extra point by explaining what accept actually does (append vs decline) and what expect_revision protects against (409 on a stale revision). It adds causal meaning rather than restating field names.

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 pair (accept or reject) on a specific resource (a suggestion) and immediately describes the concrete effect: accepting appends the proposal to the plan as a new revision. That effect detail makes it distinguishable from resolve_comment and get_suggestions without opening either 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 an explicit timing condition — 'Use it once a person has decided' — which tells the agent not to call this before a human decision exists. It does not name an alternative tool or an explicit when-not branch, so it falls short of a 5.

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