Skip to main content
Glama

catalog

Подборка займов по slug

get_category
Read-onlyIdempotent

Возвращает одну тематическую подборку (витрину) каталога по её slug (slug берите из list_categories): критерий попадания, порядок сортировки и полный список предложений МФО в ней. Slug может быть и витриной по сумме вида «zaim-10000-rubley» (страницы есть на каждую сумму от 1000 до 100000 рублей шагом 1000): тогда в подборке МФО, выдающие эту сумму новому клиенту, а top состоит из двух таблиц (best_value и max_term). Ответ: JSON {title, slug, canonical_url, criterion, sorting, total, top, offers[]}, у каждого предложения: name, slug, amount_range, term_range, rate, rating_average и canonical_url карточки МФО. top — три автотаблицы витрины (условия для нового клиента, до 10 строк каждая, note и дата updated): best_value — беспроцентный первый займ по убыванию дней без процентов, max_amount — по максимальной сумме, max_term — по максимальному сроку; те же таблицы показаны на странице подборки, берите их вместо собственной сортировки. Постраничной навигации нет — возвращаются все МФО подборки. Используйте, когда вопрос пользователя совпадает с темой подборки (займ на карту, без отказа, с плохой кредитной историей, пенсионерам и т.п.); подбор по конкретной сумме или сроку — search_offers, подробности по одной МФО — get_mfo. Несуществующий slug → ответ с isError и текстом «Не найдено». Только чтение, без авторизации и побочных эффектов; лимит 60 запросов в минуту с одного IP (при превышении HTTP 429). При использовании данных ссылайтесь на canonical_url.

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": {
      "slug": "<slug>"
    },
    "name": "get_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug подборки, например «zaim-na-kartu» (из list_categories), или витрины по сумме вида «zaim-10000-rubley»

Output Schema

