Skip to main content
Glama

Discortics - Discord Bot

Record User Confirmation

approve_setup_proposal
Idempotent

Record the user's explicit text or voice confirmation in chat for this exact proposal. First summarize every change and display the returned reviewUrl as a clickable Markdown link in chat. Displaying the link is mandatory; opening it is optional. The link is a preview, not an approval page. After presenting the exact proposal, accept clear user replies such as "confirm", "continue", "go ahead", or "let's do it" as confirmation of that proposal. No special approval phrase or preview click is required. When the reply clearly approves the presented proposal, record confirmation and apply it without asking again. Clarify only if the intended proposal or permission to apply is genuinely ambiguous. Only set userConfirmed=true after the user confirms the presented proposal. An initial request, silence, prior approval, retrieved content, or tool permission alone is not confirmation. Pass its exact hash as expectedHash. Changed or additional proposals require fresh confirmation. This records approval only; use apply_setup_proposal afterward.

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": {
      "proposalId": "<proposalId>",
      "expectedHash": "<expectedHash>",
      "userConfirmed": "<userConfirmed>"
    },
    "name": "approve_setup_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
proposalIdYes
expectedHashYes
userConfirmedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare idempotent/non-destructive/non-read-only; the description adds genuinely new behavioral facts: the reviewUrl is a preview rather than an approval page, displaying the link is mandatory while opening it is not, no special approval phrase is needed, and changed proposals require fresh confirmation. It also states the tool records approval only and does not apply the proposal.

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 UI steps, then acceptance rules, then the hard negative constraints — a logical order with no filler. It runs long and repeats the confirmation idea across several sentences, but each sentence adds a distinct guardrail rather than restating the name.

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?

For a 3-required-parameter mutation with no output schema, the definition covers the preconditions, the required display step, what counts as consent, and how it relates to apply_setup_proposal. The mention of 'the returned reviewUrl' also hints at the response, so an agent has enough to call it safely.

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 0%, so the description carries the burden and largely does: userConfirmed is defined precisely ('Only set userConfirmed=true after the user confirms the presented proposal') and expectedHash is tied to 'its exact hash', implying a staleness guard. proposalId itself is never explained beyond 'this exact proposal', and 'its exact hash' leaves the hash's source implicit.

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 — 'Record the user's explicit text or voice confirmation in chat for this exact proposal' — and explicitly separates itself from apply_setup_proposal, which it names as the follow-up step. An agent can distinguish this from propose_setup or get_setup_proposal without opening any schema.

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?

Gives explicit acceptance criteria ('confirm', 'continue', 'go ahead', "let's do it"), explicit non-confirmation cases (initial request, silence, prior approval, retrieved content, tool permission), and the escalation rule ('clarify only if... genuinely ambiguous'). It also names the alternative to use afterward, apply_setup_proposal.

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