Skip to main content
Glama

The category tree

categories

The categories Hallway Trading 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.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the shape of the returned data (path, name, page URL, product count), which is genuinely useful, but it never states that the call is read-only, whether it takes any input, or how large the tree typically is. For a zero-parameter read tool the gap is modest but real.

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 short sentences with no filler: the first defines the resource and its fields, the second tells the agent what to do with the values. It is front-loaded and appropriately sized for a trivial no-argument 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?

There is no output schema, so the description must describe the return values, and it does so by listing all four fields. Combined with the handoff to browse, an agent has enough to call this correctly. Only the read-only nature and breadth of the tree are left unstated.

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 nothing beyond the schema to explain and the baseline of 4 applies. The description wisely spends its words on the return fields instead of inventing parameter detail.

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 names the resource (the category tree for Hallway Trading's products) and enumerates the fields it carries: path, name, page URL, product count. It implies a read of the full category listing without ever using an explicit verb like 'list' or 'returns', so the action is inferred rather than stated. It is still distinguishable from siblings like product or search.

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?

The sentence 'Use a path or a name as the category of browse' gives downstream guidance: the values returned can be fed to the browse tool as a category selector. That is useful implied usage, but there is no explicit when-to-call guidance, no statement that this is the entry point for category-driven browsing, and no comparison to filter or search.

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