Skip to main content
Glama

Departments and their categories

list_departments
Read-onlyIdempotent

The departments of the whole network (electronics, home, toys, fashion, …) with the categories of their sites in the locale's language: key, name, parent, number of products and the sites that have it. Use browse_category for a category's products.

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": "list_departments"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage and market (nl-NL = Dutch for the Netherlands, fr-BE = French for Belgium, de-DE = German for Germany, en-NL = English for the Netherlands; FR, DK and SE too). Shops, prices, currency and stock are per market; only sites that serve the locale answer. Default nl-NL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that results span the whole network and are rendered in the locale's language, which is useful context. It says nothing about response size, pagination, or caching for what is likely a large catalog-wide listing.

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 sentences, zero filler. The resource and returned fields come first, and the sibling routing note is placed last where it belongs.

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?

With no output schema, the description compensates by listing the exact fields returned, which is what an agent needs to decide whether to call it. The only gap is the absence of any hint about result volume or whether the full network tree is returned in one response.

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 coverage is 100% and the locale parameter already carries a detailed enum with market semantics, so the schema does the heavy lifting. The description only reinforces that output language follows the locale; it adds no new meaning about the parameter beyond that.

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 precisely (departments of the whole network plus their sites' categories) and enumerates the returned fields: key, name, parent, product count, and sites. The verb is implicit rather than stated, but the scope and content are unambiguous and clearly separated from browse_category.

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?

It explicitly routes the agent away from this tool for product lookups: 'Use browse_category for a category's products.' That is a concrete alternative with a selecting condition. It stops short of stating when this tool itself is the right choice (e.g., for building a navigation tree or resolving department keys).

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