Skip to main content
Glama

List models

list_models
Read-onlyIdempotent

List available AI models with filters for category, provider, and capability. Obtain recommendations for non-chat tasks such as image, video, or audio generation.

Instructions

List models Lists the currently available models. Use view=compact for model selection and view=full for the existing OpenAI-compatible discovery shape. Native API calls default to full; integrations may choose compact as their default. Non-chat recommendations are available through recommended_for.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoFilter by a public capability tag.
viewNoCompact model-selection output is the MCP default. Set view to full only when the complete OpenAI-compatible list shape is required.compact
categoryNoFilter by model category.
providerNoFilter by public model provider, for example openai, anthropic, google, or minimax.
recommended_forNoSort supported non-chat models for a task category and include recommendation evidence.
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, clearly indicating a safe read operation. The description adds behavioral context about view defaults and recommended_for usage, enhancing transparency beyond annotations.

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 relatively short and front-loaded with the core purpose. It could be slightly more structured, but it contains no filler and every sentence adds value.

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?

Without an output schema, the description gives a high-level idea of the output (list, OpenAI-compatible shape) but does not detail the structure or fields returned. For a list tool, this is acceptable but leaves some ambiguity.

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?

All 5 parameters are well-described in the schema (100% coverage). The description adds extra meaning for view (explains defaults and use cases) and recommended_for (non-chat recommendations), providing value beyond the schema.

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 clearly states the tool lists available models, and distinguishes between views for model selection vs. full OpenAI-compatible shape. It differentiates from siblings like get_model and create tools by focusing on listing.

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?

Provides explicit guidance on when to use view=compact vs view=full, and mentions non-chat recommendations via recommended_for. However, it does not explicitly contrast with other list-like tools (e.g., list_files) or specify when not to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hedging8563/tokenlab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server