Skip to main content
Glama

Read a SecretPass offer

get_offer
Read-onlyIdempotent

Read the full public details of one current offer, including its description, shop, savings, conditions and dates, using the exact id returned by search_offers. Voucher codes are not included.

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": {
      "id": "<id>"
    },
    "name": "get_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExact offer id from search_offers, including the country prefix.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
titleYes
regionYes
businessYes
categoryYes
price_nowYes
price_wasYes
expires_atYes
updated_atYes
descriptionYes
offer_badgeYes
business_urlYes
business_slugYes
category_nameYes
offer_displayYes
membership_required_to_unlockYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "business": {
      +      "type": "string"
      +    },
      +    "business_slug": {
      +      "type": "string"
      +    },
      +    "business_url": {
      +      "type": "string"
      +    },
      +    "category": {
      +      "type": "string"
      +    },
      +    "category_name": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "expires_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "membership_required_to_unlock": {
      +      "type": "boolean"
      +    },
      +    "offer_badge": {
      +      "type": "string"
      +    },
      +    "offer_display": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "attributes": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "key": {
      +                "type": "string"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "unit": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "key",
      +              "label",
      +              "value",
      +              "unit"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "business_slug": {
      +          "type": "string"
      +        },
      +        "features": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "item_name": {
      +          "type": "string"
      +        },
      +        "minimum_spend": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "amount": {
      +                "type": "number"
      +              },
      +              "applies_to": {
      +                "type": "string"
      +              },
      +              "currency": {
      +                "type": "string"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "qualifier": {
      +                "enum": [
      +                  "at_least",
      +                  "over"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "amount",
      +              "currency",
      +              "qualifier",
      +              "applies_to",
      +              "label"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "offer_text": {
      +          "type": "string"
      +        },
      +        "price_now": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "amount": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "currency": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "amount",
      +            "currency",
      +            "label"
      +          ],
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "price_was": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "amount": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "currency": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "amount",
      +            "currency",
      +            "label"
      +          ],
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "product_brand": {
      +          "type": "string"
      +        },
      +        "product_model": {
      +          "type": "string"
      +        },
      +        "product_type": {
      +          "type": "string"
      +        },
      +        "savings_amount": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "applies_to": {
      +                "type": "string"
      +              },
      +              "currency": {
      +                "type": "string"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "qualifier": {
      +                "enum": [
      +                  "exact",
      +                  "up_to",
      +                  "from"
      +                ],
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "value",
      +              "qualifier",
      +              "applies_to",
      +              "label",
      +              "currency"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "savings_percent": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "applies_to": {
      +                "type": "string"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "qualifier": {
      +                "enum": [
      +                  "exact",
      +                  "up_to",
      +                  "from"
      +                ],
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "value",
      +              "qualifier",
      +              "applies_to",
      +              "label"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "schema_version": {
      +          "enum": [
      +            0,
      +            1
      +          ],
      +          "type": "integer"
      +        },
      +        "store_name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "schema_version",
      +        "business_slug",
      +        "store_name",
      +        "item_name",
      +        "product_brand",
      +        "product_model",
      +        "product_type",
      +        "attributes",
      +        "offer_text",
      +        "features",
      +        "savings_percent",
      +        "savings_amount",
      +        "minimum_spend",
      +        "price_was",
      +        "price_now"
      +      ],
      +      "type": "object"
      +    },
      +    "price_now": {
      +      "type": "string"
      +    },
      +    "price_was": {
      +      "type": "string"
      +    },
      +    "region": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "updated_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "business",
      +    "business_slug",
      +    "title",
      +    "region",
      +    "category",
      +    "category_name",
      +    "price_was",
      +    "price_now",
      +    "offer_badge",
      +    "offer_display",
      +    "expires_at",
      +    "updated_at",
      +    "url",
      +    "business_url",
      +    "membership_required_to_unlock",
      +    "description"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/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 needs no restating. The description earns credit for two additions the annotations cannot carry: the result is limited to 'public' details, and 'Voucher codes are not included', which prevents the agent from promising a code it will never receive.

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?

A single front-loaded sentence with no filler: the capability comes first, the id prerequisite second, the exclusion last. Every clause carries information an agent would otherwise have to infer.

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 one required parameter, rich annotations, a full output schema and the field-level summary in the description, an agent has enough to call this correctly. The remaining gap is edge behavior: it says 'current offer' but never states what happens when the id refers to an expired or removed offer.

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 100% and the id field already documents 'Exact offer id from search_offers, including the country prefix', so the description's id wording largely repeats structured data. The only added meaning is reinforcing that the id must come verbatim from a prior search call; the baseline of 3 applies.

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 description names a specific verb and resource ('Read the full public details of one current offer') and enumerates what the payload contains: description, shop, savings, conditions and dates. Naming search_offers as the id source separates this single-record read from the search and list_filters siblings.

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?

It states a clear precondition: use the exact id returned by search_offers, which tells the agent this is a follow-up call to a search. It does not state exclusions, such as what to do if the offer has expired or the id is stale, so it falls short of the explicit when/when-not guidance a 5 requires.

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