Skip to main content
Glama

mechacut

shop_gift_voucher

Gift-voucher expiry DATES, jurisdiction-named, from official text replayed 24-nov-2026. IE — Consumer Protection (Gift Vouchers) Act 2019 (No. 38 of 2019), Part 4A: expiry must be 'at least 5 years from the date on which the contract was entered into' or the term is DEEMED so, and the deemed term OVERRIDES the printed one (66B(1)(b)+(c)) — a one-year print comes back PAPER_DEAD_LAW_ALIVE, the JD Sports shape (~€250,000 refunded July 2026, CCPC press 20-nov-2026). The expiry day itself still redeems: 66A(1) makes expiry 'the date AFTER which' the voucher ceases. Commencement gate 2-Dec-2019 named (CCPC business page). The euro floor ships WITH its conflict: statute '€1 or more' (66B(4)), CCPC FAQ 'more than €1' — at exactly €1.00 the statute governs, both texts travel, conflict named. Closed clash table: forced-single-use (66B(3)), voucher-count caps (66B(7)), name-mismatch fees (66B(6)), earlier replacement expiry (66B(8)) — void, non-binding, contract survives (66B(9)); the gift RECIPIENT holds all rights and the clock stays on the CONTRACT date (66B(10)). Eight exclusion classes shipped from 66A(2)(a)-(h) — loyalty, promo, return-credit (the frontier with /shop/return-deadline), utility, e-money (S.I. 183/2011)… — EXCLUDED_OUT_OF_SCOPE computes no dates. FR replayed NEGATIVE: 'no law fixes a minimum or maximum validity' — the printed date is contractual (L111-1 disclosure frames it, not its length); five-year prescription (art. 2224) has a FLOATING anchor and is carried BLOCKED, never dated; the '30 years' rumour is real-property prescription (2227) — corrected here by name. UK/BR/US refused by name, not replayed. Holiday returns are /shop/return-deadline; warranty clocks are /shop/legal-guarantee. No clock, no network, no advice. Free.

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": {
      "jurisdiction": "<jurisdiction>",
      "purchased_on": "<purchased_on>"
    },
    "name": "shop_gift_voucher"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoISO day to count days_left / status from — never a wall clock
clashNowhat the counter did: single_use_required | voucher_count_limited | name_mismatch_fee | replacement_earlier_expiry — each void against a numbered subsection (IE only)
jurisdictionYesie | ireland | irlande | fr | france — the two replayed regimes; uk/br/us answer with their named refusal
purchased_onYesISO date the CONTRACT was entered — a gift handed over later moves nothing (66B(10))
remaining_eurNodecimal remaining balance as a STRING ('1.00', never a float) — drives the €1 refund floor block
excluded_classNoclosed 66A(2) list: discount_date_period | loyalty | promotional | return_refund | utility | payment_instrument | emoney | not_a_gift
no_expiry_termNothe contract expressly says 'no expiry' (66B(1)(a)(ii)) — contradicts printed_expiry_on
printed_expiry_onNoISO expiry date printed on the voucher; omit when the contract is silent (then 66B(1)(b) deems five years)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: 'No clock, no network, no advice. Free.' discloses a stateless, offline, free computation, and it states concretely what happens on exclusions (no dates computed) and for FR (prescription 'carried BLOCKED, never dated'). It does not describe the shape of the returned result, which matters with no output schema, so it stops short of 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.

Conciseness2/5

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

The text is a dense block of ALL-CAPS legal citation and parenthetical case history — case names, refunded euro totals, press dates, replay dates — that does not help an agent decide or invoke. The genuinely load-bearing routing facts (sibling boundaries, refusals) sit at the very end rather than being front-loaded. Under-specification is not the problem here; over-stuffing is.

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?

For an 8-parameter, no-annotation, no-output-schema tool, the description covers the regimes, the refusal cases, the clash table, the exclusion classes, and the €1 conflict. It is largely complete for correct invocation; the main residual gap is that return fields must be inferred from the as_of parameter's mention of 'days_left / status'.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by resolving ambiguity the schema cannot — the €1.00 case ('at exactly €1.00 the statute governs'), the contract-date anchor for purchased_on ('the gift RECIPIENT holds all rights and the clock stays on the CONTRACT date'), and the voiding behaviour tied to each clash value. It adds real decision-relevant meaning rather than restating field types.

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?

The first sentence names the exact deliverable — gift-voucher expiry dates, jurisdiction-specific, replayed from official text — and the closing sentences name the boundaries against siblings: 'Holiday returns are /shop/return-deadline; warranty clocks are /shop/legal-guarantee.' An agent can distinguish this from shop_return_deadline and shop_legal_guarantee 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?

Usage routing is explicit at the edges: IE and FR are the 'two replayed regimes', 'UK/BR/US refused by name', and 'EXCLUDED_OUT_OF_SCOPE computes no dates'. Alternatives are named for adjacent problems. What is missing is a crisp positive 'use this when' clause — the guidance is embedded in legal narrative rather than stated up front.

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.