Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

update_adjustment

Update an existing adjustment header in a project by changing its name, number, period, reference, description, type, or client-prepared status; manage line items separately.

Instructions

Update an existing adjustment header within a project. Line items are managed separately via the *_adjustment_line_item tools.

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>",
      "id": "<id>"
    },
    "name": "update_adjustment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe adjustment ID
nameNoAdjustment name
numberNoAdjustment number or code
periodIdNoThe period this adjustment belongs to
referenceNoReference code or identifier
descriptionNoAdjustment description
collectionIdYesThe project ID
adjustmentTypeIdNoThe 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

A3.7/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 behavioral burden, and it only says 'update'. It never states whether this is a partial update or full replacement, what happens to omitted fields, whether the operation is reversible, or what errors occur when the ID is unknown — all material for a mutation on a header record.

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, zero filler, and the most decision-relevant constraint (header only, not line items) is front-loaded right after the purpose statement.

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 9-parameter mutation with no annotations and no output schema, the header-versus-line-item split covers the biggest ambiguity, but update semantics (partial vs full, field clearing) and failure behavior are left unaddressed. Adequate to invoke, thin for invoking correctly.

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 each of the 9 parameters is documented in-schema, including a pointer to list_adjustment_types for adjustmentTypeId. The description adds no further meaning beyond the schema, so the baseline of 3 applies.

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 description names a specific verb and resource ('Update an existing adjustment header') and immediately bounds the scope to the header, explicitly separating it from line-item data. That contrast with the *_adjustment_line_item siblings lets an agent pick the right tool without reading either schema.

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?

It gives an explicit exclusion — line items go through the *_adjustment_line_item tools — which is real routing guidance and prevents the most likely mis-selection. It stops short of stating prerequisites (the adjustment must already exist, collectionId must match) or when to prefer create_adjustment over this.

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