Skip to main content
Glama

The category tree

categories

The categories Cupboard Depot organises its products into (path, name, page URL, product count). Use a path or a name as the category of browse.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "categories"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully discloses the returned fields, implying a read-only listing with per-category product counts, but says nothing about whether the full tree is returned, its size/ordering, or any auth or rate constraints.

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?

Two short sentences, front-loaded with what the tool returns, with no filler. The second sentence is slightly awkwardly worded ('as the category of browse') but still earns its place by linking output to the sibling tool.

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 simple, parameterless read tool with no output schema, the description is nearly complete: it names the resource and enumerates the return fields an agent would need. Only the shape of the tree (flat list vs nested, sizing) is left unspecified.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description's mention of path and name refers to output values, not inputs, and does not mislead.

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 description states a concrete resource — the category tree Cupboard Depot organises products into — and enumerates the fields returned (path, name, page URL, product count). It also links to the sibling 'browse' tool, so an agent can tell this is the category-lookup source rather than the browsing action itself. It falls short of a crisp verb+resource phrasing because it is written as a noun phrase.

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?

'Use a path or a name as the category of browse' explicitly tells the agent what to do with the result — pass a path or name into the browse sibling. That is clear downstream context, but there is no guidance on when to call this versus search or filter, and no stated exclusions.

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