Skip to main content
Glama

set_watch_output

Set a file path to automatically write output after each prompt completion, enabling sessions to read task replies.

Instructions

设置监听结果文件路径。设置后每次 prompt.completed 时自动写入结果到该文件,统筹 session 读取即可获取任务回复。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes状态文件的绝对路径,如 /c/Users/admin/watch-status.json
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It states that results are automatically written to the file on prompt.completed, which is useful. However, it does not mention whether the file is overwritten or appended, nor the required permissions 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence in Chinese, concise and front-loaded with the main action. Every word provides value, and there is no redundancy.

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?

Given no output schema, the description should explain return values, which it does not. It adequately describes the setup behavior but lacks details on success/failure outcomes or side effects. It is moderately complete for a simple setter.

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 coverage is 100%, so the schema already describes the 'path' parameter as an absolute path with an example. The description adds no additional parameter information beyond the schema, so a baseline of 3 is appropriate.

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 uses a specific verb ('设置' - set) and a clear resource ('监听结果文件路径' - watch result file path). It also explains the effect (automatic writing on prompt.completed), distinguishing it from siblings like 'get_watch_result' which are getters.

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 clear context: use it to set the path for automatic writing after prompt.completed. While it doesn't explicitly state when not to use, the context implies it should be used before watching, and siblings like 'get_watch_result' suggest alternatives for reading.

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/FirenzeClaw/kimi-session-orchestrator'

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