Skip to main content
Glama

Create report

create-report

Generates report facts from the ledger and marks the report as published. The report is the entity's whose chart mapping_id maps from; made from the consolidation entity's mapping it is the group's consolidated statements: every member summed in full with the consolidating entries, under the group parent's Reporting Style. A consolidated column cannot span a member joining or leaving the group.

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": {
      "name": "Q3 2026 Financials",
      "mapping_id": "map_01HVF8T0M2YTAY3BBNRH0V0",
      "period_end": "2026-09-30",
      "comparative": true,
      "period_type": "quarterly",
      "taxonomy_id": "tax_usgaap_reporting",
      "period_start": "2026-07-01"
    },
    "name": "create-report"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable report name shown in lists and headers.
periodsNoExplicit period columns. When set, overrides `period_start`/`period_end`/`comparative`. Use for multi-period layouts (YTD-by-quarter, multi-year, custom rolling windows).
entity_idNoThe entity the report is for, by id. Omit for the entity whose chart `mapping_id` maps from (the group parent on a one-entity graph). Named alongside a mapping of another entity's chart, it is refused. The consolidation entity's report is the group's consolidated statements.
mapping_idYesMapping structure that rolls up the tenant's chart of accounts to the taxonomy's reporting concepts. Created via `create-mapping-association` / `auto-map-elements`.
period_endYesCurrent-period end (inclusive). Must be >= `period_start`. Ignored when `periods` is supplied.
comparativeNoWhen true, automatically generates a prior-period column (same length as the current period). Ignored when `periods` is supplied.
period_typeNoPeriod cadence: `monthly`, `quarterly`, or `annual`.quarterly
taxonomy_idNoTaxonomy that defines the structures (BS / IS / CF / Equity / Schedules) this report can render. Accepts either an exact tenant-specific taxonomy UUID or a standard name (e.g. 'rs-gaap'). Standard names resolve to the latest reporting_standard taxonomy with that name. Defaults to 'rs-gaap', the canonical reporting vocabulary.rs-gaap
period_startYesCurrent-period start (inclusive). Ignored when `periods` is supplied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare a non-readonly, non-idempotent, non-destructive mutation. The description adds real domain behavior beyond that: which entity the report belongs to, how a consolidation-entity mapping yields group statements, and the constraint that a consolidated column cannot span a membership change. It does not say whether repeated calls create duplicate Report rows (notably relevant given idempotentHint=false) or what happens on mapping/taxonomy resolution failure.

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?

The lead sentence is well front-loaded, but the follow-on is a single sprawling, grammatically tangled sentence ('The report is the entity's whose chart `mapping_id` maps from; made from the consolidation entity's mapping it is the group's consolidated statements: ...') that is hard to parse. The content is valuable but the packaging undermines it.

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?

With 9 parameters, full schema coverage, and no output schema, the description covers the entity/consolidation domain well. It is incomplete on relationship to regenerate-report, duplicate-row behavior, and failure modes, which matter for a non-idempotent creation tool.

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%, so every parameter including the complex `periods` array is already documented in detail. The description only supplements `mapping_id`/`entity_id` with entity-resolution meaning, which is also present in the schema; the 3 baseline applies when the schema carries the weight.

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 opening sentence names a specific verb and resource ('Generates report facts from the ledger and marks the report as published'), which is clearly distinct from the delete-report and regenerate-report siblings. The remaining sentences pivot to entity-resolution rules rather than clarifying the core action, so the purpose is clear but muddied by dense domain prose.

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 explicit statement of when to call this rather than regenerate-report, which is the obvious adjacent tool for re-running the same pipeline. The 'marks the report as published' phrasing hints that this is the first-time creation path, but the agent must infer it, and no prerequisites or exclusions are given.

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.