Skip to main content
Glama

post_discussion_reply

Posts a reply to a Canvas discussion topic so users can participate in course conversations by submitting message content.

Instructions

Post a reply to a Canvas discussion topic. This allows you to participate in course discussions.

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": {
      "topicId": "<topicId>",
      "message": "<message>"
    },
    "name": "post_discussion_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe message content to post
topicIdYesThe Canvas discussion topic ID
courseIdNoThe Canvas course ID (numeric)
courseNameNoThe course name (e.g., "Art 113N", "CMPEN 431"). If provided, courseId is not required.
attachmentIdsNoOptional array of Canvas file IDs to attach

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it says nothing about permissions, whether the post is attributed to the authenticated user, duplicate handling, rate limits, or what happens when a topic is locked. For a mutation tool this is a substantial gap. The second sentence adds no operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and front-loaded with the action, which is good. However, the second sentence ("This allows you to participate in course discussions") is pure filler that earns no place and could have been replaced with a useful usage or behavioral note.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a five-parameter write operation with no annotations and no output schema, so the description should carry more weight than it does. It never states what a successful post returns or how failures (locked topic, invalid course, missing attachment) surface, leaving an agent under-informed for a mutating call.

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%, with each of the five parameters documented, including the courseName/courseId fallback, so the schema already does the heavy lifting. The description adds no parameter meaning beyond that, which is the baseline case. It does not, for example, clarify when to prefer courseName over courseId.

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: "Post a reply to a Canvas discussion topic." That is clear enough to act on, but it does not distinguish this tool from the sibling "reply_to_discussion_entry" or from "reply_to_conversation", which an agent could easily confuse with it. Sibling differentiation is absent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is "This allows you to participate in course discussions," which restates the obvious rather than saying when to use this tool instead of reply_to_discussion_entry. There are no exclusions, no prerequisites, and no named alternatives, so an agent must infer the choice from sibling names alone.

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