Skip to main content
Glama

列出可用生成模型

list_models

Retrieve available media generation models (image, video, audio, document) with filters for media type, keyword, or API key availability.

Instructions

列出 AihubMax 的媒体生成模型(图像/视频/音频/文档)。可按 media_type 或关键词过滤。available=true 表示当前 API Key 分组可直接调用;available=false 表示文档中存在但当前 Key 未开通。price 为定价摘要,group_ratios 给出各分组倍率(最终价=基准×倍率)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordNo按模型名/标题关键词过滤,如 veo、kling、tts
media_typeNo按媒体类型过滤
available_onlyNo仅返回当前 Key 可调用的模型
Behavior4/5

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

With no annotations provided, the description bears the full burden of behavioral disclosure. It explains the output fields 'available', 'price', and 'group_ratios' and their interpretations (e.g., 'available=true' means directly callable). This provides sufficient transparency for a read-only listing tool, though it omits details on pagination or error handling.

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 a single, front-loaded paragraph that states the core function first. It is concise with no redundant sentences, but the explanations of 'available', 'price', and 'group_ratios' could be slightly more integrated. Overall, it is well-structured for quick comprehension.

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?

Given the absence of an output schema, the description covers the key response fields (available, price, group_ratios) and filtering capabilities. It does not mention pagination or response format details, but for a listing tool with 3 optional parameters and simple logic, it provides adequate context for an agent to use it correctly.

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?

Since schema coverage is 100%, the baseline is 3. The description adds minimal extra meaning beyond the schema: it repeats the filtering concept and explains 'available' (which is not a parameter). The keyword param's description in the schema is already clear, and the description does not provide new formatting or constraints.

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 '列出可用生成模型' (list available generation models) and specifies the supported media types (图像/视频/音频/文档). It distinguishes itself from sibling generation tools like generate_image by focusing on discovery rather than creation, and explicitly mentions filtering by media_type or keyword, leaving no ambiguity about the tool's purpose.

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?

The description implies usage context by explaining the 'available' field's meaning (directly callable vs. not provisioned), which helps agents decide which model to use for generation tasks. However, it lacks explicit guidance on when to use this tool versus alternatives like analyze_media or get_task, and does not specify prerequisites or exclusions.

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/cookaihq/aihub-mcp'

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