Skip to main content
Glama

List department groups

data_list_department_groups
Read-onlyIdempotent

Return the list of department groups, used to organize product categories. Each group may include multiple department IDs.

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

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: 'json' (default), 'csv', or 'html'json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description adds the useful structural note that each group may contain multiple department IDs, but says nothing about result size, ordering, or whether the full list is always returned unpaginated.

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 the core action front-loaded and no filler. Nothing is repeated from annotations and every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, non-destructive reference-list tool with full schema coverage this is adequate, but with no output schema the description is the only source for return shape and it only partially delivers: it mentions department IDs but not what identifies a group (id, name) or the ordering.

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?

The single optional `format` parameter has 100% schema description coverage including its enum values and default, so the schema does all the work. The description adds no meaning beyond it — no guidance on when csv or html output is preferable.

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 specific verb and resource ("Return the list of department groups") and adds a domain gloss ("used to organize product categories"). It does not distinguish itself from the near-identical sibling data_list_departments, so a reader must infer the difference between a department and a department group.

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?

Usage is only implied: the note that groups organize product categories hints at when the tool is relevant (category/taxonomy work). There is no explicit when-to-use, no statement of when to prefer data_list_departments, and no prerequisites or 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