Skip to main content
Glama

Check a credit-using action

get_confirmation
Read-onlyIdempotent

The state of a request that needed confirmation: pending (waiting for a yes), running, done or failed, with what happened.

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": "get_confirmation"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingIdYesListing id from list_listings.
confirmationIdYesThe confirmationId a tool returned when it waited for a yes.

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 a tool returned when it waited for a yes."
  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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description still adds real information: the four possible states and the fact that the response carries 'what happened.' It does not say what pending looks like versus failed, or whether a failed request can be retried, which keeps it below a 5.

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?

A single front-loaded sentence with no filler, and the state enumeration is packed efficiently into a parenthetical. The opening phrase 'The state of a request that needed confirmation' is slightly indirect for what is essentially a status-check call, but nothing is wasted.

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?

With an output schema present, the description need not explain the return payload, and the annotations carry the safety profile. What remains thin is the workflow context — how the agent should obtain the confirmationId and what to do in each state — but nothing needed to invoke the tool correctly is missing.

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 coverage is 100% and both parameters are already documented with their provenance ('Listing id from list_listings', 'the confirmationId a tool returned when it waited for a yes'). The description adds no format, scoping, or pairing rules beyond what the schema states, so baseline 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?

The description names the resource (a request that needed confirmation) and enumerates the state space it reports: pending, running, done, failed. That is specific enough to distinguish it from a plain status tool, but it never contrasts itself with the obvious sibling confirm_action, which performs the approval rather than checking on it.

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?

Usage is only implied: 'a request that needed confirmation' plus the parenthetical 'waiting for a yes' hints at polling after a tool defers on a credit-using action. There is no explicit when-to-use statement, no guidance on polling cadence or terminal states, and no instruction to call confirm_action instead when the agent wants to approve rather than check.

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