Skip to main content
Glama

catalog

Подбор предложений по сумме и сроку

search_offers
Read-onlyIdempotent

Подбирает предложения МФО для новых клиентов по сумме займа (amount, ₽), сроку (term_days, дней) и признаку первого займа под 0% (first_loan_zero: true — только МФО с беспроцентным первым займом). Все фильтры необязательны; без них возвращается весь каталог, поэтому задавайте amount и/или term_days и ограничивайте limit (по умолчанию 15, максимум 100). Результат отсортирован по месту в рейтинге заёмщиков. Ответ: JSON {query, total, truncated, note, offers[]}, у каждого предложения: name, slug, amount_range, term_range, rate, interest_free_days, first_loan_zero_percent (true/false/null, null — не подтверждено), rating_average, canonical_url. Используйте, когда у пользователя есть конкретная сумма или срок; весь каталог по рейтингу — list_mfo, тематические подборки (займ на карту, без отказа и т.п.) — list_categories и get_category, подробности по МФО — get_mfo. Только чтение, без авторизации и побочных эффектов; лимит 60 запросов в минуту с одного IP (при превышении HTTP 429). Условия волатильны — финальные смотрите на canonical_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoСколько предложений вернуть, 1–100 (по умолчанию 15)
amountNoНужная сумма займа в рублях, например 15000
term_daysNoНужный срок в днях, например 30
first_loan_zeroNotrue — только МФО с первым займом под 0% для новых клиентов

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
queryYesПрименённые фильтры
totalYesСколько предложений подошло всего
offersYes
truncatedYestrue — вернулась не вся выборка, увеличьте limit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / amount / description
      Added value: +"Нужная сумма займа в рублях, например 15000"
    • addedInput schema / properties / first_loan_zero / description
      Added value: +"true — только МФО с первым займом под 0% для новых клиентов"
    • addedInput schema / properties / limit / description
      Added value: +"Сколько предложений вернуть, 1–100 (по умолчанию 15)"
    • addedInput schema / properties / term_days / description
      Added value: +"Нужный срок в днях, например 30"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "note": {
      +      "type": "string"
      +    },
      +    "offers": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "amount_range": {
      +            "type": "string"
      +          },
      +          "canonical_url": {
      +            "format": "uri",
      +            "type": "string"
      +          },
      +          "first_loan_zero_percent": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "interest_free_days": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "rate": {
      +            "type": "string"
      +          },
      +          "rating_average": {
      +            "type": "number"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "term_range": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "slug",
      +          "canonical_url",
      +          "first_loan_zero_percent"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "query": {
      +      "additionalProperties": false,
      +      "description": "Применённые фильтры",
      +      "properties": {
      +        "amount": {
      +          "type": "number"
      +        },
      +        "first_loan_zero": {
      +          "type": "boolean"
      +        },
      +        "term_days": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "total": {
      +      "description": "Сколько предложений подошло всего",
      +      "type": "number"
      +    },
      +    "truncated": {
      +      "description": "true — вернулась не вся выборка, увеличьте limit",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "total",
      +    "truncated",
      +    "note",
      +    "offers"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and the description reinforces this with 'Только чтение, без авторизации и побочных эффектов'. It adds genuinely useful behavioral details: rate limit of 60 requests/minute per IP with HTTP 429 on exceed, sorting by rating, possible truncation, and volatility of terms with final conditions on canonical_url. No contradiction 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but dense, with the core purpose and usage front-loaded. The response-shape section partly duplicates what an output schema likely provides, so a small deduction is warranted, but the rest — alternatives, rate limits, volatility warning — earns its place.

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 search tool with four optional parameters, no required fields, and existing annotations, the description covers everything an agent needs: parameter semantics, filtering behavior, result shape, sorting, sibling routing, authentication, rate limits, and caveats about data volatility. Nothing critical is missing.

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 description coverage is 100%, so the base expectation is met. The description adds value beyond the schema by clarifying that all filters are optional, that omitting them returns the entire catalog, and that limit should be constrained (default 15, max 100). It also explains the meaning of first_loan_zero flags more concretely in the response context.

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?

The description states a specific action — 'Подбирает предложения МФО для новых клиентов' — and precisely defines the filtering dimensions (amount, term_days, first_loan_zero). It also distinguishes itself from siblings by naming list_mfo, list_categories/get_category, and get_mfo as the tools for related but different use cases.

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?

The description explicitly tells the agent when to use this tool ('когда у пользователя есть конкретная сумма или срок') and when to use alternatives ('весь каталог по рейтингу — list_mfo', thematic collections — list_categories/get_category, details — get_mfo). It also warns that all filters are optional and recommends setting amount/term_days and limiting the result.

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.