Skip to main content
Glama

Create dimension

create-dimension

Add a member to a management dimension: a department, class, location or project (or an axis of your own) that ledger lines can carry, one member per axis per line. value is the member's stable key within its axis, a slug of the name when omitted; a second member with the same key returns 409. Tag lines with its id through dimension_ids on a journal line, and read the income statement by it with live-financial-statement's dimension.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dimension_type": "<dimension_type>",
      "name": "<name>"
    },
    "name": "create-dimension"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe member's label.
valueNoThe member's stable key within the axis; omitted, a slug of the name. Refused (409) when the axis already has it.
dimension_typeYesThe axis: `department`, `class`, `location` or `project`, or any other lowercase name, which starts an axis of its own. `scenario` is reserved for forecasts.

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 declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: duplicate-key collisions surface as 409, `value` defaults to a slug of the name, and `scenario` is reserved for forecasts. It stops short of describing auth requirements or the exact response payload.

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?

Two tight sentences, front-loaded with the core action and then the downstream usage, with no filler. There is mild duplication with the input schema's field descriptions, which slightly dilutes value but does not affect comprehension.

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?

For a three-parameter mutation tool with no output schema, the description supplies what is missing structurally: the uniqueness rule, the key default, the reserved axis, and how the resulting member id is consumed. The only gap is that it never states what the call returns (presumably the new member's id), which matters since there is no output schema.

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% and the field descriptions already state the slug default, the 409 refusal, and the reserved `scenario` axis, so the description mostly restates structured data. It does add conceptual framing ('stable key within its axis', 'axis of its own') that helps an agent reason about what makes a valid key, but no syntax or formatting detail beyond the schema.

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?

States a concrete verb and resource ('Add a member to a management dimension') and defines the object domain with examples (department, class, location, project, or a custom axis) plus the constraint 'one member per axis per line'. It does not explicitly contrast with the sibling 'update-dimension', so an agent must infer that boundary, but the operation itself is unambiguous.

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

Usage Guidelines4/5

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

Gives clear context for use: creating axis members that ledger lines will later carry, with a warning that re-using a key returns 409 (so re-creation is not the path for existing members). It points to the downstream consumers (`dimension_ids` on journal lines and `live-financial-statement`'s `dimension`) but never names the alternative for editing an existing member.

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.