Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

update_period

Update an existing accounting period within a project, including its name, number, dates, currency, and description.

Instructions

Update an existing accounting period 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_period"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe period ID
nameNoPeriod name
numberNoPeriod number or code
endDateNoPeriod end date (YYYY-MM-DD)
startDateNoPeriod start date (YYYY-MM-DD)
descriptionNoPeriod description
collectionIdYesThe project ID
currencyCodeNoCurrency code (e.g. usd, eur, gbp) all lowercase

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses nothing about permissions, reversibility, or what happens to optional fields that aren't sent. For an accounting-period mutation, knowing whether a closed or posted period can be modified matters a great deal, and nothing here addresses that.

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

Conciseness3/5

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

A single sentence with no filler and the scope stated up front is structurally sound. The problem is under-specification rather than wordiness, since the one sentence carries no operational detail an agent could act on.

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?

An eight-parameter mutation with no annotations and no output schema needs more than a one-line summary. The description never states partial-update behavior, what the call returns, or failure conditions, leaving meaningful gaps for a tool of this complexity.

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 eight parameters is already documented in the input schema, and the description adds nothing further about field semantics. The baseline of 3 applies because the schema does the heavy lifting and the description only contributes the project-scoping hint.

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?

The description gives a specific verb and resource ("Update an existing accounting period") and scopes it to a project, so the agent can tell it apart from create_period or delete_period on the name and the verb alone. It stops short of explicitly contrasting with those siblings or stating what makes an update valid.

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?

There is no guidance on when to choose update_period over delete_period plus create_period, nor any condition for when an update is allowed or rejected. It also doesn't say whether partial updates are permitted, so the agent must infer whether omitted optional fields are left unchanged or cleared.

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