Skip to main content
Glama

reply_to_post

Reply in plain text to a post in a student conversation using a two-phase preview-and-confirm flow, so users can review the message before it is posted.

Instructions

Reply in plain text to a post on one page of a conversation the student belongs to. Two-phase: without confirmationToken this returns a preview and does not post. Show the preview to the user and send the token only after they explicitly approve. Does not react, edit, or delete.

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": {
      "courseId": "<courseId>",
      "conversationId": "<conversationId>",
      "postId": "<postId>",
      "content": "<content>"
    },
    "name": "reply_to_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
postIdYes
contentYes
courseIdYes
conversationIdYes
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-idempotent, non-destructive write, and the description adds the crucial two-phase preview behavior plus the plain-text-only constraint. What it leaves out is what the preview response actually contains and whether repeated replies are possible, so it stops just short of full disclosure.

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?

Four short sentences, front-loaded with the action and the scope, then the workflow, then the exclusions. Nothing is padded and the ordering matches how an agent needs the information.

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?

No output schema exists, yet the description covers the safety flow, the content type, and the exclusions, which is most of what an agent needs. The missing piece is identifier semantics, particularly how `page` interacts with conversationId and postId when locating the target post.

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

Parameters2/5

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

Schema coverage is 0% across six parameters, so the description carries the full burden and largely drops it. It explains confirmationToken's role and implies content is plain text, but courseId, conversationId, postId, and especially the bounded integer `page` (0-20) receive no explanation at all.

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?

"Reply in plain text to a post" gives a specific verb and resource, scoped to "one page of a conversation the student belongs to." The closing line "Does not react, edit, or delete" draws a hard boundary between this and adjacent post-manipulation tools such as create_post.

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?

It spells out the exact workflow: call without confirmationToken, show the preview, then resend only after explicit user approval. That is unusually actionable guidance, though it never names an alternative tool or states when a plain-text reply is the wrong choice versus creating a new post.

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