Skip to main content
Glama

TooManyGifts — корпоративные подарки и мерч

search_products

Read-onlyIdempotent

Ищет в гостевом каталоге. В query передайте название товара в единственном числе, марку модели или точный артикул; при точном поиске также заполните sku. matches содержит подтверждённые варианты из ограниченной выборки. alternatives — варианты с неподтверждёнными условиями, identified — идентификация SKU, unverified — ссылки при сбое карточки. Учитывайте состав заказа и склад.

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": {
      "quantity": "<quantity>",
      "query": "<query>"
    },
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoТочный артикул варианта или товара
sizeNo
briefNoПо желанию передайте сюда исходную товарную формулировку для разбора пилота. Исключите контакты, секреты и историю чата. При поиске действуют query и структурированные условия.
limitNoКоличество моделей в ответе: от 1 до 5
queryYes
regionNoТочное название склада, например Москва или Санкт-Петербург
quantityYes
printModeNoБез нанесения: unbranded. Дополнительное нанесение: additional. Штатная комплектация: as_listed.as_listed
maxUnitRubNoПредел за единицу товара в указанной комплектации, без дополнительных услуг
requiredByNoДата получения; публичная карточка не гарантирует доставку
standaloneNoОтдельный заказ исключительно из этой позиции
maxGoodsRubNoПотолок на товар всей партии, дополнительные услуги сверх этого бюджета
maxTotalRubNoЖёсткий потолок полной суммы партии со всеми запрошенными услугами

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. Beyond that, the description discloses meaningful result semantics: matches are only confirmed variants from a limited selection, alternatives carry unconfirmed conditions, and unverified means the card fetch failed. That tells the agent how much confidence to place in each bucket, which annotations cannot convey.

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?

The action is front-loaded in the first sentence, followed by input guidance and then a compact decoding of the four response buckets. Most sentences carry information an agent needs; the only weak line is the trailing 'consider order composition and warehouse', which is vague filler that adds little.

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?

With 13 parameters and no output schema, the description usefully explains the return bucket names, which compensates for the missing output schema. However, for a complex commerce search it omits result ordering, how filters combine (query vs structured conditions is only hinted at), and behavior for the budget/date constraints, leaving meaningful gaps.

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 coverage is 77%, so the schema already documents most parameters, making 3 the baseline. The description adds real meaning for query (singular form, brand, or exact SKU) and for when sku should also be supplied. It says nothing about limit, region, the printMode enum, the three budget ceilings, requiredBy, or standalone, leaving those to 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 first sentence gives a specific verb and scope: it searches a guest catalog for products. The query sentence further pins down what kind of input it accepts (singular product name, model brand, or exact SKU). It does not distinguish itself from the sibling get_product, so an agent must infer the split between searching and fetching a known product.

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?

Guidance is limited to input usage: pass the product formulation in query, and also fill sku when doing an exact lookup. There is no statement of when to prefer this tool over get_product, no exclusion for cases where a direct SKU fetch is better, and the closing 'consider order composition and warehouse' is too vague to route behavior.

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