Skip to main content
Glama

ForthSource Supplier Intel

calculate_landed_cost_and_margin

Read-onlyIdempotent

Calculate full import landed cost and DTC gross margin comparing Ocean, Air, and Express freight side by side using ForthSource's port-specific shipping calculator, customs duties, 3PL fulfillment & packaging, payment fees, break-even pricing, and 30/70 first-PO cash requirements.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "unit_cost_usd": "<unit_cost_usd>",
      "quantity": "<quantity>",
      "unit_weight_kg": "<unit_weight_kg>"
    },
    "name": "calculate_landed_cost_and_margin"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantityYesOrder quantity in units.
destinationNoDestination city and country (e.g. 'Amsterdam, NL', 'Los Angeles, US', 'London, GB').Los Angeles, US
origin_cityNoOrigin city/port (e.g. 'Shenzhen', 'Shanghai', 'Guangzhou', 'Ningbo', 'Qingdao').Shenzhen
product_queryNoOptional product keyword to infer default category duty rate.
unit_cost_usdYesEx-works / FOB factory unit cost in USD.
unit_weight_kgYesWeight per unit in kilograms (including retail packaging).
retail_price_usdNoOptional target DTC retail price in USD for margin calculation.
duty_rate_percentNoOptional customs duty rate % (defaults by product category or 6.0%).
payment_fee_percentNoPayment processing fee % on retail price (default 2.9%).
fulfillment_cost_per_order_usdNoOptional destination 3PL pick/pack + domestic parcel cost per order (default $5.50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that by enumerating what the computation includes (port-specific freight, duties, 3PL, payment fees, break-even, 30/70 first-PO cash), but it says nothing about rate freshness, assumptions, or currency/format of results.

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?

A single front-loaded sentence that leads with the verb and the deliverable before listing components. It is dense but not repetitive; the only mild padding is the brand reference to 'ForthSource's port-specific shipping calculator' and the unexplained '30/70 first-PO cash requirements' phrase.

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 ten-parameter calculation tool with no output schema, the description usefully pre-declares the cost components the result will contain, which is the main thing an agent needs to interpret the output. It still omits result shape and units (per-unit vs. per-order vs. total) and any accuracy caveats, so it is not fully complete.

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 ten parameters are already documented with defaults and ranges, setting the baseline at 3. The description does add one genuinely useful signal the schema cannot convey: there is no freight-mode parameter because all three modes are computed side by side. Otherwise it adds no per-parameter meaning.

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+resource: 'Calculate full import landed cost and DTC gross margin', with the added scope of comparing Ocean, Air and Express freight. An agent can tell this is a costing/simulation tool rather than a supplier-discovery or RFQ tool like the siblings, though it never names those siblings explicitly.

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 or when-not guidance, and no mention of alternatives such as compare_supplier_quotes. At best the phrase 'comparing Ocean, Air, and Express freight side by side' implies a quote-evaluation scenario, but the agent must infer that a prospective order is the trigger. A single clause like 'use after selecting candidate quotes' would fix this.

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.

Resources