Skip to main content
Glama
nohosa001-pixel

security-gate-x402

submit_agent_trade_intent

Submits an autonomous AI agent trade intent to the Universal Agent-Native Exchange Solver on Polygon. Solves market or limit orders for ETH/USDC, BTC/USDC, and SOL/USDC using sub-second Pyth Hermes oracle prices, executing atomically…

Instructions

Submits an autonomous AI agent trade intent to the Universal Agent-Native Exchange Solver on Polygon. Solves market or limit orders for ETH/USDC, BTC/USDC, and SOL/USDC using sub-second Pyth Hermes oracle prices, executing atomically against the AgentEscrow clearing house and AgentTreasuryVault DMM. Use this tool when an autonomous AI agent wants to execute hedging swaps or trade digital assets programmatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pairNoTrading pair, e.g. ETH/USDC, BTC/USDC, SOL/USDC, POL/USDC.ETH/USDC
directionYesBUY (Long) or SELL (Short).BUY
amount_usdcYesTrade size denominated in USDC (minimum 0.001).
intent_typeNoMARKET or LIMIT order execution type.MARKET
limit_priceNoOptional target price if intent_type is LIMIT.
agent_addressYesChecksummed EVM wallet address (0x...) of the autonomous AI agent.0x70997970C51812dc3A010C7d01b50e0d17dc79C8

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.8

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses the price source (sub-second Pyth Hermes oracle) and atomic execution against AgentEscrow and AgentTreasuryVault DMM, which is useful. However, it omits key traits for a financial mutation: required approvals/auth, gas and fees, slippage protection, order expiry, and irreversibility of a submitted trade.

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 sentences, purpose front-loaded, with the usage condition placed last. Some marketing-style naming ('Universal Agent-Native Exchange Solver', 'AgentTreasuryVault DMM') is heavier than needed but not obstructive.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, write-path financial tool with no annotations and no output schema, the description covers purpose and execution venue but leaves the agent without settlement semantics, resulting intent status, or failure modes. It is minimally sufficient, not complete.

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 baseline is 3. The description's pair enumeration and market/limit mention merely restate what the schema already documents, adding no syntax, format, or constraint detail beyond it (e.g. how limit_price interacts with the oracle price).

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?

Names a specific verb (submits) and resource (agent trade intent), plus the venue (Universal Agent-Native Exchange Solver on Polygon) and the instruments (ETH/USDC, BTC/USDC, SOL/USDC). The purpose is unambiguous, though it never explicitly contrasts itself with any sibling tool.

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?

The final sentence gives an explicit usage context: execute hedging swaps or trade digital assets programmatically. There are no exclusions or named alternatives, but none of the read-only sibling tools compete for the same job, so the guidance is adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.