Skip to main content
Glama

chat_agent

Offload sub-tasks to a non-thinking model for independent reasoning, analysis, ideation, or step-by-step decomposition during chain-of-thought processing.

Instructions

调用独立、非思考模式的模型生成文本,用于延伸当前思维链。你可以传入任何需要独立完成且不受对话历史影响的子任务,包括但不限于:逻辑推理、发散联想、创意生成、优缺点分析、情景假设、步骤拆解、知识类比与迁移等。请确保 input_text 是一个完整、自包含的任务描述,明确任务类型与目标。通过调整 temperature(02)和 top_p(01)控制输出的确定性与多样性。对于需要精确复现的场景(如校验任务),建议设置 temperature 接近 0 并指定 seed。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_textYes完整、自包含的任务描述。需明确任务类型(推理/联想/类比/创意/评估等)并提供所有必要的上下文信息,使工具无需依赖外部信息即可独立完成任务。示例:'推理:已知X=5, Y=12,请推导Z=X²+Y²的值,并给出计算步骤。'
system_promptNo可选的系统提示词,用于设定角色或行为约束。如:'你是一个严谨的数学校验员,只输出最终结果。'
temperatureNo采样温度 0.0-2.0。低值(0.0-0.3)=确定/精确,高值(0.7-2.0)=创造/发散
top_pNo核采样阈值 0.0-1.0。与temperature配合使用控制输出多样性
max_tokensNo最大输出token数。通过API参数在服务端控制,非本地硬截断
stopNo停止序列,遇到这些字符串时停止生成。默认 ['\n\n'] 防止非思考模型自动续写,思考模型可按需覆盖
seedNo随机种子(需 API 支持)。设置后配合低 temperature 可实现输出复现
Behavior3/5

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

The description explains that the model is non-thinking, that input must be self-contained, and how temperature/top_p/seed control output. However, it lacks disclosure of potential side effects like token cost or API latency, and without annotations the burden is higher. The description is adequate but could be more explicit about behavioral traits such as statelessness or repeatability guarantees.

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 paragraph that front-loads the purpose, then flows into usage guidelines and parameter details. Every sentence contributes meaning, but it is somewhat lengthy. For a tool with 7 parameters, this length is justified, and the structure is logical.

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 no output schema and no annotations, the description covers the tool's full input contract and behavior adequately. It explains all parameters and their interplay. Missing are return value expectations (e.g., response format) and error handling, but for a straightforward generation tool, the provided context is sufficient for most use cases.

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?

Even though schema coverage is 100%, the description adds significant value: it explains what constitutes a valid input_text with examples, provides intuition for temperature and top_p ranges, clarifies the stop default's purpose (preventing automatic continuation), and advises on seed use for reproducibility. This goes well beyond the schema field descriptions.

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 calls a non-thinking model to generate text for extending a thought chain, listing specific use cases like reasoning, creativity, and analysis. It uses a specific verb ('调用') and resource ('模型生成文本'), making the purpose unmistakable even without sibling tools for comparison.

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 provides explicit context: it is for independent subtasks not influenced by conversation history. It lists many appropriate scenarios and implies that the tool should not be used for tasks requiring conversational memory, though it does not formally state exclusions. Given no sibling tools, this is clear and sufficient.

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/ScarletLilith/meditatorMCP'

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