Skip to main content
Glama

Супермаркет САМПО

check_stock

Сколько штук можно заказать сейчас. Без авторизации.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "goods_id": "<goods_id>",
      "qty": "<qty>"
    },
    "name": "check_stock"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyYesСколько штук нужно
goods_idYesИдентификатор товара

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose one meaningful trait — no authorization is required — which usefully tells the agent this can be called pre-login. It says nothing about rate limits, read-only semantics, or what happens when qty exceeds available stock.

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?

Two short fragments with zero filler, and the core purpose is front-loaded. The terseness borders on under-specification rather than waste, but nothing can be trimmed.

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

Completeness3/5

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

For a simple 2-parameter tool with full schema coverage and no output schema, the description covers the essentials. It does not state what the response represents (a count? a boolean-plus-count?) or how partial availability is signaled, which matters for an agent deciding whether to proceed to create_checkout.

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 both goods_id and qty are already documented, making 3 the baseline. The description's phrase 'сколько штук можно заказать' loosely ties qty to the availability comparison but adds no format or constraint detail beyond the schema.

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 sentence 'Сколько штук можно заказать сейчас' answers a specific question (how many units are currently orderable), which maps directly onto a stock-check operation for the given goods_id and qty. The tool name reinforces this. It does not, however, differentiate itself from siblings like get_product or search_products, which also expose availability data.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus get_product, search_products, or quote_cart. The only contextual hint is 'Без авторизации', which suggests it can be used before login, but no explicit when/when-not guidance or alternative routing is provided.

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.

Resources