Skip to main content
Glama

update_module_item

Update a Canvas module item's title, position, indent, external URL, completion requirements, publish state, or move it to a different module.

Instructions

Update an existing module item.

    Args:
        course_identifier: Course code or Canvas ID
        module_id: Module ID containing the item
        item_id: Item ID to update
        title: New item title
        position: New position within module
        indent: New indentation level (0-4)
        external_url: New URL (ExternalUrl items only)
        new_tab: Open external links in new tab
        completion_requirement_type: New completion type, or empty string to remove
        completion_requirement_min_score: Minimum score (for min_score type)
        published: Whether the item is published
        move_to_module_id: Move item to a different module
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_identifierYes
module_idYes
item_idYes
titleNo
positionNo
indentNo
external_urlNo
new_tabNo
completion_requirement_typeNo
completion_requirement_min_scoreNo
publishedNo
move_to_module_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must convey behavioral traits. It only lists parameters and their basic meaning, omitting details like side effects (e.g., reordering on position change), failure modes (e.g., invalid item_id), or permission requirements. The 'move_to_module_id' parameter hints at cross-module moves, but no explanation of implications.

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 description begins with a clear one-line purpose, then enumerates all 12 parameters in a list format. This is structured but somewhat lengthy. Some parameter descriptions are redundant with common sense (e.g., 'New item title'), but the list is comprehensive and not excessively verbose.

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

Completeness3/5

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

Given the tool's complexity (12 parameters, 3 required, no annotations, but an output schema exists), the description covers all parameters but lacks broader context. Missing elements include error handling, permission requirements, valid value ranges for position/indent, and interaction effects when multiple fields are updated. The description is adequate for a straightforward update but not fully complete.

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

Parameters4/5

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

Since the input schema provides no descriptions (0% coverage), the parameter list in the description is essential. Each parameter gets a brief explanation (e.g., 'Course code or Canvas ID', 'New completion type, or empty string to remove'), adding significant meaning beyond the schema names. Some details could be more precise (e.g., position indexing), but overall it compensates well.

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 clearly states 'Update an existing module item,' establishing a specific verb and resource. However, it does not explicitly differentiate from sibling tools like update_module or delete_module_item, which share the same module context.

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?

No guidance is provided on when to use this tool versus alternatives (e.g., for creating items use add_module_item, for deleting use delete_module_item). There is no mention of prerequisites, setup steps, or common pitfalls.

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