Skip to main content
Glama

Set up Canvas Companion

setup

Connect Canvas Companion to your school's Canvas account by choosing browser, token, or calendar feed sign-in, then confirm setup and link it to other AI apps.

Instructions

Sets up Canvas Companion on this computer. Use it when the student asks to set it up, to sign in again or to change school, or when another tool says it is not set up. Steps: (1) Call with no arguments to see what is already set up and what to do next. (2) Ask the student for their school's name, or the address they open Canvas at, and call with school. If several schools match, ask which one is theirs. (3) Ask how they want to connect, then call with school (the exact address from step 2) and method: "browser" (easiest; opens their school's normal sign-in window, and SSO and two-factor work); "token" (opens a private page on this computer where they paste a Canvas access token); "feed" (calendar feed: deadlines and events only). (4) When they say they are done, call with no arguments again to confirm, then answer their question. Never ask the student to type a password, token or feed link into the chat. Those go only into the windows this tool opens. Pass apps to also add Canvas Companion to other AI apps on this computer. Pass replace: true only when the student asked to switch to a different school or account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
appsNoAlso add Canvas Companion to these AI apps on this computer
methodNoHow to connect, once the school is known
schoolNoSchool name to search for, or the Canvas address (e.g. canvas.myschool.edu)
replaceNoSwitch away from a school or account that is already connected (only when the student asked)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare only that this is a non-read-only, non-idempotent, open-world, non-destructive call; the description goes well beyond them by disclosing that the tool opens OS windows, that SSO/two-factor work under 'browser', that 'feed' is deadlines/events only, and the security rule that credentials must never be typed into chat. It also explains the round-trip confirmation behavior (call with no arguments again).

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?

Purpose is front-loaded and the numbered steps mirror the actual call order, so the length is largely justified for an interactive, multi-turn flow. A few clauses are redundant with the schema (the 'apps' sentence, the restatement of school) and could be trimmed without loss.

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?

There is no output schema, and the description compensates by describing what the no-argument call returns ('what is already set up and what to do next') and what to do with it. For a stateful, interactive setup tool with no required parameters, an agent has everything needed to drive the whole flow correctly.

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?

Schema coverage is 100%, so the schema already defines all four parameters and the baseline is 3. The description earns above baseline by explaining the tradeoffs between method values (browser is easiest and supports SSO/2FA; token is a pasted access token; feed is calendar-only) and by tying 'school' to the exact address from step 2, though its treatment of 'apps' merely restates the 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 first sentence gives a specific verb and resource ('Sets up Canvas Companion on this computer'), and the following sentence makes the boundary explicit by naming the trigger condition 'when another tool says it is not set up' — which cleanly separates it from siblings like check_auth and get_my_courses.

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

Usage Guidelines5/5

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

It enumerates every entry condition (initial setup, re-sign-in, school change, another tool reporting not-set-up) and then gives an ordered call sequence with per-step conditions ('If several schools match, ask which one is theirs'). It also constrains the risky parameter explicitly: 'Pass replace: true only when the student asked to switch'.

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