Skip to main content
Glama

chat_with_session

Send tasks to a session and monitor progress with poll_session, enabling interactive debugging and automation.

Instructions

向指定 session 发送任务(即发即返)。用 poll_session 跟踪进度。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes任务需求描述
policyNo任务策略: "read-only" / "safe-edit" / "full-access" / .yaml路径
auto_modeNo自动审批工具调用
session_idYes目标 session ID
skip_memoryNo跳过共享内存上下文注入(SPEC 002)。
Behavior4/5

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

With no annotations, the description effectively communicates key behavior: the tool is non-blocking ('send and return immediately') and requires polling via poll_session for progress tracking. This adequately informs the agent of the tool's async nature, though it could detail error handling or response structure.

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 concise with two efficient sentences, front-loading the primary action and then directing to the tracking counterpart. Every sentence serves a purpose with no waste.

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 5 parameters, complete schema descriptions, and no output schema, the description covers the core usage pattern (send, poll). It lacks details about return format or error states, but the essential context for using the tool correctly is present.

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 100%, so the baseline is 3. The tool description adds no additional semantics beyond the schema descriptions, which already define each parameter. No improvement or degradation.

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's function: sending a task to a specified session and returning immediately. It uses a specific verb ('send'), clearly identifies the resource ('task' to 'session'), and distinguishes from sibling tools like poll_session by directing progress tracking there.

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 guidance: use this tool to initiate a task and then poll with poll_session for progress. It implies a fire-and-forget pattern, which helps the agent decide when to use this vs. other tools like watch_session or poll_session directly. However, it could be more explicit about when not to use it.

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