Skip to main content
Glama

List departments

tamigo_list_departments
Read-only

List all departments (shops, restaurants, units) of the company: DepartmentId (a GUID, used by other tools), DepartmentKey (the POS key set in Tamigo), Name, IsDefault and ParentDepartmentId. GET /departments/application/.

Input Schema

NameRequiredDescriptionDefault
limitNoItems to return, 1-1000 (default 200). The reply's next_offset says where to continue.
offsetNoSkip this many items (default 0). Pass the previous reply's next_offset.
include_parentsNoAlso return the parent (grouping) departments, not only the leaf units. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already carry readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds value annotations cannot: the concrete returned field set (DepartmentId, DepartmentKey, Name, IsDefault, ParentDepartmentId) and the underlying endpoint. It does not mention pagination behavior or result size, but that lives in the schema.

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?

A single dense sentence, front-loaded with the verb and resource and followed by the returned fields. The trailing 'GET /departments/application/' is endpoint trivia that adds little for an agent, a minor waste in an otherwise efficient definition.

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 correctly compensates by listing the returned fields and their meanings (GUID vs POS key), which is exactly the missing structured information. Pagination is handled by the schema, so the remaining gaps are small — mainly no guidance on how the result feeds into other tools.

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 description coverage is 100%, with limit, offset and include_parents each fully documented including ranges and defaults, so the baseline is 3. The description adds nothing about parameters — notably it never mentions include_parents, even though the returned 'ParentDepartmentId' field relates directly to it.

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

Purpose5/5

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

States a specific verb and resource ('List all departments') and immediately disambiguates the term with synonyms ('shops, restaurants, units'), which matters given the sibling tools cover employees, shifts and absences. It also enumerates the key returned fields so an agent knows what an entry looks like before calling.

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 implied rather than stated: the note that DepartmentId is 'used by other tools' hints this is a prerequisite lookup for department-scoped calls, but the description never says when to choose this tool over a sibling or what to do next. No exclusions or alternatives are given.

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.