Skip to main content
Glama
Critical Raw Minerals & ESG Compliance Oracle(x402)

Critical Raw Minerals & ESG Compliance Oracle(x402)

verify_a2a_trade_deal

Read-onlyIdempotent

Cryptographically audit a dual-signed A2A trade deal by verifying seller, buyer, and oracle signatures plus FEOC and mass-balance compliance, returning a structured JSON verdict.

Instructions

Cryptographically audits a dual-signed A2A trade deal, verifying seller, buyer, and oracle signatures, along with FEOC and mass-balance compliance. Returns structured JSON verdict, audit metadata, and cryptographic reference. Requires x402 USDC payment (Polygon/Base/Arbitrum/Solana) or Pre-Funded Agent Vault key after 1 free One-Shot Proof.

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": {
      "deal_id": "<deal_id>"
    },
    "name": "verify_a2a_trade_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYesTrade deal identifier to audit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.11
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv1.0.6

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, open-world), the description discloses the paid-access model with specific settlement chains and the free-trial allowance — a major operational trait an agent must know before calling. It also states what the call produces: a structured JSON verdict, audit metadata, and a cryptographic reference.

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?

Three sentences, each doing distinct work: what is verified, what is returned, and what it costs to invoke. The core action is front-loaded and no sentence is redundant.

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 no output schema, the description compensates by naming the return payload components (JSON verdict, audit metadata, cryptographic reference), and it covers the payment gate. It leaves the shape of the verdict and any failure or compliance-negative outcomes unspecified, a minor gap for an audit tool.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains deal_id as the trade deal identifier to audit. The description adds no extra syntax, format, or sourcing guidance for that parameter, making the baseline 3 appropriate.

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?

States a specific verb and resource: "Cryptographically audits a dual-signed A2A trade deal," then enumerates exactly what is checked (seller, buyer, oracle signatures, FEOC and mass-balance compliance). This is clearly distinguishable from siblings such as get_a2a_trade_deal (a read) or dual_sign_trade_deal (a write), since this tool explicitly performs an audit.

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 description implies the prerequisite state (the deal must already be dual-signed) and states the access condition (payment via x402 USDC or a Pre-Funded Agent Vault key, with 1 free One-Shot Proof). It does not explicitly name an alternative tool or a when-not condition, so it stops short of full routing guidance.

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