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

TableJSON 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

TableJSON Schema
NameRequiredDescriptionDefault
categoryYes
productsYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. First observed

TDQS

A3.8/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 the safety profile is covered. The description adds the useful scope that the response includes paged products, but it does not disclose additional behavior such as default sort or locale effects—those are left to the schema.

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 sentence that front-loads the resource and the main outcome while staying concise. No filler or repetition of the title.

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 a read-only category lookup, the description plus the fully documented input schema and output schema supplies what an agent needs to invoke it correctly. It lacks only explicit routing guidance versus similar product/category tools, which is already reflected in the usage dimension.

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%, so parameters like page, sort, locale, and per_page are already fully documented. The description reinforces that slug is the identifier but adds no new meaning beyond the schema.

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 is specific about the verb ('get'), the resource ('category'), the lookup key ('by category slug'), and the returned contents (name, description, paged products). This distinguishes it from list_categories (which lists categories) and get_products/get_brand_products (which are product-centric).

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

Usage Guidelines3/5

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

There is no explicit when-to-use or exclusion statement naming alternatives. The only usage context is implied: the schema notes slug comes from list_categories and the description centers on a single category slug, which suggests a list-first, then-detail flow.

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