Skip to main content
Glama

sourcing_analysis

Compare total landed cost, lead time, and risk across sourcing origins to identify the optimal manufacturing location and dual-source mix for de-risking supply chains.

Instructions

The strategic CHINA+1 / NEARSHORING decision, quantified. Give the SAME product (or HS code) + a destination market + the China-equivalent FOB cost, and it compares making it in China vs Vietnam / India / Mexico / Turkey (and Thailand / Indonesia / Malaysia) on the three axes that actually decide it: TOTAL LANDED COST per origin — manufactured cost (relative labour/productivity index) + the real freight from each origin's export gateway + the real DUTY, so Section 301 penalises China→US, USMCA makes Mexico→US duty-free, and EVFTA makes Vietnam→EU duty-free (all through the genuine duty tables, not a fudge); LEAD TIME — the real ocean transit plus each origin's structural adder (Mexico/Turkey nearshore shortens the chain dramatically); and RISK — a geopolitical/concentration score, with a penalty that marks DOWN a China-only answer for single-country dependence (the whole point of China+1). It ranks the origins on a weightable blend (cost / lead-time / risk priority), names the recommended origin, and proposes a de-risking dual-source MIX. The highest-value strategic question in global sourcing right now. Honest (regla 7): cost indices, risk scores and lead adders are MODELED, product-specific and directional — frame the trade-off, then get factory quotes + a rules-of-origin check. PREMIUM: pay per call with x402 (USDC on Base) or a prepaid key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYesProduct to source, e.g. 'cotton t-shirts', 'lithium batteries'. Provide this OR hs_code.
hs_codeNoExplicit HS code. Provide this OR product.
dest_portYesDestination market port (its country drives the duty/FTA treatment). REQUIRED.
fob_valueYesThe China-equivalent manufactured (FOB) cost in USD — other origins are scaled by their cost index. REQUIRED.
container_typeNoContainer '20ft'/'40ft'/'40HC'. Optional; default '40ft'.
candidatesNoCandidate origin countries (ISO2 or name): CN, VN, IN, MX, TR, TH, ID, MY. Optional; default = CN, VN, IN, MX, TR.
priorityNoWeighting: 'cost', 'lead-time'/'speed', 'risk'/'resilience', or 'balanced' (default).
Behavior5/5

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

With no annotations provided, the description fully discloses the tool's behavior: it compares origins on total landed cost, lead time, and risk using modeled indices. It also explicitly states the limitations: 'cost indices, risk scores and lead adders are MODELED, product-specific and directional'. No contradictions with annotations exist.

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 front-loaded with the core purpose and inputs but is quite lengthy. Every sentence adds value, covering inputs, process, outputs, and caveats. However, slightly trimming redundant phrases could improve conciseness without losing clarity.

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

Completeness5/5

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

Given the complexity of the tool (7 parameters, no output schema), the description is comprehensive. It covers required inputs, optional parameters, processing logic, and outputs (recommended origin and dual-source mix). It also notes limitations and pricing, fully preparing the agent for invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description adds significant meaning beyond the schema. For example, it explains that the 'fob_value' serves as a baseline for scaling other origins' costs, and that 'dest_port' determines duty/FTA treatment. This context enhances understanding of how parameters interact.

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 explicitly states the tool's purpose as quantifying the strategic CHINA+1/NEARSHORING decision. It uses specific verbs like 'compares' and 'names the recommended origin', clearly distinguishing it from sibling tools like 'get_landed_cost' which likely provide only cost data.

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

Usage Guidelines5/5

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

The description clearly tells the user when to use the tool: 'Give the SAME product (or HS code) + a destination market + the China-equivalent FOB cost'. It also advises that the results are modeled and directional, recommending follow-up with factory quotes and rules-of-origin checks, which is explicit usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Baneado98/freight-pulse'

If you have feedback or need assistance with the MCP directory API, please join our Discord server