Skip to main content
Glama
BigRedCloud

Red MCP Server

Official
by BigRedCloud

brc_update_prepayment

Update an existing parent prepayment using its ID and retrieved timestamp. User confirmation is required before writing changes.

Instructions

Updates an existing parent Prepayment by id. Use brc_get_prepayment first to retrieve the current prepayment and timestamp. Child prepayments are not exposed by the public API. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed the update.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesParent prepayment id.
totalYesPrepayment total amount.
acCodeYesNominal account code, for example 4000.
procDateYesProcessing date, for example 2024-03-15T00:00:00.
entryDateYesEntry date, for example 2024-03-01T00:00:00.
referenceYesPrepayment reference, for example PRE0001.
timestampYesBase64 timestamp returned by the prepayment, for example bgUcQIbL3gg=.
companyNameYesCompany context name, for example YOUR-COMPANY-NAME.
firstDetailNoFirst detail text.
confirmWriteNoMust be true only after the user explicitly confirms updating this prepayment.
secondDetailNoSecond detail text.
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses that updates are not immediate without confirmWrite=true, acting as a safety guard. Mentions timestamp parameter implied for optimistic concurrency. Lacks explicit statements on authentication, error handling, or idempotency, but covers key behavioral constraints adequately.

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?

Three sentences: purpose, prerequisite, and critical warning. Every sentence adds unique value. No filler. Front-loaded with the core action, then supporting guidance.

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?

No output schema, so return value is unknown, but the update flow and safety mechanism are well described. Includes prerequisite call and user confirmation requirement. Lacks error scenarios or post-update behavior, but given the tool's complexity, the description covers essential operational context.

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 description coverage is 100%, baseline 3. Description adds meaning by connecting parameters to the update flow: timestamp from brc_get_prepayment is used for concurrency, and confirmWrite must be user-verified. Also clarifies that 'id' refers to parent prepayment. This enhances understanding beyond schema alone.

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 it updates an existing parent Prepayment by id, distinguishing it from creating or deleting prepayments. It also specifies the scope (parent only) and prerequisite usage of brc_get_prepayment, which clarifies the resource and action.

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?

Explicitly instructs to first retrieve the prepayment via brc_get_prepayment, implying a two-step process. Warns against calling with confirmWrite=true until user confirmation, providing clear usage boundaries. Also notes child prepayments are inaccessible through public API, preventing misuse.

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/BigRedCloud/red-mcp-server'

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