Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

search_adjustments

Search and filter raw adjustment records within a project by period, type, status, or other criteria to retrieve specific subsets; use continuation tokens for pagination.

Instructions

Search/list raw adjustment records within a project. Supports filtering — see server instructions for filter syntax. Use this tool to look up a specific subset of adjustments by period, type, status, or other criteria. DO NOT use this tool to summarize or analyze adjustment data across periods or accounts — use the pivot_adjustments_* tools instead, which return pre-aggregated totals 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_adjustments"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoAdjustment name (text filter, default: [contains])
sinceNoOnly return records modified after this timestamp
numberNoAdjustment number/code (text filter, default: [contains])
periodIdNoFilter by period ID (ID filter, default: [eq])
referenceNoReference text (text filter, default: [contains])
descriptionNoAdjustment description (text filter, default: [contains])
collectionIdYesThe project ID
interimPeriodIdNoFilter by interim period ID (ID filter, default: [eq])
adjustmentStatusNoAdjustment status, e.g. "draft", "posted" (text filter, default: [contains])
adjustmentTypeIdNoFilter by adjustment type ID (ID filter, default: [eq])
continuationTokenNoPagination token returned by a previous call. Pass this to retrieve the next page of results.
isPreparedByClientNoWhether prepared by client — "true" or "false" (boolean filter)
includeDeprecatedItemsNoInclude deprecated adjustments (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 the pagination contract ('if a continuationToken is returned, pass it in the next call'), which is the main behavioral trap for this tool. It omits other traits an agent would want — that results are read-only, default ordering, page size, or any permission requirements — so it is strong but not exhaustive.

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?

Front-loaded with purpose, then the exclusion, then pagination — a sensible ordering with no filler. The middle sentence ('look up a specific subset ... by period, type, status, or other criteria') partially repeats the first sentence and could be trimmed, keeping it just short of top marks.

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 13-parameter read tool with no output schema and no annotations, the definition covers the pieces an agent most needs: filtering scope, pagination handling, and where filter syntax lives. It stops short of describing the shape of returned adjustment records or result ordering, which would matter when scanning pages.

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 one of the 13 parameters is already documented in the schema, including filter defaults and the continuationToken. The description only restates the filter axes at a high level and defers syntax to 'server instructions', adding little meaning beyond the structured fields.

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 ('Search/list raw adjustment records within a project') and explicitly separates itself from the pivot_adjustments_* siblings, so an agent can tell whether it wants raw records or aggregates without opening a schema.

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?

Gives positive conditions ('look up a specific subset of adjustments by period, type, status, or other criteria') and an explicit prohibition ('DO NOT use this tool to summarize or analyze ... use the pivot_adjustments_* tools instead'), with the reason (pre-aggregated totals, no pagination) that makes the choice clear.

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