Skip to main content
Glama

schedule-iii

List cost centres

list_cost_centres
Read-only

List the cost centres for an entity. Use this before proposing account mappings so you can group the proposal by target name and distinguish operating from support centres. This is status-only: it returns names, short codes, kinds and each centre’s parent_cost_centre_id, never rupee amounts and never an owner’s name. Read parent_cost_centre_id (null at the top level) to show the user the hierarchy that create_cost_centre wrote, so a wrong parent can be seen and corrected. is_active false means the centre is DEACTIVATED: it is not an available target, never propose a mapping onto one, and never count it when you tell the user how many targets exist. Check the returned codes before choosing a code for create_cost_centre — a code must be unique among live centres. Tell the user what the existing structure means before suggesting a change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number (default 1).
client_idYesThe entity (client) id — from list_clients.
page_sizeNoRows per page (default 100, max 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only safety, but the description adds substantial beyond-schema context: what the payload contains ('never rupee amounts and never an owner's name'), the meaning of null parent_cost_centre_id, and the operational semantics of is_active=false as DEACTIVATED. It doesn't mention pagination behavior beyond the schema, but the disclosure load is well carried.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and sequencing, which is good, but the description is long and mixes operational rules ('never count it when you tell the user how many targets exist') with instructional guidance that borders on over-prescription. Most sentences earn their place, but a tighter version would read better.

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?

No output schema exists, and the description fills that gap by describing the returned fields and their hierarchy meaning, plus the is_active caveat. It doesn't spell out pagination/truncation behavior, which matters for a list tool, but overall an agent has what it needs.

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 clear param descriptions, so the baseline is 3. The description adds no per-parameter detail (e.g., how page interacts with large hierarchies) that the schema doesn't already supply.

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+resource ('List the cost centres for an entity') and immediately distinguishes itself from siblings like list_profit_centres and create_cost_centre by tying its role to mapping proposals and code selection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing ('Use this before proposing account mappings', 'Check the returned codes before choosing a code for create_cost_centre') and hard exclusions ('never propose a mapping onto a deactivated centre'). The when-to-use against create_cost_centre is unambiguous.

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