Skip to main content
Glama

Camden Tools

List offers

list_offers
Read-only

Current storefront promotions (percentage/fixed discounts and free gifts), optionally grouped by brand or category. Also points at the /offers page.

Input Schema

NameRequiredDescriptionDefault
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.
group_byNoGrouping (default all).

Output Schema

NameRequiredDescriptionDefault
groupsNoWith group_by brand or category.
offersNoWith group_by all (the default).
offers_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • removedOutput schema / properties / groups / items / properties / promotions / items / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / groups / items / properties / promotions / items / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / groups / items / properties / promotions / items / properties / discount_value / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / groups / items / properties / promotions / items / properties / discount_value / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / groups / items / properties / promotions / items / properties / ends_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / groups / items / properties / promotions / items / properties / ends_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / groups / items / properties / promotions / items / properties / terms_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / groups / items / properties / promotions / items / properties / terms_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / offers / items / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / offers / items / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / offers / items / properties / discount_value / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / offers / items / properties / discount_value / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / offers / items / properties / ends_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / offers / items / properties / ends_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / offers / items / properties / terms_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / offers / items / properties / terms_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "groups": {
      +      "description": "With group_by brand or category.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "group": {
      +            "type": "string"
      +          },
      +          "promotions": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "brands": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "description": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "discount_value": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Percent or amount off, depending on type."
      +                },
      +                "ends_at": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "free_gift": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "name": {
      +                          "type": "string"
      +                        },
      +                        "sku": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "sku",
      +                        "name"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "id": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "scope": {
      +                  "type": "string"
      +                },
      +                "terms_url": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "type": {
      +                  "description": "percentage_discount, fixed_discount or free_gift.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "description",
      +                "type",
      +                "discount_value",
      +                "ends_at",
      +                "scope",
      +                "brands",
      +                "free_gift",
      +                "terms_url"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "group",
      +          "promotions"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "offers": {
      +      "description": "With group_by all (the default).",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "brands": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "description": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "discount_value": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Percent or amount off, depending on type."
      +          },
      +          "ends_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "free_gift": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "sku": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sku",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "id": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "scope": {
      +            "type": "string"
      +          },
      +          "terms_url": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "type": {
      +            "description": "percentage_discount, fixed_discount or free_gift.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "description",
      +          "type",
      +          "discount_value",
      +          "ends_at",
      +          "scope",
      +          "brands",
      +          "free_gift",
      +          "terms_url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "offers_url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "offers_url"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description adds what kind of promotional content comes back and that it maps to the /offers page, but says nothing about volume, pagination, or whether expired offers are excluded — relevant for a live-promotions endpoint with openWorldHint.

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?

Two compact sentences with the payload described first and the supplementary /offers pointer last. No filler, no redundancy, nothing that could be cut without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and both parameters are fully documented in the schema. What is missing is the routing information an agent needs in a 28-sibling server: which of the three promotion-related tools to pick and under what conditions. Adequate but clearly incomplete for the decision the agent must make.

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%, and the locale parameter's effect on names, slugs, and prices is documented in the schema itself. The description restates the grouping concept ('grouped by brand or category') without adding semantics such as what the 'all' grouping does or whether grouping changes the response shape. Baseline 3 applies.

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?

States a specific resource (current storefront promotions) and enumerates the concrete offer types returned: percentage discounts, fixed discounts, and free gifts. It also discloses the optional grouping axis. It does not, however, distinguish itself from the similar-sounding siblings get_product_promotions and get_cart_promotions.

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

Usage Guidelines2/5

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

The description never says when to call this instead of get_product_promotions or get_cart_promotions, which sit in the same domain and are the obvious confusions. The only contextual hint is the passing reference to the /offers page, which implies site-wide rather than product- or basket-scoped promotions but leaves it to inference.

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