Skip to main content
Glama

IncoDesk MCP Server

calculate_true_landed_cost

Compute unit & shipment true landed cost (EXW/FOB/CIF/DDP, freight, insurance, customs duty, uplift, VAT/GST, net margin).

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": {
      "countryCode": "<countryCode>",
      "incoterm": "<incoterm>",
      "qty": "<qty>",
      "unitPriceUsd": "<unitPriceUsd>"
    },
    "name": "calculate_true_landed_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyYes
dutyPctNo
incotermYes
vatGstPctNo
freightUsdNo
countryCodeYes
bankFxFeePctNo
insuranceUsdNo
unitPriceUsdYes
channelFeePctNo
vatRecoverableNo
customsUpliftPctNo
exwOriginPickupUsdNo
portAndBrokerageUsdNo
targetSellingPriceUsdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/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 burden. It reveals nothing about defaults for the 11 optional parameters, whether omitted percentages are treated as zero, how vatRecoverable changes the result, or whether net margin is omitted when targetSellingPriceUsd is absent. For a 15-parameter pricing calculation this is a significant gap.

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 dense sentence with the core action front-loaded and no filler. It is compact to a fault, but nothing in it is wasted or off-topic.

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?

Given 15 parameters, 0% schema coverage, no annotations, and no output schema, a one-sentence description is not enough. The agent is left guessing how optional inputs interact and what the returned cost breakdown looks like.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for all 15 parameters, but it only names generic cost categories without mapping them to parameter names or units. Percentages (dutyPct, vatGstPct, bankFxFeePct, channelFeePct, customsUpliftPct) versus absolute USD amounts (freightUsd, insuranceUsd, portAndBrokerageUsd) are never disambiguated, and options like vatRecoverable and targetSellingPriceUsd are unaddressed.

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 ('Compute') and resource ('true landed cost') and enumerates the cost components covered (incoterms, freight, insurance, duty, uplift, VAT/GST, net margin), so an agent knows exactly what calculation this performs. It does not distinguish itself from siblings such as lookup_hs6_tariff, which likely feeds dutyPct.

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?

No guidance on when to use this over the sibling lookup tools, no mention of prerequisites such as obtaining a duty rate from lookup_hs6_tariff or a country code from another source. Usage is only implied by the word 'Compute'.

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