Skip to main content
Glama

get_discussion_with_replies

Read-only

Get discussion entries from a Canvas course topic, with optional fetching of all replies. Use course identifier and topic ID to retrieve the full thread.

Instructions

Enhanced function to get discussion entries with optional reply fetching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topic_idYesDiscussion topic ID
include_repliesNoFetch detailed replies for all entries (default: False)
course_identifierYesCourse code or Canvas ID
Behavior3/5

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

The readOnlyHint annotation already establishes the read-only nature. The description adds the 'optional reply fetching' behavior, which is useful, but it does not disclose scope (e.g., whether it returns a single topic or all entries), return format, or performance implications. This is minimal but not contradictory.

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

Conciseness2/5

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

The description is a single short sentence but is under-specified rather than concise. It lacks critical details that would make it useful, making it feel incomplete rather than intentionally brief.

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?

There is no output schema, and the description does not clarify what the function returns—whether it returns a discussion topic with nested replies, a list of entries, or something else. Given the optional reply fetching feature, it should describe the response structure to be usable. The description is insufficient for a tool with this complexity.

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?

The schema already provides descriptions for all three parameters (100% coverage). The description's mention of 'optional reply fetching' aligns with include_replies, but it does not add information beyond what the schema states. Baseline score of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'get discussion entries' but does not specify whether it fetches a single entry, all entries, or a discussion topic with replies. It uses the vague word 'Enhanced' and does not differentiate from sibling tools like list_discussion_entries or get_discussion_topic_details, which likely have overlapping functionality.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus the many sibling discussion tools. It only mentions 'optional reply fetching' but does not explain the context in which that is beneficial or when alternative tools should be chosen.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vishalsachdev/canvas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server