Skip to main content
Glama

Confirm a credit-using action

confirm_action
Destructive

Runs an action that is waiting for confirmation (it uses a credit, or publishes). It needs the credits (or publish) permission on this connection; without it the owner confirms the action in Keylight.

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": {
      "listingId": "<listingId>",
      "confirmationId": "<confirmationId>"
    },
    "name": "confirm_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingIdYesListing id from list_listings.
confirmationIdYesThe confirmationId of the waiting action to run.

Output Schema

NameRequiredDescriptionDefault
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / confirmationId / description
      Added value: +"The confirmationId of the waiting action to run."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new information: the action consumes a credit or publishes externally, and authorization may fail, in which case an owner must act in Keylight. It stops short of saying the run cannot be undone or what error surface appears on failure.

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?

Two compact sentences with the effect and the cost front-loaded ahead of the permission caveat. The parenthetical '(it uses a credit, or publishes)' is slightly compressed but costs little; nothing is redundant.

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?

An output schema exists, so return values need no explanation, and annotations carry the destructive/non-idempotent profile. What remains is a clear statement of the cost and the authorization path, which is present; only the irreversibility of confirming and any failure modes are unstated.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already explains both listingId (from list_listings) and confirmationId. The description adds no format, sourcing, or validation detail beyond that, so the baseline of 3 applies.

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 verb and resource ('Runs an action that is waiting for confirmation') and scopes it with the two concrete cases in which such an action exists (credit use or publishing). It implicitly separates itself from the sibling get_confirmation, which lists waiting actions rather than running them, though it never names that sibling.

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

Usage Guidelines3/5

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

Gives a real precondition - the caller needs the credits (or publish) permission on this connection - and a fallback: without it the owner confirms in Keylight. However, it never tells the agent to obtain the confirmationId via get_confirmation first, nor when to prefer a non-credit path; the sequencing is left to be inferred from the schema.

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