Skip to main content
Glama

List a provider's models

colliedesk_ai_models_list
Read-only

List the models a key may use before adding the provider, to pick the models for colliedesk_ai_provider_add: anthropic (the Claude models, newest first) or openai_compatible (GET {base_url}/models, sorted). Nothing is saved or billed. A provider that cannot list fails with ai_check_failed and check_error_code (model_not_found when the server keeps no list: name the models yourself). The key passes through this conversation, so use a key you can revoke at the provider.

Needs: ai_settings:manage_credentials.

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": {
      "kind": "<kind>"
    },
    "name": "colliedesk_ai_models_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
api_keyNo
base_urlNo

Output Schema

NameRequiredDescriptionDefault
modelsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only annotations it discloses that nothing is saved or billed, that failures surface as ai_check_failed with a check_error_code such as model_not_found, and that the required scope is ai_settings:manage_credentials. The security caveat about the key passing through the conversation and being revocable at the provider is exactly the kind of context 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 purpose and the recommendation to run it before provider_add are front-loaded, and every sentence carries information (scope, errors, key safety). It is dense to the point of being a run-on, but no sentence is filler.

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

Completeness4/5

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

With an output schema present, the description does not need to explain return shape, and it covers the error cases and auth requirement well. The remaining gap is parameter-level: for a 3-parameter tool with no schema descriptions, requiredness of api_key and base_url is left implicit.

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 0%, so the description must carry parameter meaning, and it only partly does: it explains the kind enum values and that openai_compatible performs GET {base_url}/models sorted, and notes the key is passed through. It never clarifies when api_key or base_url are required versus optional, nor constraints such as the 500-character limits.

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 verb and resource ('List the models a key may use'), names the two provider kinds it covers, and ties itself to the sibling it feeds ('colliedesk_ai_provider_add'). An agent can distinguish this from provider_check or provider_add without opening any schema.

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

Usage Guidelines4/5

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

It gives a clear when-to-use: run it before adding a provider to choose model names for colliedesk_ai_provider_add. It also supplies a fallback path (if listing fails with model_not_found, supply model names yourself). It stops short of an explicit when-not or a direct contrast with colliedesk_ai_provider_check.

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