Skip to main content
Glama

Один заказ

smartup_order
Read-onlyIdempotent

Retrieve complete order details by deal or external number, including header, items, and status, to answer what an order contains or why it hasn't shipped.

Instructions

Один заказ целиком по номеру сделки или внешнему номеру: шапка, состав, статус. Отвечает на «что в заказе 283581248», «почему заказ не отгружен».

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoПо какую дату искать. По умолчанию сегодня
beginNoС какой даты искать. По умолчанию 60 дней назад
deal_idNoНомер сделки в учётной системе
external_idNoВнешний номер, под которым заказ создавала внешняя система
filial_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds useful context about what the tool returns (header, composition, status) and its intent to explain why an order was not shipped. No contradictions with 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?

Two concise sentences with examples and no filler. The core behavior and lookup identifiers are front-loaded.

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?

Given the annotations and schema, the description is largely sufficient for selecting and invoking the tool. Minor gaps remain around what happens when both identifiers are provided or when neither is provided, and filial_code is undocumented.

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 80%, so the schema already documents most parameters. The description reinforces deal_id/external_id as lookup keys but adds no extra meaning for filial_code or the begin/end date behavior.

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?

Description states a clear retrieval purpose: 'Один заказ целиком' by deal or external number, and names the return contents (header, lines, status). It distinguishes itself from the plural-list sibling smartup_orders and the status-focused smartup_order_status.

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?

Concrete example queries ('что в заказе 283581248', 'почему заказ не отгружен') make the intended use case clear Acronyms. It does not explicitly name alternatives or say when not to use the tool, so it falls short of a 5.

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