Skip to main content
Glama
uk-kd

ychetlab-mcp

by uk-kd

Создать или изменить карточку склада

warehouse_save

Create new warehouse product or service cards or update existing ones, setting name, SKU, price, units, VAT, and initial stock. Current stock is calculated from operations.

Instructions

Без указания карточки создаёт новую, с указанием — меняет. Текущий остаток задать нельзя: он считается из операций. Меняют начальный остаток (initial_stock). НДС указывается процентом; пропустить поле — значит «без НДС».

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNoАртикул.
itemNoКакую карточку менять. Без него создаётся новая.
kindNoPRODUCT или SERVICE. При создании обязателен.
nameNoНазвание.
unitNoЕдиница измерения, по умолчанию «шт».
priceNoЦена числом в виде строки.
archivedNoУбрать в архив или вернуть.
businessNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, а при единственном деле — оно.
currencyNoКод валюты, по умолчанию RUB.
group_idNoИдентификатор группы склада.
vat_rateNoСтавка НДС в процентах, например "20".
descriptionNoОписание.
initial_stockNoНачальный остаток. Только для товаров.
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

The description adds meaningful behavior beyond annotations: current stock is computed from operations and cannot be set, only initial_stock can be changed, and VAT is specified as a percentage while omitting it means 'no VAT'. This significantly clarifies side effects and constraints without contradicting the annotations.

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 short, front-loaded sentences cover the core behavior and the most important caveats. There is no filler and every sentence earns its place.

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

Completeness5/5

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

For a 13-parameter upsert tool with 100% schema description coverage, the description is complete enough. It covers the central create/update distinction and the non-obvious domain constraints, while the schema already documents parameter-level details such as kind being required at creation.

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. The description adds extra semantic value by explaining that 'item' is the update selector, that 'initial_stock' is the only stock-related field that can be changed, and that 'vat_rate' uses percentage semantics with omission meaning no VAT.

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 states exactly what the tool does: creates a new warehouse card when no card reference is given and modifies an existing one when a card is specified. This clearly distinguishes it from sibling read/delete tools like warehouse_list, warehouse_get, and warehouse_delete.

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 first sentence gives explicit decision logic: use it to create when no card is specified, and to update when a card is specified. It also warns that current stock cannot be set, which prevents misuse. It does not explicitly name read/delete siblings as alternatives, but the usage context is clear.

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

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/uk-kd/ychetlab-mcp'

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