Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

get_period

Retrieve a single accounting period by its ID within a specific project, using the project ID and period ID to fetch the correct period record.

Instructions

Get a single accounting period by ID 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": "get_period"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe period ID
collectionIdYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. 'Get' plus the read-only framing implies a safe read with no mutation, but the definition says nothing about authorization scoping, behavior when the ID is unknown, or what a period record contains.

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?

A single front-loaded sentence with no wasted words. The resource and its two scoping qualifiers appear before anything else.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a low-complexity single-record read with fully documented parameters, the definition is serviceable but thin. With no output schema, an agent receives no information about the returned period object or error behavior, which is the main remaining gap.

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 coverage is 100%, with both parameters documented exactly as the description uses them ('by ID within a project' maps to id and collectionId). The description adds no format, default, or edge-case meaning beyond the schema, so the baseline of 3 applies.

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?

A specific verb plus resource ('Get a single accounting period') with scoping ('by ID within a project'). This clearly separates it from the create/update/delete period siblings, though it does not name a list-periods alternative because none exists in the catalog.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the single-item fetch versus the mutation siblings. There is no explicit statement of when to prefer it over other retrieval tools or what prerequisites (such as project access) are needed.

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