Skip to main content
Glama

Camden Tools

Get category

get_category
Read-only

A category's name, description and its products (paged) by category slug.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
slugYesCategory slug from list_categories.
sortNoSort order: price_low, price_high, name_asc, name_desc or newest. Omit for the default (most popular) order.
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.
per_pageNoResults per page: 15, 30, 50 or 100 (default 15).

Output Schema

NameRequiredDescriptionDefault
categoryYes
productsYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / products / items / properties / categories / description
      Added value: +"Up to 8 category names; get_product has the product's details."
  2. Changed14 schema fields changed
    • changedOutput schema / properties / category / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "type": "number"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "slug": {
      -        "type": "string"
      -      },
      -      "url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "slug",
      -      "url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": "number"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "slug": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "slug",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / products / items / properties / brand / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / products / items / properties / brand / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / products / items / properties / brand_slug / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / products / items / properties / brand_slug / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / products / items / properties / image / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / products / items / properties / image / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / products / items / properties / price / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bulk_prices": {
      -        "description": "Lower unit prices from min_quantity up.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "ex_vat": {
      -              "type": "number"
      -            },
      -            "inc_vat": {
      -              "type": "number"
      -            },
      -            "min_quantity": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "min_quantity",
      -            "ex_vat",
      -            "inc_vat"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "currency": {
      -        "type": "string"
      -      },
      -      "ex_vat": {
      -        "type": "number"
      -      },
      -      "inc_vat": {
      -        "type": "number"
      -      },
      -      "on_sale": {
      -        "type": "boolean"
      -      },
      -      "vat_rate": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "VAT rate in percent (20 = 20%). null when unknown: ex_vat then equals inc_vat."
      -      },
      -      "was_ex_vat": {
      -        "type": "number"
      -      },
      -      "was_inc_vat": {
      -        "description": "Price before the sale; only when on_sale.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "currency",
      -      "ex_vat",
      -      "inc_vat",
      -      "on_sale",
      -      "vat_rate"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bulk_prices": {
      +        "description": "Lower unit prices from min_quantity up.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "ex_vat": {
      +              "type": "number"
      +            },
      +            "inc_vat": {
      +              "type": "number"
      +            },
      +            "min_quantity": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "min_quantity",
      +            "ex_vat",
      +            "inc_vat"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "currency": {
      +        "type": "string"
      +      },
      +      "ex_vat": {
      +        "type": "number"
      +      },
      +      "inc_vat": {
      +        "type": "number"
      +      },
      +      "on_sale": {
      +        "type": "boolean"
      +      },
      +      "vat_rate": {
      +        "description": "VAT rate in percent (20 = 20%). null when unknown: ex_vat then equals inc_vat.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "was_ex_vat": {
      +        "type": "number"
      +      },
      +      "was_inc_vat": {
      +        "description": "Price before the sale; only when on_sale.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "currency",
      +      "ex_vat",
      +      "inc_vat",
      +      "on_sale",
      +      "vat_rate"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / products / items / properties / slug / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / products / items / properties / slug / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / products / items / properties / summary / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / products / items / properties / summary / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / products / items / properties / url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / products / items / properties / url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "category": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "description": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "type": "number"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "slug": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "slug",
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "pagination": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "last_page": {
      +              "type": "number"
      +            },
      +            "page": {
      +              "type": "number"
      +            },
      +            "per_page": {
      +              "type": "number"
      +            },
      +            "total": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "page",
      +            "per_page",
      +            "total",
      +            "last_page"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "products": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "brand": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "brand_slug": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "categories": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "express_eligible": {
      +            "description": "Website Express (same-working-day UK dispatch); only when the listing reports it.",
      +            "type": "boolean"
      +          },
      +          "gtin": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "number"
      +          },
      +          "image": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "in_stock": {
      +            "type": "boolean"
      +          },
      +          "mpn": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "price": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "bulk_prices": {
      +                    "description": "Lower unit prices from min_quantity up.",
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "ex_vat": {
      +                          "type": "number"
      +                        },
      +                        "inc_vat": {
      +                          "type": "number"
      +                        },
      +                        "min_quantity": {
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "min_quantity",
      +                        "ex_vat",
      +                        "inc_vat"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "currency": {
      +                    "type": "string"
      +                  },
      +                  "ex_vat": {
      +                    "type": "number"
      +                  },
      +                  "inc_vat": {
      +                    "type": "number"
      +                  },
      +                  "on_sale": {
      +                    "type": "boolean"
      +                  },
      +                  "vat_rate": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "VAT rate in percent (20 = 20%). null when unknown: ex_vat then equals inc_vat."
      +                  },
      +                  "was_ex_vat": {
      +                    "type": "number"
      +                  },
      +                  "was_inc_vat": {
      +                    "description": "Price before the sale; only when on_sale.",
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "currency",
      +                  "ex_vat",
      +                  "inc_vat",
      +                  "on_sale",
      +                  "vat_rate"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "null when the product has no online price."
      +          },
      +          "sku": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "stock_level": {
      +            "type": "number"
      +          },
      +          "summary": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "url": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "sku",
      +          "name",
      +          "slug",
      +          "url",
      +          "brand",
      +          "brand_slug",
      +          "categories",
      +          "price",
      +          "in_stock",
      +          "stock_level",
      +          "image",
      +          "summary"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "category",
      +    "products",
      +    "pagination"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description usefully adds that the embedded product list is paged, but it does not say whether pagination applies only to products or also to category metadata, nor any limits.

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?

A single short sentence with the resource and payload front-loaded and zero filler. It is a fragment rather than a full clause, and it spends its few words on return contents rather than selection guidance.

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 shapes need not be described, and annotations cover safety. For a 5-parameter composite read, though, the description leaves open how paging interacts with the nested product list and offers no disambiguation from get_products or list_categories.

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%: slug, page, per_page, sort, and locale are all documented, including allowed sort values and locale examples. The description adds no parameter meaning beyond the word 'paged', so the 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?

The noun phrase names the resource (a category) and precisely what comes back: name, description, and its products, keyed by slug. It is clear enough to distinguish from get_product or list_products, but it never explicitly contrasts with the most confusable sibling, list_categories.

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?

No guidance on when to fetch a category versus calling list_categories first, or versus get_products filtered by category. The routing knowledge that 'slug comes from list_categories' exists only in the schema, not in the description.

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