Skip to main content
Glama

canvas_get_assignment_statistics

Retrieve assignment score statistics for a Canvas course, including minimum, maximum, median, and quartile values to analyze grade distribution.

Instructions

Get score statistics for assignments in a course: min, max, median, quartiles.

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": {
      "course_id": "<course_id>"
    },
    "name": "canvas_get_assignment_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYesThe Canvas course ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read operation via 'Get' but says nothing about whether statistics are per-assignment or aggregated across the course, which assignments/submissions are included, whether it requires elevated permissions, or how empty/no-data courses behave.

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?

One sentence, front-loaded with the verb and resource, and the enumerated statistics are efficient rather than wasteful. Nothing is redundant, though the brevity borders on under-specification.

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?

For a single-parameter read tool with no output schema, the description is passable but leaves ambiguity about output granularity (per-assignment vs course-wide) and access requirements. An agent could call it correctly with the required course_id, but might misread the returned scope.

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?

There is a single parameter (course_id) with 100% schema description coverage, so the schema already fully documents its meaning. The phrase 'in a course' reinforces the scoping but adds no syntax or format detail beyond the schema, making the baseline 3 appropriate.

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?

The description names a specific verb ('Get') and resource ('score statistics for assignments in a course'), and enumerates exactly which statistics are returned (min, max, median, quartiles). It is clear what the tool does, though it does not distinguish itself from nearby siblings like canvas_get_course_grades or canvas_get_grades.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool rather than a grades or analytics sibling, no stated prerequisites (e.g., teacher vs student access), and no exclusions. The agent must infer the choice of tool purely from names.

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