Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

delete_period

Deletes an accounting period from a project using the required ETag for optimistic concurrency control to avoid conflicting updates.

Instructions

Delete an accounting period from a project. Requires the ETag for optimistic concurrency control.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe period ID
etagYesThe ETag value (from the _etag field) for optimistic concurrency
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?

No annotations are provided, so the description carries the full behavioral burden. It discloses that optimistic concurrency is enforced via ETag, but for a destructive operation it says nothing about whether deletion is permanent, whether child records (adjustments, balances) are cascaded, or what happens on an ETag mismatch.

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 with the destructive action stated first and the concurrency precondition second. Nothing is wasted and the most important information is front-loaded.

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 destructive, unannotated mutation with no output schema, the description should cover irreversibility and cascade effects, and it does neither. Parameter documentation is fully handled by the schema, but the behavioral gaps around a delete operation are significant.

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%, with all three parameters documented in the schema itself, so the baseline is 3. The description's mention of the ETag requirement restates what the schema already explains and adds no new meaning about id, collectionId, or etag format.

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 states a specific verb and resource ('Delete an accounting period') and scopes it to a project, which separates it from the create/get/update_period siblings and from the other delete_* tools targeting accounts, entities, or adjustments. It stops short of naming an alternative or a boundary case, so it is clear but not fully differentiated.

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 delete a period versus updating or closing it, no mention of prerequisites such as permissions or period state, and no warning about irreversibility. The only stated requirement (an ETag) is a precondition rather than usage guidance, and it is already in the schema.

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