Skip to main content
Glama

send_message

Continue a chat with follow-up instructions or answers — the agent keeps its context. Resumes a run waiting in needs_input, or queues a new run when the last one finished. Returns run_busy while a run is still in progress. Optionally waits for the reply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesA chat id (aichat_...). A run id works too — it resolves to that run's chat.
messageYesThe follow-up to send into the conversation.
timeout_secondsNoSeconds to wait for the reply before returning (default 0: return the new run immediately).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
objectYes
resultNo
reusedNo
statusYes
chat_idNo
summaryNo
task_idYes
task_nameNo
created_atYes
started_atNo
completed_atNo
error_messageNo
credits_consumedNo
pending_approval_idsNo

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already indicate a non-read-only, non-idempotent side effect, and the description goes well beyond them by explaining the run lifecycle: resuming needs_input, queueing after a finished run, returning run_busy, and optionally waiting. This gives the agent a strong behavioral model without contradicting any annotation flags.

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?

Three focused sentences deliver a complete mental model. The key lifecycle facts are front-loaded, the run_busy behavior is explained, and no filler or repeated schema content appears.

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 the output schema exists and the annotations are informative, the description is nearly complete for an agent. It could have gone one step further by explicitly pointing to wait_for_run for longer polling when timeout_seconds is 0, but the current wording is sufficient for correct invocation.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers all parameters at 100% coverage, so the baseline is 3. The description adds extra meaning by framing message as the follow-up that continues agent context and by tying timeout_seconds to the 'optionally waits for the reply' behavior, which goes beyond dry schema text.

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 purpose: continuing an existing chat with follow-up instructions while preserving context. It goes beyond a generic 'send a message' by explaining the exact lifecycle behavior — resuming a run in needs_input or queuing a new run — which distinguishes it from start_chat and the other sibling tools.

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 operational context by specifying when a new run is queued versus when an existing run is resumed. However, it does not explicitly name alternatives like start_chat or wait_for_run as contrasting choices for starting a new chat or merely polling for completion.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4/5.0
Disambiguation4/5

The direct API tools (api_search/api_execute) are clearly distinct from the agent workflow tools. The main ambiguity is between ask_crevio and start_chat, since both initiate agent runs, though one waits and the other does not.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (list_runs, get_run, send_message, cancel_run). The api_ prefix on api_execute/api_search and the lowercase whoami are minor deviations from an otherwise consistent convention.

Tool Count5/5

14 tools is well-sized for a server that combines direct REST API access with an agent run/chat lifecycle. Each tool has a distinct role and none feel redundant or unnecessary.

Completeness5/5

The REST surface is fully covered through api_search and api_execute, and the agent lifecycle is complete: start, continue, ask, wait, list, approve, cancel, and inspect runs/chats/messages. No critical operation appears to be missing.

Resources