Skip to main content
Glama

Resolve Verified Capability

resolve_capability
Read-only

Prepare paid execution of one exact replay-verified capability. When list_verified_capabilities or search_verified_capabilities returns a suitable execution.next_action, call this tool with those exact arguments. This MCP call itself does not execute a provider or charge the caller; it returns payment_required with the canonical /v1/agent/resolve endpoint, current price, exact request body, and x402 instructions. The later HTTP x402 flow performs execution and settlement: preserve the exact request body and exact PAYMENT-SIGNATURE for recovery, and do not create a second authorization for a payment already associated with a known transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesJSON input object for that capability. Prefer the exact execution.next_action.arguments.input returned by discovery, and reuse this exact object in the subsequent x402 HTTP request.
capabilityYesExact verified capability identifier returned by list_verified_capabilities or search_verified_capabilities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"JSON input object for that capability. Start from the advertised example_input when available, and reuse this exact object in the subsequent x402 HTTP request."New value: +"JSON input object for that capability. Prefer the exact execution.next_action.arguments.input returned by discovery, and reuse this exact object in the subsequent x402 HTTP request."
  2. Changed3 schema fields changed
    • addedInput schema / properties / capability / description
      Added value: +"Exact verified capability identifier returned by list_verified_capabilities or search_verified_capabilities."
    • addedInput schema / properties / capability / minLength
      Added value: +1
    • addedInput schema / properties / input / description
      Added value: +"JSON input object for that capability. Start from the advertised example_input when available, and reuse this exact object in the subsequent x402 HTTP request."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With readOnlyHint=true already set, the description still adds substantial behavior: no provider execution, no charge, a payment_required response carrying the canonical endpoint, price, exact request body and x402 instructions. It also warns to preserve the exact body and PAYMENT-SIGNATURE for recovery, which is real operational guidance beyond the annotations.

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 purpose, then trigger, then behavior, then a caution — a logical order with no filler. It is dense (four packed clauses) but each sentence carries distinct information, so only mild density cost.

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 two-phase tool with no output schema, the description explains the return payload and the downstream HTTP x402 handoff, including what must be preserved for recovery. An agent has everything needed to call it and interpret the result.

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 the schema descriptions already state the provenance rules for both capability and input (exact identifier, reuse the exact object in the later x402 request). The description's 'call this tool with those exact arguments' largely restates that, so it stays at the baseline rather than adding new semantic detail.

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?

Starts with a specific verb+resource+scope: 'Prepare paid execution of one exact replay-verified capability.' It also names the sibling tools that feed it and clarifies that this call does not itself execute or charge, which cleanly separates it from list_verified_capabilities/search_verified_capabilities.

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 an explicit trigger ('When list_verified_capabilities or search_verified_capabilities returns a suitable execution.next_action, call this tool with those exact arguments') and an explicit exclusion ('do not create a second authorization for a payment already associated with a known transaction'). Alternatives and preconditions are all 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.