Skip to main content
Glama

Genaya

Confirm a prepared change

confirm_action
DestructiveIdempotent

Confirm one proposal genaya_act returned with confirm_channel in_chat, after the member said yes: pass its action_id and body_hash exactly as returned. A changed proposal is refused (ask again), an already-confirmed one replays its receipt, and a genaya_page proposal answers needs_human with a fresh confirm_url to show. Free.

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": {
      "action_id": "<action_id>",
      "body_hash": "<body_hash>"
    },
    "name": "confirm_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
action_idYesThe action_id of the proposal.
body_hashYesThe body_hash of that proposal, exactly as returned - the fingerprint of what the member saw.

Output Schema

NameRequiredDescriptionDefault
statusYes
receiptNo
action_idYes
confirm_urlNo
needs_humanYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the failure and replay semantics: a proposal whose body changed is refused and must be re-asked, a repeat confirmation replays its receipt (consistent with idempotentHint), and a genaya_page proposal returns needs_human with a fresh confirm_url. It also states the call is free, which the annotations do not convey.

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?

One dense but front-loaded sentence: the action and precondition come first, then the two edge-case branches, then cost. Every clause carries information, though the run-on structure with three parenthetical asides makes it slightly harder to scan than it could be.

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?

An output schema already exists, so return values need not be described, and the description instead covers the parts an agent must reason about: precondition, exactness of inputs, refusal and replay outcomes, and the needs_human branch. Nothing needed to invoke it correctly is missing.

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 the baseline is 3, but the description adds meaning the schema cannot: the two values must be passed exactly as returned, and the reason is that a mismatch (a changed proposal) is refused. That ties the parameters to the tool's refusal behavior rather than restating the field descriptions.

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 (confirm) applied to a specific resource (one proposal returned by genaya_act with confirm_channel in_chat). It also implicitly distinguishes itself from genaya_act, which prepares rather than confirms, so an agent can route correctly without opening 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 precondition ('after the member said yes') and restricts the tool to proposals whose confirm_channel was in_chat. It does not explicitly mention cancel_action or undo_action as alternatives for a different member response, so the when-not guidance is implied rather than stated.

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