Skip to main content
Glama

quote_product

Read-onlyIdempotent

Convert a US product price in USD into a delivered COP quote, with domestic shipping estimated separately by zone or category so it is never folded into the published price.

Instructions

Quote the delivered COP price of a US product.

    Supply either weight_lb or a known category. The domestic leg is
    returned separately and is never folded into the published price.
    

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": {
      "price_usd": "<price_usd>"
    },
    "name": "quote_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneNoDestination zone for a separate domestic-shipping estimate. Known: Bogotá, Ciudades principales, Resto del país, Municipio.
categoryNoProduct category, used to infer a shipping weight when weight_lb is omitted. Known: tenis, ropa, perfume, bolso, maquillaje, reloj, suplementos.
price_usdYesUS list price of the product, in USD.
weight_lbNoShipping weight in pounds.

Output Schema

NameRequiredDescriptionDefault
zoneNoZone the domestic leg used.
tax_usdYesEstimated US sales tax.
cost_copYesLanded cost in COP.
fx_sourceYes'live': today's official rate. 'last_known': the official source was down, so the last rate fetched was used; say how old it is (fx_valid_from). 'reference': a fixed stand-in, NOT a real rate; the quote is arithmetically correct but not an offer, so say so when relaying it.
price_copYesPublished price in COP, after rounding.
weight_lbYesWeight used, in pounds.
fx_appliedYesRate after the buffer, used to convert.
landed_usdYesPrice plus tax plus freight, in USD.
margin_copYesMargin in COP, included in the price.
freight_usdYesMail-forwarder freight to Colombia.
fx_officialYesOfficial COP-per-USD rate used.
subtotal_copYesCost plus margin, before rounding.
fx_valid_fromNoDate the official rate was valid from (YYYY-MM-DD).
weight_sourceYesWhether the weight was supplied or inferred from the category.
commission_copYesOperator commission, taken from the margin.
net_margin_copYesMargin left after commission.
settings_sourceNoMargin, tariff, tax and commission come from published reference defaults, not from any real shop's configuration.reference
domestic_shipping_copNoBogota-to-destination leg, quoted separately. Null when no zone was given. This is NEVER part of price_cop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint=false), and the description adds genuine behavioral context that the annotations do not: the domestic leg is returned separately and never folded into the published price. It does not resolve precedence when both weight_lb and category are supplied, and it does not say what happens if zone is omitted, which keeps it from a 5.

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?

Three short sentences: purpose first, input choice second, output caveat last. Nothing is repeated from the annotation block and every sentence carries information an agent needs to call the tool correctly.

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?

With an output schema present and full schema coverage, the description need not explain return values, and it correctly focuses on the one non-obvious behavioral fact (the separate domestic leg). The remaining gap is the interaction between zone and the domestic estimate when zone is null, which a careful caller would want stated.

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 four parameters are already documented in the schema, making 3 the baseline. The description adds one useful relational fact — that weight_lb and category are substitutes — but does not state which wins if both are passed, so it adds only marginal meaning beyond the schema.

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 gives a specific verb and resource: 'Quote the delivered COP price of a US product,' which is concrete enough that an agent can distinguish this pricing tool from siblings like extract_product or save_quote without opening a schema. It lacks an explicit statement naming those siblings as alternatives, so it stops short of 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 sentence 'Supply either weight_lb or a known category' implies when the tool is usable and what inputs it needs, but it does not state when to prefer this over get_exchange_rate or save_quote, nor any exclusions or prerequisites. Usage is implied rather than guided.

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