Skip to main content
Glama

canvas_prepare_action

Read-onlyIdempotent

Previews a Canvas course action—such as submitting an assignment, uploading a file, grading, or messaging—so the exact change can be shown to the user for approval before anything is sent.

Instructions

Preview a Canvas catalog change such as submit_assignment, upload_submission_file, create_assignment, grade_submission or send a message. Show the exact preview to the user.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "arguments": "<arguments>"
    },
    "name": "canvas_prepare_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
argumentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds that output is a preview to be surfaced verbatim, which is genuinely useful, but it omits what an invalid `name` does, whether anything is ever persisted, and that openWorldHint means arbitrary action names are accepted.

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

Conciseness4/5

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

Two short sentences, zero filler, with the preview framing front-loaded. The second sentence is a useful imperative rather than padding, though the comma-spliced list of five action names is slightly hard to parse.

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?

This is a nested free-form object dispatcher with no output schema and no parameter documentation, which is a high-complexity case. The description does not explain the name/arguments contract, the error behavior for unknown actions, or what the returned preview contains, leaving significant gaps for an agent invoking it blind.

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?

Schema description coverage is 0% for both parameters, so the description must carry the load. It hints that `name` is one of the listed action strings, but never explains that `arguments` must conform to the target action's own schema, which is the single most important thing an agent needs to call this correctly.

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

Purpose3/5

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

The verb 'Preview' plus the enumeration of actions (submit_assignment, grade_submission, send a message) gives an agent a rough idea that this is a dry-run wrapper. But 'Canvas catalog change' is imprecise, and the description never states that this is a generic dispatcher keyed by tool name, nor does it distinguish it from the sibling canvas_confirm_action.

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?

'Show the exact preview to the user' implies the intended flow (preview, then presumably confirm), which is the only usage signal present. There is no explicit statement of when-not to use it, no pointer to canvas_confirm_action as the follow-up, and no mention that the preview must precede the actual mutation.

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