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

Critical Raw Minerals & ESG Compliance Oracle(x402)

reject_a2a_trade_deal

Destructive

Rejects an existing A2A trade proposal with structured reasoning and optional cryptographic signature, returning a JSON verdict, audit metadata, and cryptographic reference for buyer agents.

Instructions

Buyer AI agent rejects an existing trade proposal with structured reasoning and optional cryptographic signature. 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>",
      "buyer_agent_address": "<buyer_agent_address>"
    },
    "name": "reject_a2a_trade_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYesTrade deal identifier to reject
buyer_signatureNoOptional cryptographic signature
rejection_reasonNoReason for rejection
buyer_agent_addressYesBuyer agent EVM address executing rejection

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

A3.5/5.0
Behavior4/5

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

The annotations already declare the destructive, non-idempotent, open-world write profile, and the description adds genuinely new context: the payment model (x402 USDC on four chains or a Pre-Funded Agent Vault key, after one free One-Shot Proof) and the return contents (JSON verdict, audit metadata, cryptographic reference). It does not state the resulting deal state or whether a rejected deal can be re-proposed, which is the main remaining gap.

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?

Three dense sentences with no filler: the action comes first, followed by return shape and then payment requirements. The final sentence is long but every clause carries information an agent needs.

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 usefully characterizes the response and covers the payment/auth prerequisite, which is the hardest part of invoking this tool correctly. The missing piece is the effect on the deal's lifecycle and its relation to the cancel sibling, but overall it is complete enough for a destructive four-parameter 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?

Schema description coverage is 100%, so all four parameters are already documented in the schema. The description adds only light reinforcement by mentioning structured reasoning and the optional signature, without clarifying format, length, or when a signature is required — baseline 3 is appropriate.

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 — a buyer agent rejecting an existing trade proposal — and names the structured reasoning and optional signature as part of the action. It is clear on its own, but it does not distinguish itself from the closely named sibling cancel_a2a_trade_deal, leaving the reject-vs-cancel distinction unresolved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to reject rather than cancel a deal, nor any prerequisites or exclusions. The only usage signal is the implicit framing that a deal must already exist, which an agent must infer from the phrase 'existing trade proposal'.

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