Skip to main content
Glama
1C OData MCP

1C OData MCP

Склады

read.catalog.list_warehouses
Read-only

Lists warehouses from a 1C catalog with name and exact type filters, returning Ref_Key, name, type, folder path, and deletion status; supports folders, deleted records, and pagination.

Instructions

Список складов справочника: ref (Ref_Key — для warehouses в get_warehouse_stock и get_sales_register), name, type (ТипСклада: РозничныйМагазин, ОптовыйСклад… — если поле есть в базе), path — путь папки, isFolder, deletionMark. Отбор: query — часть названия (без учёта регистра, ё как е), type — точный тип, kind — warehouses (по умолчанию), folders или all; помеченные на удаление не показываются без includeDeleted=true. Здесь все склады, в том числе без остатка и продаж. Набор складов (например, основные склады магазинов) собирайте по этим полям сами. count — всего; длинный список читайте с offset=nextOffset.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read.catalog.list_warehouses"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNowarehouses — склады (по умолчанию), folders — папки, all — всёwarehouses
typeNoТип склада, точно: РозничныйМагазин, ОптовыйСклад…
limitNoСколько строк вернуть
queryNoЧасть названия склада
offsetNoС какой строки начать (0 — с начала); значение из nextOffset прошлого ответа
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
includeDeletedNoПоказывать помеченные на удаление

Output Schema

NameRequiredDescriptionDefault
noteNo
scanYes
countYes
itemsYes
databaseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint, so the description's job is to add behavior — and it does: deletion-marked records are hidden unless includeDeleted=true, the listing is exhaustive rather than only active warehouses, and long results are paged via offset=nextOffset with count giving the total. It does not discuss database resolution or ordering, but the disclosed behaviors are the operationally important ones.

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?

A single dense paragraph that front-loads row shape, then filters, then the caveat about exhaustive scope, then pagination — each sentence carries distinct information with no repetition of the schema.

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 7-parameter read tool with a full output schema and read-only annotations, the description covers scope, filtering, deletion handling and pagination, which is what an agent needs to call it correctly. Only minor gaps remain (row ordering, behavior of the `database` parameter, which the schema already documents).

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, but the description adds real meaning beyond the schema: query is case-insensitive and treats ё as е, kind defaults to warehouses, type must match exactly, and offset should come from the previous response's nextOffset. It also explains that `ref` is the Ref_Key consumed by other tools, which the schema does not.

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 opens with a specific verb+resource ("Список складов справочника") and immediately enumerates the shape of a row (ref, name, type, path, isFolder, deletionMark). It also disambiguates from the stock/report siblings by stating that `ref` is the Ref_Key used by `get_warehouse_stock` and `get_sales_register`, and that this tool returns all warehouses including those with no stock or sales.

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?

It states when to use each filter (query for partial name, type for exact type, kind for warehouses/folders/all) and explicitly warns that grouped sets such as "основные склады магазинов" must be assembled by the caller from these fields. It stops short of naming an alternative tool to use when aggregated/stock data is actually wanted, so the routing guidance is clear but not exhaustive.

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

Deploy Server

Other Tools