Skip to main content
Glama

complete_assignment

Submit assignments in Canvas by providing files, text, or URL. If online submission is unavailable, mark the assignment as complete via module item completion.

Instructions

Complete or submit an assignment in Canvas.

When online submission is available and no submission payload is provided, this tool responds with needs_input and tells the caller what is required. If no supported submission path exists, it attempts module item completion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assignment_nameNo
assignment_idNo
course_idNo
file_pathsNo
text_submissionNo
url_submissionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries full responsibility. It discloses two key behavioral traits: returns 'needs_input' when no payload is given, and attempts module item completion if no submission path exists. This provides useful context for the agent's decision-making.

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 concise, consisting of two sentences that immediately state the purpose and then detail key behavioral nuances. Every sentence adds value with no redundancy, and the structure is front-loaded with the primary verb and resource.

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?

While the description explains the conditional outcomes (needs_input and module completion), it does not cover how to provide submission payloads or what the output schema returns. Given the tool's complexity (6 parameters, conditional logic), the description is adequate but lacks completeness in guiding the agent on parameter usage and expected outcomes.

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?

The input schema has 6 parameters with no descriptions (0% coverage). The tool description does not explain any parameter's meaning, format, or how they relate to the submission process. The agent must rely solely on parameter names, which are vague (e.g., 'text_submission', 'url_submission').

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 'Complete or submit an assignment in Canvas' with a specific verb and resource. It distinguishes from siblings by describing conditional behaviors like needs_input response and module item completion, which are unique to this tool.

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

Usage Guidelines3/5

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

The description implies usage when one needs to complete an assignment, but it does not explicitly state when to use this tool versus alternatives or when not to use it. No exclusions or alternative tools are mentioned, leaving the agent with limited guidance.

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/tomtranjr/canvas-control'

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