Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

search_adjustment_line_items

Search raw adjustment line item records within a project by adjustment, account, amount, reference, or description; paginate results with continuation tokens.

Instructions

Search/list raw adjustment line item records within a project. Supports filtering — see server instructions for filter syntax. Use this tool to look up a specific subset of line items by adjustment, account, or amount. DO NOT use this tool to analyze adjustment activity across accounts or periods — use the pivot_adjustments_* tools instead, which return pre-joined and pre-aggregated data in a single response with no pagination. Results are paginated — if a continuationToken is returned, pass it in the next call to retrieve more.

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

Input Schema

NameRequiredDescriptionDefault
sinceNoOnly return records modified after this timestamp
amountNoFilter by amount (numeric filter, default: [eq])
accountIdNoFilter by account ID (ID filter, default: [eq])
referenceNoReference text (text filter, default: [contains])
descriptionNoLine item description (text filter, default: [contains])
adjustmentIdNoFilter by parent adjustment ID (ID filter, default: [eq])
collectionIdYesThe project ID
continuationTokenNoPagination token returned by a previous call. Pass this to retrieve the next page of results.
includeDeprecatedItemsNoInclude deprecated adjustment line items (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose key traits: results are paginated, a continuationToken must be fed back, and the data is raw/unanaggregated. It does not mention required permissions, default page size, or result ordering, so it stops short of full behavioral disclosure for a 9-parameter search tool.

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?

Four sentences, front-loaded with purpose, then usage, then the exclusion, then pagination. Each sentence carries distinct information. The only soft spot is the "see server instructions for filter syntax" pointer, which offloads rather than explains.

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 9-parameter search tool with no annotations and no output schema, the description covers what is returned conceptually (raw, unaggregated line items), how to page, and when to avoid it. The lack of any hint about the returned record shape or default result limit leaves a minor gap given 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 description coverage is 100%, so every parameter including filter defaults ([eq], [contains]) and includeDeprecatedItems is already documented. The description adds only the high-level statement that filtering is possible and defers filter syntax to server instructions, so it does not meaningfully extend schema semantics.

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?

"Search/list raw adjustment line item records within a project" gives a specific verb (search/list), a precise resource (adjustment line items), and scope (within a project, raw records). It is clearly distinguishable from sibling CRUD tools like get_adjustment_line_item and from the pivot_adjustments_* aggregators.

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

Usage Guidelines5/5

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

It states the positive case (look up a subset by adjustment, account, or amount) and the explicit negative case ("DO NOT use this tool to analyze adjustment activity across accounts or periods"), naming the alternative pivot_adjustments_* family with a reason: pre-joined, pre-aggregated, no pagination.

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