Skip to main content
Glama

Plan Studio

post_chat

Idempotent

Post a message to a room's chat. Use it for a question or a remark about the whole plan; use post_comment for exact words. Returns the stored message with its id and time.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "author": "<author>",
      "body": "<body>"
    },
    "name": "post_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe room id, from get_rooms
bodyYesthe message, up to 4,000 characters
authorYesthe display name to post under

Output Schema

NameRequiredDescriptionDefault
idYesThe message id.
bodyYesThe text.
at_msYesWhen it was posted.
authorYesThe display name it was posted under.
actor_kindYesWho said something.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false, and idempotentHint=true, so the safety profile is covered structurally. The description adds only the return shape ('the stored message with its id and time'); it says nothing about permissions, whether posting as an arbitrary display name is allowed, or rate limits, which would matter for a write tool.

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 short sentences, front-loaded with the action, then the routing rule, then the return value. No filler or repetition of the name/title.

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?

A simple three-parameter write tool with full schema coverage, annotations, and an output schema — the description is adequate. The only residual gap is how the free-text 'author' display name is treated, which neither schema nor description addresses.

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% and each parameter is documented with an example, so the baseline applies. The description adds no meaning beyond the schema — it does not clarify that 'id' is a room id (the schema does) or how 'author' identity is validated.

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?

States a concrete verb and resource ("Post a message to a room's chat") and explicitly names the sibling post_comment as the contrasting tool. The distinction ('exact words' vs. 'the whole plan') is directionally useful but slightly cryptic, so it falls just short of a fully unambiguous sibling split.

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?

Gives a clear when-to-use rule ('a question or a remark about the whole plan') plus the alternative for a different case (post_comment for exact words). No explicit exclusions beyond that binary, but the selection rule is stated rather than inferred.

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.

Resources