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

Critical Raw Minerals & ESG Compliance Oracle(x402)

get_a2a_trade_deal

Read-onlyIdempotent

Retrieve complete A2A trade agreement specifications, audit notes, and status to get a structured JSON verdict, audit metadata, and cryptographic reference.

Instructions

Retrieves the full specification, audit notes, and current status of an A2A trade agreement. Returns structured JSON verdict, audit metadata, and cryptographic reference. Free endpoint (no x402 payment required).

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": "get_a2a_trade_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYesTrade deal identifier

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.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely new context beyond that: the call is free and requires no x402 payment, and it returns a structured JSON verdict plus audit metadata and a cryptographic reference. It stops short of describing failure modes or whether payment gating applies to related calls.

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 short sentences, front-loaded with the core action and payload, followed by return shape and then the payment note. No filler, no repetition of the title, and each sentence contributes distinct information.

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 compensates by naming the returned fields (verdict, audit metadata, cryptographic reference), and the payment note resolves a real ambiguity for this API family. It is nearly complete for a single-parameter read tool; only error or not-found behavior is left unstated.

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% and there is only one parameter, so the schema already explains deal_id as a trade deal identifier. The description does not add format, provenance, or validation detail beyond that. Baseline 3 applies when the schema carries the parameter burden.

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 gives a specific verb and resource ('Retrieves the full specification, audit notes, and current status of an A2A trade agreement') and enumerates the returned artifacts, so the agent knows exactly what this call yields. It does not explicitly contrast itself with siblings like list_a2a_trade_deals or verify_a2a_trade_deal, so the reader must infer that this is the single-deal read path.

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?

Usage is implied rather than stated: an agent can infer this is the way to fetch one existing deal given a deal_id. There is no explicit when-to-use versus when-not, and no mention of the obvious alternative (list_a2a_trade_deals) or of what happens if the deal does not exist. The 'free endpoint' note is the only decision-relevant hint.

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