Skip to main content
Glama
loldwyer

Red MCP Server

by loldwyer

brc_delete_sales_credit_note

Deletes a sales credit note by ID with a two-step confirmation process. First call returns a payload preview; retry with confirmWrite: true only after explicit user confirmation.

Instructions

Deletes a BRC sales credit note by id using timestamp confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSales credit note id.
companyNameYesCompany context name, for example YOUR-COMPANY-NAME.
confirmWriteNoMust be true only after a plain-English draft has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something.
confirmDeleteNo
Behavior4/5

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

With no annotations, the description carries full burden. It fully discloses the behavioral pattern: the mandatory preview step, the requirement for explicit user confirmation, and that a preflight call is not confirmation. It does not cover potential side effects (e.g., irreversibility or permissions), but the core interaction is well-explained.

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 detailed but necessary to explain the confirmation workflow. Every sentence serves a purpose; no fluff. Could be slightly shorter, but the complexity warrants the length.

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?

The description covers the confirmation mechanism well but lacks details on what happens after deletion (e.g., success response, error handling, whether it's a soft or hard delete). For a destructive operation, more behavioral context would be helpful.

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 75%, so baseline is 3. The description adds significant value for the confirmWrite parameter by explaining its semantics and the two-step process. It does not explain id or companyName beyond the schema, but the schema already has adequate descriptions for those.

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 ('Deletes a BRC sales credit note by id') and distinguishes this from other operations by specifying the unique timestamp confirmation process. It is 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 explicitly details the two-call workflow: first without confirmWrite to get a preview, then with confirmWrite only after user confirmation. It warns against treating preflight as confirmation. However, it does not compare to alternative deletion methods or explicitly state when not to use this tool.

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