Skip to main content
Glama

b24_sale_order_list

Read-onlyIdempotent

List store orders with pagination, sorting, and filters for status, date, user, and price. Returns a paginated order envelope to browse or sync sales data.

Instructions

List store orders (sale.order.list) with pagination.

Common filter keys: id, statusId, '>=dateInsert', userId, '>=price'. Returns a pagination envelope of order objects.

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": "b24_sale_order_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoSort object, e.g. {'ID':'DESC'} or {'DATE_CREATE':'ASC'}.
startNoPagination offset (page size is 50). Use 'next' from a prior response.
filterNoBitrix filter object. Keys may carry operator prefixes: '>', '<', '>=', '<=', '!', '%' (substring), '=%', e.g. {">=DATE_CREATE": "2026-01-01", "%TITLE": "draft"}.
selectNoFields to return, e.g. ['ID','TITLE','*','UF_*']. Omit for defaults.
fetch_allNoAuto-paginate and return all matching records (capped by BITRIX_MAX_PAGES, default 40 pages = 2000 records). Use a filter to keep this bounded.
webhook_urlNoOverride the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default.
personal_webhookNoAct as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that results come back as a pagination envelope, but omits the fetch_all cap behavior (which lives only in the schema) and says nothing about permission or webhook behavior, which are the non-obvious traits of this tool.

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?

Three short lines: purpose first, then filter keys, then return shape — front-loaded and free of filler. The middle line is telegraphic and slightly ambiguous about whether those keys are required or merely frequent, which costs a point.

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?

With an output schema present, the return-value explanation is optional and the pagination-envelope note suffices. Combined with 100% schema coverage and rich annotations, the description is adequate for a 7-parameter read tool, though it could note the fetch_all record cap and webhook precedence implications for the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents order, start, filter, select, fetch_all, and both webhook parameters thoroughly. The description adds a short list of 'common filter keys' (id, statusId, '>=dateInsert', userId, '>=price'), which is marginally useful but uses naming (lowercase 'dateInsert') that does not match the schema's DATE_CREATE example, limiting its added value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('List store orders') and names the underlying REST method (sale.order.list), plus the pagination trait. It does not explicitly contrast with the sibling b24_sale_order_get, but 'List' vs 'get' is clear enough for an agent to choose correctly.

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?

Usage is only implied: the filter-key list and the warning 'Use a filter to keep this bounded' for fetch_all hint at intended workflows. There is no explicit statement of when to prefer this over b24_sale_order_get or other list tools, and no stated prerequisites.

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