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 and USD limits. Pass provider + account_id (or account_uuid) to ai_chat.

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 cover read-only, idempotent, non-destructive, so the description correctly focuses on added context: the '[read]' tag, the notable fact that accounts are usable 'without any key', and a full enumeration of returned fields. Missing pagination/ordering details, but the behavioral picture is solid.

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]' tag and core resource statement; the provider enum list is long but functionally necessary. Dense but no wasted sentences.

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 lists return fields (provider, account_id, account_uuid, name, default_model, model_overrides, USD limits) and explains identifier usage, which is what an agent needs to chain into ai_chat. Pagination and ordering remain unspecified, a minor gap for a list tool.

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 coverage is 0%, so the description carries the full burden and does: it enumerates all 14 valid provider values and states 'omit for all', fully compensating for the bare string|null schema. An agent can construct the call correctly from the description alone.

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 names a specific resource (the merchant's AI accounts) and scopes it as the accounts ai_chat can run on, which distinguishes it from the many other list_*_accounts siblings. The verb 'list' is only conveyed by the title, but the resource scope is unambiguous.

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 explicitly tells the agent what to do next with the results: 'Pass provider + account_id (or account_uuid) to ai_chat,' which is a clear downstream usage instruction. It also explains that omitting provider returns all accounts. No explicit when-not guidance, but the usage context is clear.

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