Skip to main content
Glama
nbrain-pharma-islamic-customs-mcp

nbrain-pharma-islamic-customs-mcp

gcc_customs_landed_cost

Calculates GCC landed costs from CIF and HS code by cascading customs duty, selective excise, import VAT, and Saudi SABER gate checks.

Instructions

Computes cascading CIF -> Customs Duty -> Selective Excise -> Import VAT & Saudi SABER gate.

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": {
      "cif_local_currency": "<cif_local_currency>",
      "hs_code": "<hs_code>"
    },
    "name": "gcc_customs_landed_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNo
hs_codeYes
duty_rate_bpsNo
has_saber_pcocNo
has_saber_scocNo
excise_rate_bpsNo
cif_local_currencyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden, and it discloses only the computation order. It does not say whether omitted rates (duty_rate_bps, excise_rate_bps) are looked up from the HS code or default to zero, whether a missing SABER certificate blocks the result or just flags it, or whether the tool is a pure read-only calculation with no side effects. The cascade ordering is useful, but the behavior an agent most needs to predict — defaults and gate failure modes — is absent.

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 with arrow notation that conveys the pipeline order compactly; nothing is redundant. The density is high but every clause carries meaning. Readability suffers slightly from the arrow shorthand and ampersand.

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

Completeness3/5

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

For a 7-parameter financial calculator with no annotations, no output schema, and no schema descriptions, the definition is thin — an agent cannot confidently supply optional rate parameters or interpret the result. The staged cascade is the essential idea and it is present. The remaining gaps around defaults, units, and SABER gating behavior leave it only partially adequate.

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% across 7 parameters, so the description must compensate and largely does not. It gestures at the concepts behind some parameters (CIF, duty, excise, SABER PCoC/SCoC) but never names them, and it says nothing about the bps unit convention, the meaning of country, or which inputs are optional or defaulted. Only the two required parameters map loosely to the text.

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 ("Computes") and the exact resource pipeline: CIF -> Customs Duty -> Selective Excise -> Import VAT, with a Saudi SABER gate. The cascading order is concrete and an agent can tell what class of result to expect. It stops short of saying what the returned figure represents (total landed cost vs. per-stage breakdown), which keeps it from a 5.

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 mention of a "Saudi SABER gate" is the only implicit usage signal, hinting the tool applies to KSA-bound imports. There is no statement of when to use this versus a plain duty lookup, no prerequisites (e.g., needing a valid HS code or PCoC/SCoC certificates), and no exclusions. Guidance is implied by domain vocabulary rather than stated.

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