Skip to main content
Glama

GoAI Moat Cross-Border Cost & Profit

Calculate Landed Cost

calculate_landed_cost

计算单件落地成本(采购 + 头程 + 关税 + 杂费)。

落地成本 = 采购单价 + 单件头程运费 + 关税(按货值)+ 其他固定成本(贴标/质检/包装等)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unit_costYes单件采购单价(出厂价,USD)。
duty_rate_pctNo关税税率(%),按货值计;需以 HS 编码 + 进口国海关核定, 本工具不编造税率,默认 0(可先用 export-compliance 的 HS 工具归类)。
freight_methodNo头程方式 sea(海运)/air(空运)/express(快递),决定参考费率。sea
unit_weight_kgNo单件毛重(含包装,kg),用于按头程费率估算运费;若给了 freight_total_override 则忽略此项。
other_fixed_costNo单件其他固定成本(USD),默认 0。
freight_total_overrideNo直接指定单件头程运费(USD),优先于重量估算。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It usefully reveals that the tool does not invent duty rates and defaults to 0, which is an important honesty behavior. However, it does not disclose whether freight rates are live quotes or static reference estimates, and it says nothing about side effects or permissions.

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?

Two compact sentences with the core computation front-loaded and no filler. The formula sentence earns its place by explaining how the components combine, and nothing is repeated from structured data unnecessarily.

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 6-parameter calculator with a rich input schema and an output schema, the description is largely sufficient: it gives the formula and the key duty-rate behavior. It could be more complete by routing to sibling tools or stating freight-rate assumptions, but those are minor given the schema and output schema coverage.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by presenting the exact formula tying unit_cost, freight, duty, and other_fixed_cost together, and it clarifies overhead examples like labeling/QC/packaging. This is a real semantic improvement over the schema alone, though not a large one.

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 states a specific verb-resource pair ('计算单件落地成本') and gives the full formula, so an agent can tell this computes per-unit landed cost rather than profit or breakeven. However, it does not explicitly name or differentiate from sibling tools breakeven_price and estimate_profit, so it misses the strongest form of differentiation.

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?

The description gives clear calculation context and even advises using export-compliance's HS tool for duty classification because the tool defaults duty to 0 and does not fabricate rates. It does not state when to use this tool versus breakeven_price or estimate_profit, nor does it give any when-not-to-use guidance.

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.