Web chat interface for NanoClaw AI agent framework
Server defines 7 tools with consistent verb_noun naming (webchat_list_*, webchat_read_*, webchat_send_*, webchat_create_*). All tools have descriptions (avg ~150 chars, within baseline 34-392 range). Input schemas present with type declarations and parameter descriptions. However, output schemas are not documented, LLMs cannot infer what fields to expect from responses. Parameter descriptions lack format constraints (e.g., 'Unix millisecond timestamp' is stated but no min/max bounds). Error handling guidance is minimal. No tool annotations (readOnlyHint, destructiveHint) despite clear risk classifications (READ_ONLY vs WRITE). Polling pattern documented in descriptions but not formalized as a tool contract.
Create a new thread in a channel. Returns threadId for use with webchat_send_message and webchat_read_thread. Does not post a message.
List NanoClaw agents available in web chat. In the lobby channel, include @mention in message text to route to a specific agent. For 1:1 chat, use platformId dm:<folder>.
List web chat channels (lobby and DM rooms). Optional query filters by name or platformId. Use platformId with webchat_read_channel or webchat_send_message.
List threads for a channel by fetching bootstrap and extracting that channel thread list (includes main and server-created threads).
Read messages from a channel main thread (threadId=main). Read-only. Fetches full channel history and truncates client-side; for large channels or polling, use since (Unix ms timestamp) to bound the server response. limit is a client-side display cap only (default 50), not server pagination. After sending, poll with since=timestamp every 2–5 seconds until outbound agent messages appear.
Output schemas not documented. LLMs cannot infer response structure (fields, types, nested objects). Forces agents to guess what data is available for downstream tool calls.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite explicit risk classifications. Agents cannot determine which tools are safe to retry or have side effects.
Parameter constraints lack bounds. 'limit' and 'since' (Unix ms timestamp) have no min/max documented. Agents may pass invalid values (negative limits, future timestamps) without guidance.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
Read messages from a specific thread. Read-only. Fetches full thread history and truncates client-side; for large threads or polling, use since (Unix ms timestamp) to bound the server response. limit is a client-side display cap only (default 50), not server pagination. Poll with since=timestamp every 2–5 seconds after webchat_send_message.
Send a message to a web chat channel or thread. In lobby, include @mention to route to an agent. attachmentPaths are local file paths on the host running this MCP server (max 4, 5 MB each). After sending, call webchat_read_channel or webchat_read_thread with since=timestamp to collect agent replies; wait 2–5 seconds between polls.
Polling pattern (2-5 second intervals, 'since' parameter) is documented in descriptions but not formalized as a tool contract. No explicit guidance on retry logic, backoff, or timeout behavior.
attachmentPaths parameter in webchat_send_message accepts local file paths but lacks validation guidance. No error handling documented for missing files, oversized files (5 MB limit stated but not enforced in schema), or invalid paths.