Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

update_adjustment_line_item

Updates an existing adjustment line item in a project, allowing changes to amount, sort order, reference code, or description.

Instructions

Update an existing 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>",
      "id": "<id>"
    },
    "name": "update_adjustment_line_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe adjustment line item ID
amountNoAmount (positive = debit, negative = credit)
ordinalNoSort order within the adjustment
referenceNoReference code or identifier
descriptionNoDescription/memo for this line item
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?

With no annotations at all, the description carries the full behavioral burden and does not meet it. For a mutation tool it never says whether omitted fields are preserved or cleared (partial vs full replace), whether the update is reversible, what permissions are required, or what happens to ordinal ordering when a value changes.

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?

One short sentence with the resource and mutation front-loaded and zero wasted words. Its brevity is efficient rather than padded, though it leaves the reader under-informed rather than over-informed.

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?

For a six-parameter mutation with no annotations and no output schema, the description supplies only the identity of the object. It omits the partial-update contract, side effects on sibling line items' ordering, and what the response contains, which an agent needs before calling it safely.

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 six parameters, including the debit/credit sign convention on amount and the uuid formats, are already documented in the schema. The description adds no meaning beyond that, which is the expected baseline when the schema does the work.

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 specific verb (update) and resource (adjustment line item) plus a scope qualifier (within a project), so the agent knows exactly what object is being mutated. It does not distinguish itself from the sibling update_adjustment or explain how it relates to the create/get/delete line-item tools, so it falls short of 5.

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?

No when-to-use guidance, no mention of when to prefer update_adjustment (header-level) over this line-item variant, and no stated prerequisites such as needing an existing line item. Usage is only implied by the word 'existing'.

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