Skip to main content
Glama

canvas_list_upcoming_events

Read-only

Lists the calling user's upcoming Canvas LMS events for the next seven days, returning compact or full response detail.

Instructions

List the calling user's upcoming events (Canvas's curated next-7-days view).

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": "canvas_list_upcoming_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); "full" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs. On compact, the HTML Canvas stores teacher-written text in (message, description, syllabus_body, body, lock_explanation, long_description) comes back as Markdown: lists, tables, emphasis and links kept, styling and hidden text dropped, images as [alt text]. "full" keeps the HTML.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.3.0
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); \"full\" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs. On compact, the HTML Canvas stores teacher-written text in (message, description, syllabus_body, body, lock_explanation, long_description) comes back as Markdown: lists, tables, emphasis and links kept, styling and hidden text dropped, images as [alt text]. \"full\" keeps the HTML.",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  2. Addedv1.2.5

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered by structured data. The description adds genuinely useful behavioral context by disclosing that the window is 'curated' rather than an arbitrary date filter, but it stops short of saying what that curation aggregates (assignments, planner items, calendar events) or whether results are deduplicated.

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?

One sentence with the scope and time window front-loaded and zero filler. Nothing could be removed without losing information.

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

Completeness4/5

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

For a single-parameter, read-only listing tool with a fully documented schema and no output schema, this is close to sufficient. The remaining gap is that 'curated' is undefined and the relationship to canvas_list_calendar_events is left implicit, which matters given the dense sibling list.

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 single 'view' enum parameter has an unusually thorough schema description covering compact vs full, field-dropping, and HTML-to-Markdown conversion. The tool description adds nothing about parameters, so the baseline 3 applies.

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?

States a specific verb ('List') and resource ('upcoming events') scoped to 'the calling user's', plus a clarifying parenthetical that defines the window as Canvas's curated next-7-days view. That scope detail is what separates it from the broader canvas_list_calendar_events sibling, though the sibling is never named explicitly.

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 seven-day window and 'calling user' scope imply when to prefer this over a general calendar query, but the description never states a when-not condition or names the alternative tool that returns events outside that window. Usage must be inferred from the scope clause alone.

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