Skip to main content
Glama

create-module-item

Add a new item to a Canvas module by specifying type, content ID, and optional settings. Supports file, page, discussion, assignment, quiz, subheader, external URL, and tool types.

Instructions

Add a new item to a module. Type must be one of: File, Page, Discussion, Assignment, Quiz, SubHeader, ExternalUrl, ExternalTool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesThe type of content to link
titleNoTitle of the item
indentNoIndent level (0-based)
new_tabNoWhether ExternalTool opens in a new tab
courseIdYesThe ID of the course
moduleIdYesThe ID of the module
page_urlNoPage URL slug (required for Page type)
positionNoPosition in the module (1-based)
content_idNoID of the content to link (required except for ExternalUrl, Page, SubHeader)
external_urlNoExternal URL (required for ExternalUrl and ExternalTool types)
completion_requirement_typeNoCompletion requirement type
completion_requirement_min_scoreNoMinimum score for must_submit completion requirement
Behavior3/5

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

Annotations already indicate destructiveHint=false, and the description aligns with that (creating, not destroying). The description adds the type constraint but does not disclose potential side effects, such as module reordering or required content references. It provides baseline transparency but lacks depth.

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?

The description is a single, tightly scoped sentence followed by a type list. It wastes no words and immediately conveys the core operation. It is an excellent example of conciseness.

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?

Given the schema's rich parameter descriptions, the brief description is adequate for understanding what the tool does. It could have included conditional guidance (e.g., content_id required for File/Quiz/Assignment) but the schema already provides that. The tool has no output schema, so no return-value explanation is needed.

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 input schema has 100% parameter description coverage, including per-type requirements. The description repeats the type enum but adds no new parameter semantics beyond the schema. This meets the baseline of 3.

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?

The description clearly states the action ('Add a new item') and the target resource ('a module'), with an explicit enumeration of allowed item types. This distinguishes it from sibling tools like create-module, update-module-item, and delete-module-item.

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?

The description provides clear context: this tool is for adding new items to modules. It does not explicitly name alternatives for updating or deleting module items, but the context makes the usage obvious. No exclusions are given, so it earns a 4 rather than a 5.

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/r-huijts/canvas-mcp'

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