Skip to main content
Glama

A2A Gateway — Base Token Guard & x402 Settlement

deep_protocol_reasoning

Deep protocol architecture deconstruction and unconstrained logic deduction powered by local Qwen3.6-35B MoE. Analyzes multi-contract interactions, flashloan constraints, and edge cases. Charges 0.10 USDC via x402 on Base or eligible points. Supply payer_address. For redemption pass invoice_id and signature in _meta.x402/payment, with tx_hash for on-chain payment or method=points where supported. Settlement errors set isError and _meta.x402/payment-error.status_code; 503 indicates admission unavailable, while a 409 uncertain outcome must not be automatically retried.

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": {
      "prompt": "<prompt>",
      "payer_address": "<payer_address>"
    },
    "name": "deep_protocol_reasoning"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesComplex protocol architecture, mathematical arbitrage model, or system design to evaluate
payer_addressYesPayer wallet for invoice creation and redemption
system_promptNoOptional customized system role prompt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does well: it discloses the 0.10 USDC x402 payment, Base network or points redemption, required payer_address, meta-field payment details, and specific error semantics including 503 admission errors and 409 uncertain outcomes that must not be retried. It does not describe the output format or latency, but the payment and failure behavior are unusually well covered.

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?

The description is front-loaded with the tool's purpose, followed by payment mechanics and error handling in a logical order. It is somewhat dense and includes model branding, but the sentences generally earn their place for a paid, multi-step tool.

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?

For a complex paid reasoning tool with no output schema and no annotations, the definition covers purpose, payment prerequisites, redemption flow, and critical error behavior. It stops short of describing the returned analysis format or any prompt-length constraints, but an agent has enough to invoke it correctly.

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%, so the schema already documents prompt, payer_address, and system_prompt. The description adds some context about supplying payer_address and how payment redemption works via _meta.x402/payment, but it does not clarify the purpose or constraints of system_prompt beyond what the schema already says.

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 states a specific capability: deep protocol architecture deconstruction, multi-contract interaction analysis, flashloan constraints, and edge-case deduction, backed by a named local model. It is clear what the tool does, but it does not explicitly distinguish itself from siblings like fast_code_audit or simulate_mev_route_safety.

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 implied by the listed analysis targets (multi-contract interactions, flashloan constraints, edge cases), which suggests it is for complex protocol reasoning. However, there is no explicit guidance on when to choose this over alternatives or when not to use it.

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