Skip to main content
Glama

list_models

Lists current Token Factory model catalog—IDs, context length, modalities, thinking defaults/levels, and pts pricing—so you can select the right model before chat calls; supports filters and forced refresh.

Instructions

列出 Token Factory 当前模型目录:id(chat 的 model 参数)、上下文长度、模态、 思考默认行为与可用档位、pts 价格。目录会变动,调用前以此为准(缓存 5 分钟, refresh=true 强制刷新)。免费;计入每分钟限流但不占并发。

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

Input Schema

NameRequiredDescriptionDefault
queryNo
refreshNo
vision_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: catalog volatility, a 5-minute cache with a forced-refresh escape hatch, and precise cost/limit semantics (free, counts toward per-minute rate limit but does not occupy concurrency). These are exactly the operational facts an agent needs before calling, and none are recoverable from the schema.

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?

Three tight sentences, front-loaded with what the tool returns, then freshness semantics, then cost/limit behavior. Dense but no sentence is wasted; slight run-on density in the first sentence keeps it from a 5.

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?

A simple read-only listing with no output schema, and the description appropriately enumerates the return shape itself along with caching and rate-limit behavior. The only gap is the undocumented query and vision_only filters, which an agent may need to use 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?

Schema description coverage is 0%, so the description must supply meaning. It documents 'refresh=true' well, but leaves 'query' and 'vision_only' entirely unexplained in both schema and description, so it only partially compensates for the coverage gap.

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 specific verb and resource (列出…模型目录) and goes further by enumerating the returned fields (id, context length, modality, thinking default/tiers, pts price). This clearly separates it from chat, whose model parameter it explicitly references, though it does not explicitly distinguish itself from the catalog_list sibling.

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 a concrete usage directive: consult this before calling other model-consuming tools. The caching note plus 'refresh=true' explains when to force a reload. No explicit exclusion or comparison against catalog_list is given, so it stops short of full when/when-not guidance.

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