Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

create_adjustment

Creates an adjustment header in a project so you can add line items separately for each entry.

Instructions

Create a new adjustment header within a project. To add line items, call create_adjustment_line_item for each line after this returns.

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>",
      "periodId": "<periodId>",
      "adjustmentTypeId": "<adjustmentTypeId>",
      "name": "<name>"
    },
    "name": "create_adjustment"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesAdjustment name
numberNoAdjustment number or code
periodIdYesThe period this adjustment belongs to
referenceNoReference code or identifier
descriptionNoAdjustment description
collectionIdYesThe project ID
adjustmentTypeIdYesThe ID of the adjustment type (foreign key). Use list_adjustment_types to look up valid IDs.
isPreparedByClientNoWhether this adjustment was prepared by the client

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it discloses one important trait, the ordering dependency with line-item creation, and implies a usable return value. It says nothing about required permissions, uniqueness constraints on name/number, or what happens on validation failure.

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

Conciseness5/5

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

Two short sentences with zero filler; the creation action and the follow-up dependency are each stated once and front-loaded.

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 an 8-parameter create tool with fully documented schema and no annotations, the description covers the essential workflow hook (this returns before line items can be added). It is slightly thin on return value and on the header-vs-update distinction, but no critical calling information 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 description coverage is 100% and every one of the 8 parameters is documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema, and notably does not restate which four fields are mandatory.

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 and resource ("Create a new adjustment header") and scopes it ("within a project"), and the word "header" explicitly separates it from the line-item tools in the sibling set.

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 an explicit sequencing rule: call this first, then call create_adjustment_line_item for each line after this returns. That is real workflow guidance rather than a restatement of the name, though it does not say when to prefer update_adjustment over creating a new header, nor address duplicate detection.

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