Skip to main content
Glama

Актуальные модели подключения

ai_models

Fetches available AI models from a provider using a connection key, helping you select the right model for a task. Optional case context identifies the active workspace.

Instructions

Запрашивает список моделей у сервиса по ключу подключения. Это внешний запрос; возможности режима смотрите в operbots_catalog what=ai_kinds.

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": {
      "provider": "<provider>"
    },
    "name": "ai_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
providerYesПодключение: название или идентификатор.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, and the description corroborates the external nature of the call ('Это внешний запрос'), which is worthwhile context about latency and provider-side dependency. It does not mention authentication requirements, rate limits, or failure modes when the connection key is invalid. There is a mild tension with readOnlyHint=false for what reads as a list operation, but the explicit 'external request' framing plausibly explains the non-read-only marking rather than contradicting it.

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 sentences, front-loaded with the core action and followed by the external-request caveat and cross-reference. No filler or repetition; the only minor cost is that the cross-reference is phrased tersely and needs the reader to parse 'what=ai_kinds'.

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?

The tool is simple (one required parameter, no nested objects, no output schema), so the definition is close to sufficient. However, with no output schema the description should say what the returned model list looks like (names vs identifiers vs capability flags) and what happens on an invalid key. Those gaps leave the agent guessing about the result shape.

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 100%, so both parameters (provider, case) and the default-case fallback are already documented in the schema. The description adds only the framing that provider is the connection key used for the external call, which is marginal beyond the schema. Baseline 3 is appropriate when the schema carries the meaning.

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 description gives a concrete verb and resource ('Запрашивает список моделей') plus the scope qualifier ('по ключу подключения'), which separates it from the connection-listing sibling ai_list. It stops short of explicitly contrasting itself with any named alternative, so it is clear but not fully differentiating.

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?

Usage is only implied: fetch the live model list for a given connection. The one routing hint present ('возможности режима смотрите в operbots_catalog what=ai_kinds') redirects a related question to another tool, which is genuinely useful. But there is no explicit statement of when to prefer this over ai_list or ai_test, and no prerequisite/exclusion guidance.

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

Deploy Server

Other Tools