Skip to main content
Glama

calculate_course_analytics

Calculate current and projected grades, category breakdowns, and upcoming assignments for a Canvas course to track performance and plan ahead.

Instructions

📊 NEW PHASE 2 Calculate comprehensive course analytics including current grades, projected grades, category breakdowns, and upcoming assignments

Input Schema

NameRequiredDescriptionDefault
userIdNoOptional user ID to calculate analytics for (defaults to current user)
courseIdNoThe Canvas course ID (numeric)
courseNameNoThe course name (e.g., "Art 113N", "CMPEN 431"). If provided, courseId is not required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it only implies a read-style aggregation. It does not say whether the call is read-only, whether it is expensive or slow because it aggregates across assignments, whether it needs teacher vs student permissions to see projected grades, or whether it fails when the current user has no enrollment.

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

Conciseness3/5

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

A single front-loaded sentence is appropriately sized, but the leading "📊 **NEW PHASE 2**" is internal release metadata that consumes attention without helping an agent decide or invoke correctly.

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?

The enumeration of current grades, projected grades, category breakdowns, and upcoming assignments effectively sketches the return payload in the absence of an output schema. However, for an aggregation tool with no annotations, it omits cost, permissions, and behavior on missing data, leaving real gaps.

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 all three parameters are documented in-schema, including the anyOf requirement of courseId or courseName. The description adds no meaning beyond that, so the baseline of 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?

The description pairs a specific verb ("Calculate") with a specific resource ("course analytics") and enumerates what is computed: current grades, projected grades, category breakdowns, and upcoming assignments. That is enough for an agent to distinguish it from single-facet siblings like get_grades or get_gradebook_categories, though it never explicitly names how it differs from them.

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 statement of when to choose this tool over get_grades, get_grade_trends, get_gradebook_categories, or generate_what_if_scenarios, and no prerequisites (enrollment, role, course context) are given. The "NEW PHASE 2" banner conveys release history, not usage conditions.

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