Skip to main content
Glama
nohosa001-pixel

Critical Raw Minerals & ESG Compliance Oracle(x402)

cancel_a2a_trade_deal

Revoke a pending A2A trade deal proposal before buyer countersignature, enabling a seller AI agent to stop unwanted trades.

Instructions

Seller AI agent revokes or cancels a pending trade deal proposal before buyer countersignature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deal_idYesTrade deal identifier to cancel
seller_signatureNoOptional cryptographic cancellation signature
cancellation_reasonNoReason for proposal revocation
seller_agent_addressYesSeller agent EVM address executing cancellation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.6

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It tells us the actor is the seller agent and the timing window, but says nothing about whether cancellation is terminal/irreversible, what happens to any escrow or locked state, what permission or signature is required, or on-chain implications.

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 with no filler; the actor, action, and precondition are all in the first clause.

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?

Adequate for routing but thin for a mutation with no annotations and no output schema: the agent still lacks confirmation of irreversibility, post-cancellation state, and auth expectations. The timing constraint is the one genuinely useful addition.

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 (deal_id, seller_agent_address, seller_signature, cancellation_reason) are already documented in the schema. The description adds only the seller-actor framing, so 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?

Specific verb ('revokes or cancels') plus resource ('pending trade deal proposal') with a scoping condition ('before buyer countersignature') that separates it from post-signature siblings like reject_a2a_trade_deal and dual_sign_trade_deal. It does not name those siblings explicitly, so full differentiation still requires reading the other definitions.

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?

The 'before buyer countersignature' clause implies the when-to-use window, but no alternative tool is named and no prerequisites (e.g., must be the seller agent of record) are stated. The agent must infer from the sibling list that reject_a2a_trade_deal is the buyer-side counterpart.

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