Skip to main content
Glama
nohosa001-pixel

EUDR Compliance & TRACES-NT Agent

eudr_inspect_payload_security

Scan EUDR compliance payloads for prompt injections, malicious code execution, and fabricated crop-yield claims before TRACES-NT submission.

Instructions

Zero-trust inspection shield derived from security-gate-x402 (The Sheriff of Agent Finance): detects prompt injections, malicious AST code executions (eval/exec/subprocess), and NLI agronomic crop yield fabrications.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoInbound text or system instructions to scan for jailbreak / prompt injection attacks.
hs_codeNo6-digit Harmonized System tariff code.
commodityNoTarget commodity name (e.g. 'coffee', 'cocoa', 'wood', 'oil_palm').
total_area_haNoTotal cultivation area in hectares across production plots.
declared_net_mass_kgNoDeclared total harvest/trade net mass in kilograms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it only lists detection categories. It does not disclose what happens on a positive detection (block, flag, score), whether the call is read-only or mutating, what the return shape is, or any latency/rate-limit characteristics. The threat taxonomy is closer to purpose than to behavior, so this is a meaningful gap for a security gate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core content is front-loaded into a single sentence, which is efficient, but the branding clause ('The Sheriff of Agent Finance') and origin note ('derived from security-gate-x402') do not earn their place in a tool definition. Removing them would sharpen the routing signal without losing meaning.

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?

The tool is a hybrid: one param targets text injection scanning while four target agronomic/HS-code payloads, and the description only loosely gestures at this with 'NLI agronomic crop yield fabrications'. With no output schema and no explanation of the verdict returned or how the disparate params combine into a single scan, an agent cannot confidently predict behavior.

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 five parameters (text, hs_code, commodity, total_area_ha, declared_net_mass_kg) are already documented in the schema. The description adds no parameter-level detail beyond that baseline, so a 3 is the correct floor.

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 names a specific verb+resource (payload security inspection) and enumerates the threat classes it detects: prompt injection, malicious AST execution (eval/exec/subprocess), and fabricated agronomic yield claims. This clearly differentiates it from the compliance/settlement siblings. It loses a point for the marketing framing ('The Sheriff of Agent Finance', 'derived from security-gate-x402') which clutters rather than clarifies purpose.

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 when-to-use guidance, no statement of when NOT to use it, and no naming of an alternative among the ~39 sibling tools. The 'zero-trust inspection shield' framing implies it should run before processing inbound text, but this is left to inference rather than stated.

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