Skip to main content
Glama

Regenerate report

regenerate-report
DestructiveIdempotent

Rewrites a Report's live columns from the latest ledger state. A column whose period the books have closed is frozen and keeps its facts; an open column already follows the ledger on every read, so pass period_start/period_end/periods to change the reporting window, which drops the frozen facts of any window no column states.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "report_id": "rpt_01HVF8T0M2YTAY3BBNRH0V0"
    },
    "name": "regenerate-report"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodsNoNew explicit period columns. Overrides `period_start`/`period_end` when supplied.
report_idYesThe Report to regenerate.
period_endNoNew current-period end. Optional — omit to keep the existing window.
period_startNoNew current-period start. Optional — omit to keep the existing window.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true but say nothing about what is destroyed; the description fills exactly that gap by stating that changing the window 'drops the frozen facts of any window no column states' while closed-period columns keep their facts. That is real behavioral context beyond the structured fields, with no contradiction.

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?

Two sentences, front-loaded with the core action and then the mechanism. The second sentence is long and nested ('which drops the frozen facts of any window no column states'), costing some readability, but no sentence is filler.

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 destructive, idempotent mutation with no output schema, the description covers the crucial risk (lost frozen facts on window changes) and the column-state model. It omits permission/auth requirements and any indication of what the call returns, which keeps it from being fully complete.

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 coverage is 100%, so the per-parameter meanings are already documented (including that periods overrides period_start/period_end). The description still adds value by explaining the consequence of supplying them — retargeting the reporting window and discarding frozen facts outside it — which the schema does not say.

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 ('Rewrites a Report's live columns from the latest ledger state') and goes further by explaining the frozen-vs-open column model, which effectively distinguishes this mutation from read-oriented siblings like get-report-bundle and from create/delete-report.

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

Usage Guidelines4/5

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

It implies when this call is unnecessary ('an open column already follows the ledger on every read') and when it matters (frozen closed columns, or changing the reporting window via period_start/period_end/periods). It stops short of naming an alternative tool or stating explicit prerequisites, so it is strong but not a full when/when-not/alternative matrix.

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.