Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

create_adjustment_line_item

Create an adjustment line item in a project to record a debit or credit amount against a specific account, with optional description, reference, and sort order.

Instructions

Create a new adjustment line item within a project.

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": {
      "collectionId": "<collectionId>",
      "adjustmentId": "<adjustmentId>",
      "accountId": "<accountId>",
      "amount": "<amount>"
    },
    "name": "create_adjustment_line_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount (positive = debit, negative = credit)
ordinalNoSort order within the adjustment (auto-assigned if not provided)
accountIdYesThe account this line item affects
referenceNoReference code or identifier
descriptionNoDescription/memo for this line item
adjustmentIdYesThe parent adjustment this line item belongs to
collectionIdYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says a line item is created; it does not mention permissions, side effects, validation behavior, idempotency, error conditions, or what a successful creation returns. For a mutation tool with seven parameters, this is a significant gap.

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?

The description is a single front-loaded sentence with no redundant wording. It is efficient, though its brevity contributes to the gaps in usage and behavioral detail.

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

Completeness2/5

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

This is a mutation tool with seven parameters, four required fields, no annotations, and no output schema. The description does not explain required relationships such as collectionId being the project, adjustmentId being the parent, or what happens on success or failure. It is too thin for the tool's complexity.

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%, so all seven parameters are already documented in the input schema, including amount sign semantics, parent adjustment, project ID, and ordinal behavior. The description adds no additional parameter meaning, which meets the baseline of 3 when the schema does the heavy lifting.

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 uses a specific verb and resource: 'Create a new adjustment line item,' and adds the scope 'within a project.' This clearly distinguishes it from sibling tools like create_adjustment or update_adjustment_line_item, though it does not explicitly name alternatives.

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?

The description states what the tool does but gives no guidance on when to use it versus alternatives such as create_adjustment, update_adjustment_line_item, or other create_* tools. It also omits prerequisites, such as whether the parent adjustment or project must already exist.

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