Skip to main content
Glama
kula-ai

@kula-ai/mcp-server

Official
by kula-ai

list_departments

Retrieve a paginated list of all departments with parent IDs to rebuild hierarchy on the client side.

Instructions

List all departments as a flat paginated list. Each record has a parent_id to reconstruct the hierarchy client-side.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
limitNoItems per page
sort_byNoField to sort by (default: created_at)
sort_orderNoSort direction (default: desc)
created_afterNoISO 8601 datetime lower bound on created_at
created_beforeNoISO 8601 datetime upper bound on created_at
updated_afterNoISO 8601 datetime lower bound on updated_at
updated_beforeNoISO 8601 datetime upper bound on updated_at
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the flat list structure and client-side hierarchy reconstruction, which is sufficient for a read-only list operation. Does not mention authentication or rate limits, but those are less critical for a list tool.

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 concise sentences, front-loaded with purpose followed by a key structural detail. No wasted words.

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?

Adequate for a simple list tool, but without an output schema, the description could have elaborated on the return format or fields beyond parent_id. The parameter schemas are well-documented, so overall it's minimally complete.

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% with descriptions for all 8 parameters. The description adds no additional parameter-level information beyond what the schema provides, so baseline 3 is appropriate.

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?

Clearly states 'List all departments' with specific verb and resource. Adds unique detail about flat paginated list and parent_id for hierarchy reconstruction, distinguishing it from other list tools.

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?

Indicates when to use (to list departments) but lacks explicit guidance on when not to use or alternatives. The hierarchy reconstruction hint provides some context, but no direct comparison to other tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kula-ai/kula-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server