Skip to main content
Glama

Octobooks

Lay out a report

report_builder

Round 737 (feature 224). action: show (report by name or id, its rows, columns and figures; date_to); create (name, start: profit_and_loss, balance_sheet, cash_flow, budget_variance or blank); change (changes: a list of {op, ...}: add_row kind line|account|formula|heading|blank with key like pl.revenue, code, label, formula like "gross_profit / revenue * 100", fmt amount|percent, after; move_row row, to or direction up|down; hide_row, show_row, remove_row, row; edit_row row, label, note, accounts, formula; add_column kind actual|budget|formula, period, label, formula like "C1 - C2"; move_column column, to or direction left|right; hide_column, show_column, remove_column, edit_column; set_notes notes; set_to to); undo; schedule (rhythm weekly|monthly|quarterly, send_to); schedule_end. Works for the page Saved reports: schedule takes any saved report; run one with report saved=.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "report_builder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
startNo
actionNoshow
reportNo
rhythmNo
changesNo
companyNo
date_toNo
messageNo
send_toNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the agent knows this mutates local state without external side effects. The description adds real substance beyond that: the granular change ops (add_row, move_row, hide_row, remove_row, edit_row, and column equivalents), the existence of an 'undo' action, and the scheduling behavior with send_to recipients. It does not say whether removals are recoverable outside of undo, nor what the response contains after a change batch, so it stays at adequate rather than rich.

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?

Information density is high and little is wasted, but the structure is a single telegraphic run-on built from nested parentheses and semicolon-separated ops, which is hard for an agent to parse into discrete action branches. The action list is front-loaded, which is good, yet the embedded 'Round 737 (feature 224)' and the dense change-op blob work against scannability.

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 10-parameter tool with nested change objects, the description covers the dominant complexity: the action enum, the change-op vocabulary and its arguments, and the scheduling path. An output schema exists, so return values need not be described. Completeness is only slightly short because 'company' and 'message' go undefined and the interaction between 'undo' and prior change batches is unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 10 parameters, so the description carries the full burden and largely meets it: action values are enumerated, 'changes' is expanded into a list of {op, ...} with per-op arguments and field names (key, code, label, formula, fmt, after, to, direction), 'start' is given as a template set plus 'blank', and rhythm/send_to are shown with example values. Gaps remain for 'company' and 'message', which are never mentioned, and for the exact identifier formats accepted by 'name' vs 'report'.

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 concrete verb set and resource: build/lay out a report via action modes show, create, change, undo, schedule, schedule_end, and it names the concrete objects being manipulated (rows, columns, formulas, notes). It also implicitly distinguishes itself from the sibling 'report' tool by noting 'run one with report saved=<name>' for execution. The leading 'Round 737 (feature 224)' is internal noise that dilutes the opening but does not obscure the purpose.

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 conveyed mostly through the action enumeration: use 'show' to inspect, 'create' to start from a template like profit_and_loss, 'change' to mutate layout, 'schedule' for recurring delivery. The one explicit routing hint is that scheduling applies to any saved report and that running a report is done with the sibling 'report' tool. There is no explicit when-not guidance, no statement of prerequisites or ordering constraints (e.g. must a report exist before 'change'), which leaves sequencing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources