Skip to main content
Glama

Bsale MCP by usefulapi

Receive stock

bsale_create_stock_reception

WRITE: record a stock reception (ingreso de stock) that ADDS quantities to an office's inventory. Each line names the variant by id, SKU code or barcode, with quantity and unit cost. It changes stock levels and cost; Bsale has no undo through this API, so confirm the numbers first. POST /v1/stocks/receptions.json.

Input Schema

NameRequiredDescriptionDefault
noteNo
detailsYes
documentNoKind of incoming document, e.g. "Guia", "Factura", "Otro" (default "Otro").
office_idYesOffice (sucursal) receiving the stock.
document_numberNoNumber of the incoming document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, but the description adds genuinely new context: stock levels and cost are mutated, and there is no undo available through this API. That irreversibility warning is the most important thing an agent needs to know for a write tool. It still omits permission requirements, duplicate-submission risk (relevant given idempotentHint=false), and error behavior.

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?

Four short sentences, front-loaded with the WRITE marker and the additive behavior, then line structure, then the risk warning, then the endpoint. Every sentence carries distinct information with no repetition of the schema or title.

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 non-idempotent write tool with no output schema, the description covers what is mutated and that it cannot be reversed, which is most of what an agent needs. It falls short on what happens on failure or retry (important since the operation is not idempotent) and on how to identify offices, which siblings like bsale_list_offices would supply.

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?

With 60% schema coverage, the description compensates by explaining the mutually-exclusive identification semantics for each detail line (variant by id, SKU code or barcode) — a constraint the schema does not encode with any oneOf. It still leaves note, document and document_number unexplained beyond their short schema blurbs.

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?

States a specific verb and resource ('record a stock reception') plus the precise effect ('ADDS quantities to an office's inventory'), which is exactly what separates it from the read-only siblings like bsale_list_stocks. The parenthetical Spanish term and the WRITE prefix remove any ambiguity about operation type.

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

Usage Guidelines3/5

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

'Confirm the numbers first' implies a precondition before invoking, which is useful usage context. However, no alternatives are named and there is no explicit statement of when-not to use this (e.g. for transferring between offices or correcting a prior reception), so the guidance remains implied rather than explicit.

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.