Skip to main content
Glama
nohosa001-pixel

Critical Raw Minerals & ESG Compliance Oracle(x402)

get_trade_escrow_calldata

Generate deterministic EVM calldata so buyer AI agents can lock USDC in MineralTradeEscrow for a dual-signed trade deal across Polygon, Base, or Arbitrum.

Instructions

Generates deterministic EVM calldata and transaction parameters for the buyer AI agent to lock USDC funds into the on-chain MineralTradeEscrow (Polygon/Base/Arbitrum) for a dual-signed trade agreement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deal_idYesCanonical dual-signed trade deal identifier
chain_nameNoTarget settlement blockchainpolygon
escrow_contract_addressNoOptional custom MineralTradeEscrow contract address override

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.6

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 carries the full burden. 'Deterministic' is a genuine behavioral trait, and framing it as calldata generation (not execution) hints it is non-mutating, but the description never confirms whether it only produces a payload, whether it requires buyer-role auth, or anything about side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that leads with the verb and deliverable and packs role, asset, contract, chains, and precondition without waste.

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?

There is no output schema, but the description conceptually names the return (calldata plus transaction parameters), which covers the shape of the result. The remaining weakness is that behavioral/auth prerequisites are left unstated, though nothing critical to invocation 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 description coverage is 100%, so all three parameters (deal_id, chain_name, escrow_contract_address) are already documented by the schema. The mention of Polygon/Base/Arbitrum echoes the chain_name enum but adds no syntax or format detail beyond it, 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 states a specific verb and resource: 'Generates deterministic EVM calldata and transaction parameters' for locking USDC into a named contract (MineralTradeEscrow). It is clearly distinguishable from siblings like dual_sign_trade_deal or propose_a2a_trade_deal, though it never names an alternative to sharpen the distinction.

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?

It implies the calling context ('for the buyer AI agent') and a precondition ('for a dual-signed trade agreement'), which is useful. However, it states no explicit when-not, no ordering relative to dual_sign_trade_deal, and no alternative tools, so usage is only implied.

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