Skip to main content
Glama

Camden Tools

Get prices for a country

get_prices_for_country
Read-only

Country-specific pricing for a set of products (the checkout applies the destination country's currency and pricing). Returns unit, sale and final prices plus the subtotal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesBasket lines as product ids with quantities.
localeNoStorefront locale such as en-GB (default), en-US, de, fr-FR, es-ES, it-IT, nl-NL, pl. Controls product names, slugs and prices.
shipping_countryYesISO 3166-1 alpha-2 country code, e.g. GB, IE, DE, US.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
currencyYes
subtotalYes
fallback_usedYesNo prices for this country: another country's were used.
pricing_countryYes
shipping_countryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "currency": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "fallback_used": {
      +      "description": "No prices for this country: another country's were used.",
      +      "type": "boolean"
      +    },
      +    "items": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "final_price": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "id": {
      +            "type": "number"
      +          },
      +          "quantity": {
      +            "type": "number"
      +          },
      +          "sale_price": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "unit_price": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "quantity",
      +          "unit_price",
      +          "sale_price",
      +          "final_price"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "pricing_country": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "shipping_country": {
      +      "type": "string"
      +    },
      +    "subtotal": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "shipping_country",
      +    "pricing_country",
      +    "currency",
      +    "fallback_used",
      +    "items",
      +    "subtotal"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The description adds useful behavioral detail beyond the readOnlyHint/openWorldHint/destructiveHint annotations: it explains that the checkout applies the destination country's currency and pricing and explicitly lists the returned price components. This helps the agent understand what to expect from the call.

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?

The description is two concise sentences, front-loading the country-specific scope and clearly stating the return contents. There is no redundant or filler wording.

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?

Given full schema coverage, annotations, and an output schema, the description provides the key conceptual context: checkout destination pricing and the returned price types. A minor gap is the lack of routing guidance among related pricing and product tools, but the core invocation details are covered.

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%, with clear descriptions for shipping_country, items, and locale. The description reinforces the country-pricing concept but does not need to repeat parameter syntax; baseline 3 is appropriate.

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 clearly states the operation: retrieving country-specific pricing for a set of products, including unit, sale, final prices, and subtotal. It is specific about the resource and output, though it does not explicitly differentiate itself from sibling pricing tools.

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 checkout context implies the tool is intended for destination-country price calculations, which gives some usage guidance. However, it does not state when to prefer this over related tools like compare_products, list_offers, or get_cart_promotions, nor any exclusions.

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