Skip to main content
Glama

Akay trade offers (akay.ie)

Price one product

get_price
Read-onlyIdempotent

Price one product (offer_id, EAN or name) for a quantity in cases. Returns the listed price per case and per unit in the offer's currency, the line total worked out in code, and MOQ and stock checks. If several offers fit, returns candidates instead of picking one. Optional target price comparison. Once the buyer is happy with a line, offer request_quote.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
abvNo
eanNoUnit or case barcode
packNoUnits per case
casesNoQuantity in whole cases (1-10000)
unitsNoQuantity in units, for offers priced per unit/piece without a listed case size. Use cases otherwise.
productNoProduct name as the buyer wrote it, e.g. "Jameson 6x70cl T2"
offer_idNoakay.ie offer id (from search results)
volume_mlNo
duty_statusNoDuty status as listed. T1 = non-EU (third-country) status goods under customs transit; T2 = EU-status goods that can move within the EU under excise duty suspension (e.g. with an eAD in EMCS). Both T1 and T2 are held in bond with duty suspended: neither is duty paid. Bonded, On Floor and Duty Paid are shown exactly as listed on akay.ie.
target_basisNoWhether the target price is per case or per unit
target_priceNoBuyer's target price, compared only when currency and basis are given
target_currencyNo
target_incotermNo
target_locationNo

Output Schema

NameRequiredDescriptionDefault
lineNo
noteNo
casesNo
offerNo
unitsNo
sourceYesAlways "akay.ie"
statusNomatched, ambiguous, not_listed, moq_not_met, insufficient_stock, price_unavailable or invalid_quantity
messageNo
currencyNo
problemsNo
warningsNo
requestedNo
candidatesNo
line_totalNo
matched_byNo
total_basisNo
how_to_orderNo
feed_age_hoursNo
candidate_countNo
units_requestedNo
feed_published_atNoWhen the akay.ie catalogue snapshot was published (ISO 8601)
price_status_noteNo
target_comparisonNo
nearest_brand_linesNoShown only when nothing matched: other live lines of the brand named in the query. NOT the requested product, size or pack; present as alternatives only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / nearest_brand_lines
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Shown only when nothing matched: other live lines of the brand named in the query. NOT the requested product, size or pack; present as alternatives only.",
      +  "properties": {
      +    "brand": {
      +      "type": "string"
      +    },
      +    "exact_match": {
      +      "description": "Always false",
      +      "type": "boolean"
      +    },
      +    "match_type": {
      +      "description": "Always \"nearest_brand_lines_not_exact\"",
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "abv": {
      +            "type": "number"
      +          },
      +          "brand": {
      +            "type": "string"
      +          },
      +          "cases_per_pallet": {
      +            "type": "number"
      +          },
      +          "category": {
      +            "type": "string"
      +          },
      +          "currency": {
      +            "description": "EUR, USD or GBP; never converted",
      +            "type": "string"
      +          },
      +          "duty_status": {
      +            "description": "Duty status as listed. T1 = non-EU (third-country) status goods under customs transit; T2 = EU-status goods that can move within the EU under excise duty suspension (e.g. with an eAD in EMCS). Both T1 and T2 are held in bond with duty suspended: neither is duty paid. Bonded, On Floor and Duty Paid are shown exactly as listed on akay.ie.",
      +            "type": "string"
      +          },
      +          "ean": {
      +            "type": "string"
      +          },
      +          "ean_case": {
      +            "type": "string"
      +          },
      +          "exact_match": {
      +            "type": "boolean"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "featured": {
      +            "type": "boolean"
      +          },
      +          "incoterm": {
      +            "type": "string"
      +          },
      +          "lead_time": {
      +            "type": "string"
      +          },
      +          "location": {
      +            "type": "string"
      +          },
      +          "moq": {
      +            "type": "string"
      +          },
      +          "moq_estimated": {
      +            "type": "boolean"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "offer_id": {
      +            "type": "string"
      +          },
      +          "offer_updated_at": {
      +            "type": "string"
      +          },
      +          "origin": {
      +            "type": "string"
      +          },
      +          "pack": {
      +            "description": "Units per case",
      +            "type": "number"
      +          },
      +          "price_basis": {
      +            "type": "string"
      +          },
      +          "price_per_case": {
      +            "type": "number"
      +          },
      +          "price_per_unit": {
      +            "type": "number"
      +          },
      +          "price_status": {
      +            "description": "\"listed\" or \"indicative\" (listing older than 30 days)",
      +            "type": "string"
      +          },
      +          "stock_cases": {
      +            "type": "number"
      +          },
      +          "stock_status": {
      +            "type": "string"
      +          },
      +          "unit_type": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          },
      +          "volume_ml": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total_brand_lines": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely behavioral detail beyond that: the total is 'worked out in code,' MOQ and stock are checked, and ambiguous matches return a candidate list rather than a silent pick. It does not disclose failure modes (e.g. what happens with no match), which keeps it off 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action and identifiers, then returns, then the candidate caveat, then the request_quote handoff — a logical order with no filler. Four dense sentences for a 14-parameter tool is proportionate; only the 'once the buyer is happy' clause is slightly conversational.

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 rich annotations, the description only needs to carry the workflow and the candidate-resolution rule, both of which it does. The main residual gap is the relationship to the other pricing/lookup siblings (get_offer, price_my_list), which the agent must infer.

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 coverage is 64%, so the schema already documents the important fields, including a lengthy duty_status explanation. The description adds the quantity-in-cases framing and notes the target price is 'optional' and only compared when currency and basis are given, but says nothing about pack, abv, volume_ml, target_incoterm or target_location.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

It names a specific verb and resource — price one product — and enumerates the three valid identifiers (offer_id, EAN or name), then states what is returned (per-case and per-unit price, line total, MOQ/stock checks). The phrase 'one product' plus the sibling price_my_list makes the single-item scope obvious without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clear usage context: price a line before committing, and once the buyer is happy, move to request_quote — an explicit next-step alternative. It stops short of telling the agent when to prefer get_offer or price_my_list instead, so there is no exclusion guidance, but the intended workflow is unambiguous.

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