Skip to main content
Glama

Send chat command

send_chat

Send Thai or English commands to the rover's in-page Agent Chat and return its reply for display in the chat panel.

Instructions

Send a message to the in-page Agent Chat (offline Thai/English command parser, e.g. "ไปหาแสง", "อ่านเซนเซอร์", "เดินหน้า 2 วินาที") and return the rover's reply. It shows up in the chat panel.

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose that messages are parsed offline (Thai/English) into rover commands and that a reply is returned and echoed in the chat panel, which is genuinely useful. It omits whether parsed commands actually mutate world state, what happens on unrecognized input, and whether there is any error or range feedback.

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?

A single compact sentence with the action and target front-loaded, followed by the language/parser note and examples. Nothing is padded and no sentence is redundant.

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 one-parameter tool with no output schema, the description does state what comes back (the rover's reply) and where it appears. However, it leaves the execution semantics — whether the parsed command is actually carried out and how failures surface — unexplained, which matters because the examples are world-mutating actions.

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?

Schema coverage is 0% with one required string parameter, so the description must compensate, and it does: it names the supported languages and supplies three concrete example utterances showing expected phrasing. That adds real meaning beyond the bare string type, though it doesn't clarify whether commands must match a fixed vocabulary or free-form text is accepted.

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 names a specific verb and resource (send a message to the in-page Agent Chat) and clarifies it is an offline Thai/English command parser, which is more than a restatement of the name. It does not explicitly contrast with direct-command siblings like drive, turn, or run_program, so the boundary with those tools is left implicit.

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 rather than stated: the mention of an 'in-page Agent Chat' and natural-language examples suggests a conversational entry point, but there is no guidance on when to prefer this over drive/turn/run_program for the same actions. No exclusions or prerequisites are given.

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