Skip to main content
Glama
nohosa001-pixel

EUDR Compliance & TRACES-NT Agent

eudr_create_milestone_escrow

Create a 3-stage EUDR milestone escrow that releases funds after satellite, DDS, and customs Green Lane checks, with optional first-mile payouts to co-ops and mills.

Instructions

Creates a 3-Stage Milestone Conditional Escrow agreement with optional First-Mile split payouts to smallholder cooperatives and mills (Stage 1: Satellite 30%, Stage 2: DDS 40%, Stage 3: Customs Green Lane 30%).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoBlockchain network for settlement.Base (Low Gas $0.01)
hs_codeYesRegulated commodity HS code (e.g. '18010000', '44071100').
amount_usdcYesEscrow lock amount in USDC.
buyer_walletYesBuyer EVM / Solana wallet address for refunds.
seller_walletYesSeller EVM / Solana wallet address for payout.
buyer_agent_idYesCalling buyer agent ID / system name.
seller_agent_idYesTarget seller agent ID / supplier identifier.
split_recipientsNoFirst-mile multi-party split distribution (e.g. Smallholder Co-op 75%, Mill 25%).
milestone_weightsNoWeight percentages for milestones 1, 2, 3 (default: [30, 40, 30]).
declared_net_mass_kgNoDeclared shipment net weight in kg.
commodity_descriptionYesDescription of the trade shipment batch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It discloses the milestone stages and optional split structure but says nothing about irreversibility, required wallet approvals, funding dependencies, permissions, or the relationship to release/fund escrow tools, all critical for a financial escrow creation operation.

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?

The description is a single sentence with the verb and resource front-loaded, and the parenthetical stage breakdown is dense but relevant. It is efficient, though the stage percentages partially duplicate the milestone_weights default already in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 11-parameter financial escrow mutation with no annotations and no output schema, the description is incomplete. It does not explain prerequisites, post-creation lifecycle, funding steps, or how the agent should proceed after creation, leaving significant gaps for correct invocation.

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 the schema already documents all 11 parameters, establishing a baseline of 3. The description adds a mapping between stages and the default milestone weights (30/40/30), but does not add substantial semantics beyond what the schema provides for split_recipients, chain, or wallet fields.

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?

States a specific verb ('Creates') and a specific resource ('3-Stage Milestone Conditional Escrow agreement'), and adds detail about optional first-mile split payouts and stage weights. However, it does not distinguish this tool from siblings such as eudr_create_agent_escrow or eudr_create_payment_order, so an agent must infer the difference from the name alone.

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?

The description explains what the tool creates but gives no explicit guidance on when to choose it over alternatives, no prerequisites, and no exclusions. With many escrow-related siblings, this omission leaves routing to inference.

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