Skip to main content
Glama

Get Assignment Analytics

get_assignment_analytics
Read-only

Retrieve score distribution, submission count, and tardiness breakdown for course assignments. Optionally filter by assignment ID to analyze a single assignment.

Instructions

Get score distribution analytics for assignments in a course. Returns statistical summary (min, max, median, first/third quartile), submission count, and tardiness breakdown (on_time, late, missing) for each assignment. Provide assignment_id to scope to one assignment; omit to return analytics for all assignments in the course.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYesThe Canvas course ID
assignment_idNoScope the result to a single assignment ID. Omit to return analytics for all assignments.
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the read-only nature is established. The description adds valuable behavioral context by detailing what the tool returns (min, max, median, quartiles, submission count, tardiness breakdown), going beyond the structured annotations.

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 two concise sentences. The first establishes the core purpose and output, the second explains the optional parameter behavior. Every sentence earns its place with no redundancy.

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?

Given there is no output schema, the description carries the burden of explaining return values and does so thoroughly: statistical summary fields, submission count, tardiness breakdown with categories. It also covers parameter scoping and reads as complete for the tool's complexity, supplemented by annotations.

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%, so the schema already fully documents both parameters. The description's guidance on assignment_id essentially mirrors the schema's own description ('Scope the result to a single assignment ID. Omit to return analytics for all assignments'), adding no new semantic information.

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 clearly states the tool's function: 'Get score distribution analytics for assignments in a course.' It lists specific outputs (statistical summary, submission count, tardiness breakdown) and distinguishes itself from sibling tools like get_course_analytics and get_student_analytics by focusing on assignment-level score distribution.

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?

The description provides clear context on when to use the tool (for assignment score analytics) and how to scope it to a specific assignment via assignment_id, with an explicit 'omit to return analytics for all assignments.' However, it does not name alternative tools or state exclusions, so it misses the explicit 'when-not-to-use' guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bruchris/canvas-lms-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server