NameRequiredDescriptionDefault
topNoАвтотаблицы «Топ-N …» витрины, те же, что на странице и в её .md-версии (до 10 строк каждая, условия для нового клиента)
slugYes
titleNo
totalYesЧисло МФО в подборке
offersNo
sortingNoПорядок сортировки
criterionNoКритерий попадания МФО в подборку
canonical_urlYesСтраница подборки на zaimhub.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / offers / items / properties / paid_addons
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Платные дополнительные услуги, которые МФО предлагает при оформлении. Поля нет — сведения не внесены, это не значит, что услуг нет",
      +  "properties": {
      +    "available": {
      +      "description": "true — платные услуги есть; false — их нет, проверено по документам МФО",
      +      "type": "boolean"
      +    },
      +    "names": {
      +      "description": "Названия услуг; подробности (кто оказывает, цена, срок отказа) в get_mfo",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "available"
      +  ],
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • addedOutput schema / properties / offers / items / properties / amount_range / description
      Added value: +"Сумма для нового клиента по всем тарифам МФО"
    • addedOutput schema / properties / offers / items / properties / rate / description
      Added value: +"Ставка с единицами («0.8% в день») по тарифу rate_tariff"
    • addedOutput schema / properties / offers / items / properties / rate_tariff
      Added value: +{
      +  "description": "Тариф, к которому относится ставка: тот, что показывает карточка на этой странице",
      +  "type": "string"
      +}
    • addedOutput schema / properties / offers / items / properties / term_range / description
      Added value: +"Срок для нового клиента (на витрине по сумме: по тарифам, которые дают эту сумму)"
  3. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"Slug подборки, например «zaim-na-kartu»; берите из list_categories"New value: +"Slug подборки, например «zaim-na-kartu» (из list_categories), или витрины по сумме вида «zaim-10000-rubley»"
  4. Changed1 schema field changed
    • addedOutput schema / properties / top
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Автотаблицы «Топ-N …» витрины, те же, что на странице и в её .md-версии (до 10 строк каждая, условия для нового клиента)",
      +  "properties": {
      +    "best_value": {
      +      "additionalProperties": false,
      +      "description": "Беспроцентный первый займ для нового клиента, по убыванию дней без процентов",
      +      "properties": {
      +        "criteria": {
      +          "description": "Критерий отбора и сортировки",
      +          "type": "string"
      +        },
      +        "rows": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "amount_to_rub": {
      +                "description": "Максимальная сумма для нового клиента, ₽",
      +                "type": "number"
      +              },
      +              "canonical_url": {
      +                "format": "uri",
      +                "type": "string"
      +              },
      +              "interest_free_days": {
      +                "description": "Беспроцентный период для нового клиента, дней",
      +                "type": "number"
      +              },
      +              "mfo": {
      +                "type": "string"
      +              },
      +              "rank": {
      +                "type": "number"
      +              },
      +              "rate_per_day_percent": {
      +                "description": "% в день для нового клиента, 0 — первый займ под 0 %",
      +                "type": "number"
      +              },
      +              "slug": {
      +                "type": "string"
      +              },
      +              "term_to_days": {
      +                "description": "Максимальный срок для нового клиента, дней",
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "rank",
      +              "mfo",
      +              "slug",
      +              "canonical_url"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "title": {
      +          "description": "Заголовок таблицы, как на странице («Топ-N …»)",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "title",
      +        "criteria",
      +        "rows"
      +      ],
      +      "type": "object"
      +    },
      +    "max_amount": {
      +      "additionalProperties": false,
      +      "description": "По максимальной сумме для нового клиента",
      +      "properties": {
      +        "criteria": {
      +          "description": "Критерий отбора и сортировки",
      +          "type": "string"
      +        },
      +        "rows": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "amount_to_rub": {
      +                "description": "Максимальная сумма для нового клиента, ₽",
      +                "type": "number"
      +              },
      +              "canonical_url": {
      +                "format": "uri",
      +                "type": "string"
      +              },
      +              "interest_free_days": {
      +                "description": "Беспроцентный период для нового клиента, дней",
      +                "type": "number"
      +              },
      +              "mfo": {
      +                "type": "string"
      +              },
      +              "rank": {
      +                "type": "number"
      +              },
      +              "rate_per_day_percent": {
      +                "description": "% в день для нового клиента, 0 — первый займ под 0 %",
      +                "type": "number"
      +              },
      +              "slug": {
      +                "type": "string"
      +              },
      +              "term_to_days": {
      +                "description": "Максимальный срок для нового клиента, дней",
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "rank",
      +              "mfo",
      +              "slug",
      +              "canonical_url"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "title": {
      +          "description": "Заголовок таблицы, как на странице («Топ-N …»)",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "title",
      +        "criteria",
      +        "rows"
      +      ],
      +      "type": "object"
      +    },
      +    "max_term": {
      +      "additionalProperties": false,
      +      "description": "По максимальному сроку для нового клиента",
      +      "properties": {
      +        "criteria": {
      +          "description": "Критерий отбора и сортировки",
      +          "type": "string"
      +        },
      +        "rows": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "amount_to_rub": {
      +                "description": "Максимальная сумма для нового клиента, ₽",
      +                "type": "number"
      +              },
      +              "canonical_url": {
      +                "format": "uri",
      +                "type": "string"
      +              },
      +              "interest_free_days": {
      +                "description": "Беспроцентный период для нового клиента, дней",
      +                "type": "number"
      +              },
      +              "mfo": {
      +                "type": "string"
      +              },
      +              "rank": {
      +                "type": "number"
      +              },
      +              "rate_per_day_percent": {
      +                "description": "% в день для нового клиента, 0 — первый займ под 0 %",
      +                "type": "number"
      +              },
      +              "slug": {
      +                "type": "string"
      +              },
      +              "term_to_days": {
      +                "description": "Максимальный срок для нового клиента, дней",
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "rank",
      +              "mfo",
      +              "slug",
      +              "canonical_url"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "title": {
      +          "description": "Заголовок таблицы, как на странице («Топ-N …»)",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "title",
      +        "criteria",
      +        "rows"
      +      ],
      +      "type": "object"
      +    },
      +    "note": {
      +      "description": "Что это за списки и как ими пользоваться",
      +      "type": "string"
      +    },
      +    "updated": {
      +      "description": "Дата изменения страницы, ГГГГ-ММ-ДД",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "note"
      +  ],
      +  "type": "object"
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / slug / description
      Added value: +"Slug подборки, например «zaim-na-kartu»; берите из list_categories"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "canonical_url": {
      +      "description": "Страница подборки на zaimhub.com",
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "criterion": {
      +      "description": "Критерий попадания МФО в подборку",
      +      "type": "string"
      +    },
      +    "offers": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "amount_range": {
      +            "type": "string"
      +          },
      +          "canonical_url": {
      +            "format": "uri",
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "rate": {
      +            "type": "string"
      +          },
      +          "rating_average": {
      +            "type": "number"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "term_range": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "slug",
      +          "canonical_url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "sorting": {
      +      "description": "Порядок сортировки",
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "total": {
      +      "description": "Число МФО в подборке",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "slug",
      +    "canonical_url",
      +    "total"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description corroborates with 'Только чтение, без авторизации и побочных эффектов'. Beyond that it adds genuinely useful operational facts: no pagination (all offers returned), 60 req/min per IP with HTTP 429, and a non-existent slug yielding isError with text «Не найдено». Return-format detail is largely redundant with the output schema.

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?

Front-loaded with purpose, then response shape, then the top-tables semantics, then routing and operational limits — good ordering. It is one long undivided paragraph with some dense nesting (best_value/max_amount/max_term each explained inline), so it is efficient but not maximally scannable.

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

Completeness5/5

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

For a single-param read tool with an output schema, the description still covers everything that matters: what the JSON contains, what each top table means and that they replace ad-hoc sorting, absence of pagination, error behavior for bad slugs, rate limits, and the canonical_url attribution requirement.

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% and the schema already documents both example forms, so the baseline is 3. The description earns an extra point by expanding the amount-showcase convention to its full domain: pages exist for every amount from 1000 to 100000 rubles in steps of 1000, which lets an agent construct a slug correctly.

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?

Opens with a specific verb+resource: 'Возвращает одну тематическую подборку (витрину) каталога по её slug', and immediately names the source of the slug (list_categories). It also carves out the special amount-showcase case ('zaim-10000-rubley'), so an agent can distinguish it from search_offers and get_mfo without opening schemas.

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

Usage Guidelines5/5

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

Explicit routing: use when the user's question matches a category theme (займ на карту, без отказа, плохая КИ, пенсионерам), use search_offers for a specific amount or term, use get_mfo for details on one lender. It also tells the agent to prefer the tool's own auto-tables over inventing a sort order.

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.