Skip to main content
Glama
loldwyer

Red MCP Server

by loldwyer

brc_create_nominal_journal_batch

Creates a nominal journal batch requiring balanced debit and credit lines. User must review a draft and explicitly confirm before the batch is written.

Instructions

Creates a new Nominal Journal Batch. The journal should contain balanced debit and credit lines. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed creation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYesTotal journal amount.
procDateYesProcessing date, for example 2024-01-15T00:00:00.
entryDateYesEntry date, for example 2024-01-15T00:00:00.
companyNameYesCompany context name, for example YOUR-COMPANY-NAME.
confirmWriteNoMust be true only after the user explicitly confirms creating this Nominal Journal Batch.
bookTranTypeIdNoBook transaction type id. Nominal Journal Batch is usually 7.
accountTransactionsYesNominal journal account transaction lines. Debits and credits should balance.
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions the journal should be balanced and gives confirmWrite instructions, but it is ambiguous whether the tool creates a draft or requires confirmWrite to finalize. The first sentence 'Creates a new Nominal Journal Batch' may conflict with the later instruction, as it's unclear if creation occurs immediately or only after confirmation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with two sentences, no fluff, and front-loads the primary action. Every sentence serves a purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool creates a financial journal batch with 7 parameters and no output schema, the description should explain the outcome (e.g., returns batch ID or status), clarify the draft vs. final creation behavior, and possibly mention error conditions. It fails to do so, leaving gaps for the agent.

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 baseline is 3. The description adds value beyond schema by explaining the need for balanced debit/credit lines and the proper use of confirmWrite, which helps the agent understand constraints not fully captured in parameter 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?

The description clearly states the action 'Creates a new Nominal Journal Batch' and specifies the resource. It also distinguishes from sibling tools by being specific to nominal journal batches, and the guidance on balanced lines and confirmWrite adds clarity.

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 on when not to use confirmWrite=true (until user confirms), implying a two-step workflow. It does not mention alternatives or when to use other batch creation tools, but for this tool alone, it is adequate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/loldwyer/Red'

If you have feedback or need assistance with the MCP directory API, please join our Discord server