Skip to main content
Glama

List dimensions

list-dimensions
Read-onlyIdempotent

The graph's management dimensions — departments, classes, locations, projects — and their members, the tags a ledger line can carry.

WHEN TO USE:

  • "What departments do we have?", "show the P&L by location": find the axis and its members first

  • Before tagging a journal line (dimension_ids on a line of a journal_entry_recorded event, or line_dimensions on update-journal-entry): a line takes a member's id, one per axis

  • Before create-dimension, to check the member is not there already

PARAMETERS:

  • dimension_type (optional): one axis, e.g. department; omit for all

  • include_inactive (optional, default false): also list retired members, which stay on the lines that carry them

RETURNS: dimensions: each member's id, dimension_type, name, value, source (native or quickbooks), is_active and line_count, by axis then name. types: the axes the graph has members on. An untagged line reads as its axis's Unallocated.

RELATED TOOLS:

  • live-financial-statement — dimension: {type} for an income statement with a column per member

  • create-dimension / update-dimension — add, rename or retire a member

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": "list-dimensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
dimension_typeNoOne axis: department, class, location, project, or another.
include_inactiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, and the description goes further by explaining that include_inactive exposes retired members that remain on existing lines, and that untagged lines read as their axis's Unallocated. It also describes the shape and ordering of the returned data. Minor gap: no note on result volume or whether the full set is always returned.

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?

Bold section headers (WHEN TO USE, PARAMETERS, RETURNS, RELATED TOOLS) make it scannable and front-load the purpose. Every section carries information an agent needs, though the density of inline code formatting makes it heavier than necessary.

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

Completeness5/5

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

With only two optional parameters and no output schema, the description fills the return-value gap explicitly (field list, ordering, types array, Unallocated fallback) and covers prerequisites and sibling routing. Nothing an agent needs in order to call this correctly is missing.

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 50% (dimension_type is documented in the schema, include_inactive is not). The description compensates by explaining that dimension_type selects one axis and omitting it returns all, and that include_inactive defaults to false and pulls in retired members. That is meaningful added meaning, but it stays close to the schema's own wording for dimension_type rather than, for example, enumerating valid axis values.

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?

The opening sentence states a specific resource (management dimensions and their members/tags) with concrete examples of axes (departments, classes, locations, projects) and the role members play on ledger lines. It is clearly distinguishable from create-dimension, update-dimension, and live-financial-statement, which are named and characterized.

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?

A dedicated WHEN TO USE block gives three concrete triggers, including user-phrased questions and a prerequisite workflow (fetch the axis and member id before tagging a journal line). It also states a check-before-create use case against create-dimension and points to related tools for the reporting and mutation paths.

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.