Skip to main content
Glama

chat_completion

Generate chat responses via large language models. Automatically selects available channels and deducts tokens for each interaction.

Instructions

调用大模型进行对话,从渠道管理中选择可用渠道并自动扣除 Token。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNodeepseek-v4-flash
messagesYes
temperatureNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose meaningful behavior — automatic channel selection and token deduction from '渠道管理' — which signals real cost implications beyond what the schema shows. However, it omits details like failure semantics, rate limits, and response format (though an output schema does exist to cover returns).

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?

A single tight sentence in Chinese, front-loaded with the core purpose before the operational detail. No wasted words and appropriately sized for a simple tool. It earns near-top marks for conciseness, though it bundles two ideas into one sentence rather than using structured separation.

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?

For a 3-parameter tool with an output schema covering return values, the description covers purpose and cost behavior adequately. The main completeness gaps are the absence of any parameter-level guidance (at 0% schema coverage this matters) and no error or safety context, but the tool is simple enough that the gaps are moderate rather than severe.

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

Parameters2/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 compensate, yet it mentions none of the three parameters (model, messages, temperature). The schema only provides type/default info; the description adds nothing about how to construct messages or how temperature affects output. It fails to fill 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?

The description states a clear verb+resource: '调用大模型进行对话' (call the large model for conversation). It is implicitly differentiated from siblings — get_balance and list_models clearly relate to balance checking and model listing, while this tool performs the actual dialogue. However, it does not explicitly name the siblings, so differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the purpose: an agent can infer this tool is for generating chat responses while siblings handle balance and model listing. The description provides context that this operation consumes tokens ('自动扣除 Token'), but it gives no explicit when-to-use, when-not-to-use, or exclusion guidance.

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

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/Drq112112Hjx/yuntu-mcp-server'

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