Skip to main content
Glama

The category tree

categories

The categories Library Direct 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

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It conveys that the tool exposes category metadata and that path or name values can be used with browse, but it does not explicitly state that the operation is read-only, whether the full tree is returned, or whether any pagination or permissions apply.

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?

The description is short and front-loads the category resource and its fields before adding the downstream usage note. The first sentence is somewhat fragmentary, but there is little wasted text overall.

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 zero-parameter category-listing tool with no output schema, the description provides enough detail about the returned category fields and how category values can be used. It could be more explicit about the action and tree structure, but it is broadly complete for the tool's complexity.

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 has zero parameters, so the baseline is 4. The description does not need to explain input semantics, and the additional note about using path or name refers to downstream usage with browse rather than to parameters on this tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the category resource and lists the data fields it contains (path, name, page URL, product count), but it never clearly states the action, such as returning or listing the category tree. An agent can infer what the tool is about, but the purpose is not expressed with a specific verb or scope.

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 helpful context about how category values can be consumed, but it does not clearly explain when an agent should choose this tool over siblings like browse, search, or filter. Usage is implied rather than explicitly framed as selection guidance.

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