Skip to main content
Glama

Create information block

create-information-block

Generic Information Block construction entry. block_type selects the registered block type; payload is validated against that type's creation schema at dispatch. Only schedule and forecast are constructed here; the other block types raise 501 with a hint naming their own operation (statements: create-report; disclosure and metric structures: create-taxonomy-block). Authoring schedules for a close? Call get-close-playbook (mode='initiate') first — one schedule is a single debit/credit element pair, so multi-line entries become multiple schedules, and element ids must be real (discover via get-graph-schema / get-unmapped-elements / suggest-mapping).

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": {
      "payload": {
        "name": "Office Building Depreciation",
        "period_end": "2030-12-31",
        "element_ids": [
          "<depreciation_expense_element_id>",
          "<accumulated_depreciation_element_id>"
        ],
        "period_start": "2026-01-01",
        "entry_template": {
          "entry_type": "adjusting",
          "debit_element_id": "<depreciation_expense_element_id>",
          "credit_element_id": "<accumulated_depreciation_element_id>"
        },
        "monthly_amount": 83333
      },
      "block_type": "schedule"
    },
    "name": "create-information-block"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesVariant payload — its shape depends on `block_type`. Use the anyOf option whose title matches your `block_type`. The example request bodies show complete, valid payloads.
block_typeYesDiscriminator — selects the variant. Allowed values: balance_sheet, cash_flow_statement, comprehensive_income, equity_statement, forecast, income_statement, metric, reconciliation, regulatory_disclosure, schedule.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (write, non-idempotent, non-destructive, closed-world), the description discloses dispatch-time validation semantics and the 501-with-hint failure mode for unsupported block types, plus the structural constraint that one schedule is a single debit/credit pair so multi-line entries require multiple schedules. It stops short of saying what is returned on success or whether a created block is reversible/editable, which would complete the behavioral picture.

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?

Front-loaded with purpose, then constraints, then workflow guidance — a sensible order in one dense paragraph with no filler sentences. Slightly overpacked: the parenthetical sibling mapping and the element-id discovery list could be split for scannability, but every clause carries information.

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 two-parameter tool with a deeply nested discriminated payload and no output schema, the description covers dispatch behavior, unsupported-type routing, and pre-work requirements well. The remaining gap is the return contract (what identifies the created block, or what a validation rejection looks like), which is not covered by an output schema.

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 baseline is 3, but the description adds meaning the schema does not: the block_type enum lists ten values while only schedule and forecast actually construct, and the "one schedule = one debit/credit pair" rule changes how the payload must be shaped. The element-id-vs-qname caveat is partially redundant with the schema's own field descriptions.

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?

Opens with a specific verb+resource ("Generic Information Block construction entry") and immediately narrows the scope: block_type selects the registered type and payload is validated against that type's creation schema at dispatch. It further distinguishes itself from siblings by naming exactly which block types it constructs here (schedule, forecast) and which raise 501 with pointers to create-report and create-taxonomy-block.

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

Usage Guidelines5/5

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

States explicit when-not conditions (statements, disclosure, metric structures → different tools) and a prerequisite workflow for the main use case: call get-close-playbook with mode='initiate' before authoring schedules. It also directs discovery of required element ids to get-graph-schema / get-unmapped-elements / suggest-mapping, leaving little 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.