Skip to main content
Glama

run_statement

Run a financial statement — P&L, variance report, or executive summary. Rows are statement lines (Revenue, Direct Cost, Gross Margin, …); columns are scenarios. Supports an optional dimension breakdown (e.g. by period or cost centre). For an unspecified general P&L, prefer full_pnl when it is listed by precis_orientation. Give every scenario a concise, user-facing alias such as Actuals, Budget, Variance, or Var %. Shows the user a formatted table.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNo
layoutNoreport
targetNo
filtersNo
decimalsNo
filenameNo
overwriteNo
scenariosNo
statementNo
dimensionsNo
period_endNo
sheet_nameNo
period_startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It mentions the tool shows a formatted table, but does not disclose whether it is read-only, requires authentication, or has rate limits. The behavioral disclosure is adequate but incomplete.

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?

The description is five sentences that front-load the main purpose and add essential usage hints. Each sentence adds value without fluff, though slightly more structure could help scanning.

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?

Given 13 parameters, no output schema, and no annotations, the description explains the output format (formatted table) but leaves many parameters and behavioral aspects unspecified. It is adequate for basic understanding but not thorough.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It explains the 'scenarios' parameter with alias examples and 'dimensions' with breakdown examples, but 13 parameters exist and most (e.g., scale, layout, filters, decimals, period_start) are not explained. The added meaning is insufficient for the parameter count.

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?

The description clearly states the tool runs a financial statement (P&L, variance report, executive summary) and explains row/column structure. It also distinguishes from full_pnl for general P&L, clarifying when to use an alternative. The verb and resource are specific and unambiguous.

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?

The description provides explicit guidance to prefer full_pnl for a general P&L when available and advises giving scenarios concise aliases. However, it does not contrast with other sibling tools like run_metric or list_scenarios, so coverage of alternatives is partial.

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.