Skip to main content
Glama

List AI Accounts

list_ai_accounts
Read-onlyIdempotent

[read] The merchant's AI accounts that ai_chat can run on, without any key. provider = openai|claude|gemini|perplexity|llama|xai|deepseek|kimi|meta|glm|minimax|groq|mistral|azure (omit for all). Each: provider, account_id, account_uuid, name, default_model, optional model_overrides, prices ({model: {price, output?, unit, currency}} of the models it answers with, per 1M tokens, when a pricing page lists them) and USD limits. Pass provider + account_id (or account_uuid) to ai_chat.

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_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds meaningful context beyond them: the 'without any key' fact (no stored credential needed) and the full inventory of returned fields including prices and USD limits, with the caveat that prices appear only 'when a pricing page lists them'.

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 the read/scope statement, then the filter rule, then the return shape, then the handoff to ai_chat — a logical order with no filler sentences. The long provider enumeration is verbose but functional, since the schema does not define the enum.

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 no output schema, the description correctly compensates by naming every returned field (provider, account_id, account_uuid, name, default_model, model_overrides, prices, USD limits). Only minor gaps remain: 'USD limits' is never defined and there is no mention of result size or how many accounts to expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema only declares an untyped nullable string, so the description carries the entire burden — and it does. It enumerates all 15 accepted provider values and explicitly states that omitting the param returns all accounts, which is information available nowhere in the schema.

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?

States a concrete resource plus its scope: 'the merchant's AI accounts that ai_chat can run on, without any key.' The 'ai_chat can run on' qualifier implicitly separates it from the similar-named siblings list_images_ai_accounts, list_motions_ai_accounts and list_voices_ai_accounts, but those siblings are never named, so an agent must infer the boundary.

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?

Gives clear operational guidance: pass provider to narrow results, omit it for all. It also closes the loop by telling the agent to 'Pass provider + account_id (or account_uuid) to ai_chat', which is a real when-to-use chain. It stops short of explicitly stating when to prefer this over the image/motion/voice account listings.

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