Skip to main content
Glama

get_cost_center_mappings

Read-onlyIdempotent

How each cost centre is mapped to a functional (cost-centre) reporting category — the categories the functional P&L is built from.

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

Input Schema

NameRequiredDescriptionDefault
tenant_idNoThe tenant to query. Required when you have access to more than one tenant; may be omitted when you have exactly one. Call list_tenants for the ids.
division_idNoRestrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / division_id / description
      Previous value: -"Restrict the answer to one administration (Exact Online division). Omit to cover every administration you have access to. It can only narrow your access, never widen it."New value: +"Restrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety and repeatability are covered. The description adds domain context (these categories feed the functional P&L) but says nothing about return shape, mapping granularity (one row per cost centre?), or whether unmapped centres appear.

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 front-loaded sentence with no filler. The em-dash appositive slightly restates 'functional (cost-centre) reporting category' rather than adding new information, which is the only minor redundancy.

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 two-optional-parameter lookup this is roughly adequate, but with no output schema the description must carry the burden of explaining what comes back, and it only describes the concept, not the fields (cost centre identifier, category name, effective dating). An agent knows what the tool means but not what it will receive.

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% and both parameters (tenant_id, division_id) are well documented in-schema, including the 'narrow only, never widen' access caveat. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 exact resource and relationship: cost centres mapped to functional (cost-centre) reporting categories, with the domain purpose (input to the functional P&L) made explicit. It is clearly a lookup of mapping data rather than a list of cost centres (get_cost_centers) or account mappings (get_gl_account_mappings), though the verb is implied rather than stated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no routing to or from alternatives — an agent is not told to pair this with get_pnl_functional_summary or to use get_cost_centers when it wants the centres themselves. The functional-P&L framing implies a context, but nothing tells the caller when this tool is the right pick.

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