Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowRunner Prompt to Flow. If you published it, claim ownership there.

List AI providers

list_ai_providers
Read-only

List AI providers and their current models: the only source of valid aiProvider / aiModel values (ai-agent, ai-router, condition aiQuestion, …). Provider ids are upper case with underscores ("ANTHROPIC", "OPEN_AI", "GOOGLE_GEMINI_AI"); configure_block accepts any string, and a wrong id fails at save or run. Deprecated models are excluded. Each model: { id, label, features }. provider: a provider id, to return only its models.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_ai_providers"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly and openWorld annotations, it discloses important behavior: provider ids are uppercase with underscores, configure_block accepts arbitrary strings but invalid ids fail later, deprecated models are excluded, and each returned model has a concrete shape.

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 dense but front-loaded and mostly free of waste. Multiple clauses and examples make it slightly packed, but every substantive sentence adds useful context for validation or return shape.

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 read-only list tool with one optional parameter and no output schema, it covers the essentials: authoritative use case, validation pitfalls, deprecation behavior, model return structure, and filtering semantics.

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?

With zero schema description coverage, the description carries the parameter explanation well: provider is a provider id that filters to that provider's models, and valid id formatting is shown. It could explicitly say the parameter is optional, but the filtering meaning is clear.

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 names the specific resource (AI providers), includes related models, and states its unique role as the only source of valid aiProvider/aiModel values. That clearly separates it from sibling list_* tools covering unrelated resources.

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 clear usage context: use this tool to obtain valid provider/model values, and warns that wrong ids fail at save or run. It does not explicitly contrast with alternatives or state when not to use it, but the guidance is otherwise strong.

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