Skip to main content
Glama
Fireiscoolsolo

Canvas LMS MCP – Remote Edition

Delete My File

delete_my_file
Destructive

Permanently removes a file from your personal Canvas storage after a dry-run preview; set confirm=true to execute, because the deletion cannot be undone.

Instructions

Delete a file from your personal Canvas storage. Cannot be undone. Get file_id from list_my_files. [IRREVERSIBLE: call without confirm=true first to preview, then re-call with confirm=true.]

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to actually execute. Omit or set false to get a dry-run preview first.
file_idYesFile ID (numeric string). Get it from list_course_files, list_my_files or list_group_files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.3
    • changedInput schema / properties / file_id / description
      Previous value: -"Canvas ID (numeric string)"New value: +"File ID (numeric string). Get it from list_course_files, list_my_files or list_group_files."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Although annotations already mark the tool destructive and non-idempotent, the description adds important behavioral detail beyond them: the action cannot be undone, and the confirm flow is explicitly a two-step preview-then-execute process.

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 compact and front-loaded: it identifies the action, states irreversibility, gives the ID source, then provides the critical confirmation workflow. Every sentence contributes to correct invocation.

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

Completeness5/5

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

For a destructive two-parameter tool with no output schema, the description covers the essential risks and workflow: personal storage scope, irreversibility, file ID source, and required preview/confirm behavior. Annotations cover the safety profile, and the description fills the remaining operational gaps.

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%, and the schema already explains both file_id and confirm. The description repeats the file_id source and slightly clarifies the confirm preview workflow, but adds little meaning beyond the structured schema.

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 states a specific verb and resource: delete a file from personal Canvas storage. This clearly distinguishes it from other deletion tools such as delete_bookmark or delete_my_entry, and from file-listing siblings like list_my_files.

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?

It gives clear usage guidance: obtain file_id from list_my_files, and use a preview-first workflow before confirming deletion. It does not explicitly discuss when not to use the tool or name alternative deletion paths, but the context is otherwise clear.

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

Deploy Server

Other Tools