Skip to main content
Glama

Agent Decision & Evidence Tools (MCP + x402)

Prepare US Import Readiness Guard (free)

prepare_us_import_readiness
Read-onlyIdempotent

FREE local completeness and safety check for ordinary goods dispatched from DE/AT to the US. Requires product, material, intended-use, origin, value and explicit regulated-attribute answers. No product URL is accepted or fetched. Returns an opaque job ID and recovery secret for the paid guard.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gtinNoOptional GTIN/UPC/EAN
brandNo
modelNo
hts_codeNoOptional buyer-declared 6, 8 or 10 digit HTS code
quantityYes
importer_useYes
intended_useYes
product_nameYes
risk_answersYes
dispatch_countryYes
country_of_originYesValid ISO-3166 manufacturing origin, not dispatch country
customs_value_usdYes
destination_countryNoUS
product_descriptionYes
material_or_compositionYes
merchant_forwarding_policyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobNo
toolNo
errorNo
priceNoNo payment is required for this tool.
issuesNo
chargedNoWhen present on an error, false means the failed result is uncharged.
messageNo
missingNo
privacyNo
settledNoWhen present on an error, false means no settlement occurred.
unknownNo
acceptedNo
contractNo
coverageNo
purchaseNo
retryableNo
chargeableNo
error_codeNo
status_codeNo
did_you_meanNo
missing_checksNo
partial_evidenceNo
input_fingerprintNo
eligible_for_paid_dossierNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed45 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "_USImportRiskAnswers": {
      -    "additionalProperties": false,
      -    "description": "Same nested, strict shape used by the public HTTP contract.",
      -    "properties": {
      -      "alcohol_or_tobacco": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Alcohol Or Tobacco",
      -        "type": "string"
      -      },
      -      "battery": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Battery",
      -        "type": "string"
      -      },
      -      "chemical_or_hazmat": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Chemical Or Hazmat",
      -        "type": "string"
      -      },
      -      "childrens_product": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Childrens Product",
      -        "type": "string"
      -      },
      -      "cosmetic": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Cosmetic",
      -        "type": "string"
      -      },
      -      "counterfeit_or_unlicensed_replica": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Counterfeit Or Unlicensed Replica",
      -        "type": "string"
      -      },
      -      "drug_or_medical_device": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Drug Or Medical Device",
      -        "type": "string"
      -      },
      -      "food_or_supplement": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Food Or Supplement",
      -        "type": "string"
      -      },
      -      "plant_seed_or_animal_product": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Plant Seed Or Animal Product",
      -        "type": "string"
      -      },
      -      "radio_transmitter": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Radio Transmitter",
      -        "type": "string"
      -      },
      -      "weapon_or_weapon_part": {
      -        "enum": [
      -          "yes",
      -          "no",
      -          "unknown"
      -        ],
      -        "title": "Weapon Or Weapon Part",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "battery",
      -      "food_or_supplement",
      -      "drug_or_medical_device",
      -      "cosmetic",
      -      "plant_seed_or_animal_product",
      -      "chemical_or_hazmat",
      -      "alcohol_or_tobacco",
      -      "weapon_or_weapon_part",
      -      "counterfeit_or_unlicensed_replica",
      -      "radio_transmitter",
      -      "childrens_product"
      -    ],
      -    "title": "_USImportRiskAnswers",
      -    "type": "object"
      -  }
      -}
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / brand / maxLength
      Added value: +120
    • removedInput schema / properties / brand / title
      Removed value: -"Brand"
    • addedInput schema / properties / country_of_origin / description
      Added value: +"Valid ISO-3166 manufacturing origin, not dispatch country"
    • addedInput schema / properties / country_of_origin / pattern
      Added value: +"^[A-Z]{2}$"
    • removedInput schema / properties / country_of_origin / title
      Removed value: -"Country Of Origin"
    • addedInput schema / properties / customs_value_usd / pattern
      Added value: +"^[0-9]+(?:\\.[0-9]{1,2})?$"
    • removedInput schema / properties / customs_value_usd / title
      Removed value: -"Customs Value Usd"
    • addedInput schema / properties / destination_country / const
      Added value: +"US"
    • removedInput schema / properties / destination_country / title
      Removed value: -"Destination Country"
    • addedInput schema / properties / dispatch_country / enum
      Added value: +[
      +  "DE",
      +  "AT"
      +]
    • removedInput schema / properties / dispatch_country / title
      Removed value: -"Dispatch Country"
    • addedInput schema / properties / gtin / description
      Added value: +"Optional GTIN/UPC/EAN"
    • removedInput schema / properties / gtin / title
      Removed value: -"Gtin"
    • addedInput schema / properties / hts_code / description
      Added value: +"Optional buyer-declared 6, 8 or 10 digit HTS code"
    • removedInput schema / properties / hts_code / title
      Removed value: -"Hts Code"
    • addedInput schema / properties / importer_use / enum
      Added value: +[
      +  "personal",
      +  "commercial_resale",
      +  "business_use",
      +  "gift",
      +  "sample"
      +]
    • removedInput schema / properties / importer_use / title
      Removed value: -"Importer Use"
    • addedInput schema / properties / intended_use / maxLength
      Added value: +500
    • addedInput schema / properties / intended_use / minLength
      Added value: +3
    • removedInput schema / properties / intended_use / title
      Removed value: -"Intended Use"
    • addedInput schema / properties / material_or_composition / maxLength
      Added value: +1000
    • addedInput schema / properties / material_or_composition / minLength
      Added value: +3
    • removedInput schema / properties / material_or_composition / title
      Removed value: -"Material Or Composition"
    • addedInput schema / properties / merchant_forwarding_policy / enum
      Added value: +[
      +  "allowed",
      +  "prohibited",
      +  "unknown"
      +]
    • removedInput schema / properties / merchant_forwarding_policy / title
      Removed value: -"Merchant Forwarding Policy"
    • addedInput schema / properties / model / maxLength
      Added value: +120
    • removedInput schema / properties / model / title
      Removed value: -"Model"
    • addedInput schema / properties / product_description / maxLength
      Added value: +2000
    • addedInput schema / properties / product_description / minLength
      Added value: +20
    • removedInput schema / properties / product_description / title
      Removed value: -"Product Description"
    • addedInput schema / properties / product_name / maxLength
      Added value: +160
    • addedInput schema / properties / product_name / minLength
      Added value: +3
    • removedInput schema / properties / product_name / title
      Removed value: -"Product Name"
    • addedInput schema / properties / quantity / maximum
      Added value: +10000
    • addedInput schema / properties / quantity / minimum
      Added value: +1
    • removedInput schema / properties / quantity / title
      Removed value: -"Quantity"
    • removedInput schema / properties / risk_answers / $ref
      Removed value: -"#/$defs/_USImportRiskAnswers"
    • addedInput schema / properties / risk_answers / additionalProperties
      Added value: +false
    • addedInput schema / properties / risk_answers / properties
      Added value: +{
      +  "alcohol_or_tobacco": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "battery": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "chemical_or_hazmat": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "childrens_product": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "cosmetic": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "counterfeit_or_unlicensed_replica": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "drug_or_medical_device": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "food_or_supplement": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "plant_seed_or_animal_product": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "radio_transmitter": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  },
      +  "weapon_or_weapon_part": {
      +    "enum": [
      +      "yes",
      +      "no",
      +      "unknown"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / risk_answers / required
      Added value: +[
      +  "battery",
      +  "food_or_supplement",
      +  "drug_or_medical_device",
      +  "cosmetic",
      +  "plant_seed_or_animal_product",
      +  "chemical_or_hazmat",
      +  "alcohol_or_tobacco",
      +  "weapon_or_weapon_part",
      +  "counterfeit_or_unlicensed_replica",
      +  "radio_transmitter",
      +  "childrens_product"
      +]
    • addedInput schema / properties / risk_answers / type
      Added value: +"object"
    • removedInput schema / title
      Removed value: -"prepare_us_import_readiness_toolArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "contract",
      +        "chargeable",
      +        "eligible_for_paid_dossier",
      +        "input_fingerprint",
      +        "issues",
      +        "coverage",
      +        "purchase",
      +        "privacy",
      +        "price"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "description": "Structured result contract for prepare_us_import_readiness. A success satisfies the documented success branch. A domain or tool error includes error and is not a successful settlement; unpaid x402 requirements are carried by the transport wrapper.",
      +  "properties": {
      +    "accepted": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "chargeable": {
      +      "type": "boolean"
      +    },
      +    "charged": {
      +      "description": "When present on an error, false means the failed result is uncharged.",
      +      "type": "boolean"
      +    },
      +    "contract": {
      +      "type": "string"
      +    },
      +    "coverage": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "did_you_mean": {
      +      "additionalProperties": true,
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "eligible_for_paid_dossier": {
      +      "type": "boolean"
      +    },
      +    "error": {
      +      "oneOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "code": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "param": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "type": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "message"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "error_code": {
      +      "type": "string"
      +    },
      +    "input_fingerprint": {
      +      "type": "string"
      +    },
      +    "issues": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "job": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "missing": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "missing_checks": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "partial_evidence": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "price": {
      +      "const": "free",
      +      "description": "No payment is required for this tool.",
      +      "type": "string"
      +    },
      +    "privacy": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "purchase": {
      +      "additionalProperties": true,
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "retryable": {
      +      "type": "boolean"
      +    },
      +    "settled": {
      +      "description": "When present on an error, false means no settlement occurred.",
      +      "type": "boolean"
      +    },
      +    "status_code": {
      +      "type": "integer"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "unknown": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

With readOnlyHint, openWorldHint, idempotentHint, and destructiveHint already declared, the description adds useful behavior context: the check is local and free, does not fetch URLs, requires explicit regulated-attribute answers, and yields an opaque job ID plus recovery secret. No contradiction with annotations; it stops short of discussing rate limits or failure modes.

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?

The description is two tightly written sentences: the first front-loads the purpose and scope, the second lists requirements, a key exclusion, and the output. Every clause adds information without repeating schema or annotation content.

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?

For a complex 16-parameter tool, the description covers what it does, the geographic scope, the key input categories, the no-URL rule, and the output shape, which is sufficient given an output schema exists. It could be more explicit about the fact that the free check does not return a final compliance verdict and how the recovery secret is later used, but these are minor gaps.

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 only 19%, so the description has to compensate. It groups the required inputs into 'product, material, intended-use, origin, value and explicit regulated-attribute answers' and adds the no-URL constraint, which is helpful. It leaves many parameters (importer_use, merchant_forwarding_policy, quantity, dispatch country, etc.) to be inferred from enum names, so the guidance is adequate but not comprehensive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete action and resource: a 'FREE local completeness and safety check' for US import readiness from DE/AT. It differentiates itself from sibling tools by explicitly rejecting product URLs and by describing its output as the precursor to the paid guard, so an agent can distinguish it from read_url and us_import_readiness_guard.

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

Usage Guidelines4/5

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

It clearly scopes usage to ordinary goods dispatched from DE/AT to the US and states the tool will not accept or fetch a product URL, which functions as an exclusion. The mention of an output 'for the paid guard' implies it is the preparation step, but it does not explicitly name the sibling tools or state when to prefer recover_us_import_readiness.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.