Skip to main content
Glama

Grades

get_grades
Read-onlyIdempotent

Retrieves Canvas grades for one course or all current courses, including weighted assignment groups, per-assignment scores, instructor comments, and remaining points to plan what score is needed.

Instructions

Grades for one course or all current courses: Canvas's current score and letter grade (official), assignment groups with weights and drop rules, each group's percentage, per-assignment scores, statuses (missing, late, excused, not released) and instructor comments, and remaining points per group for "what do I need" planning. States when the instructor hides the course total.

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

Input Schema

NameRequiredDescriptionDefault
courseIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavioral context beyond them, notably that the response reports when the instructor hides the course total, and it clarifies that the score/letter grade is the official Canvas value rather than a computed one.

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?

The scope statement is front-loaded, followed by a dense but purposeful enumeration of returned fields and a short second sentence on hidden totals. It is long but nearly every clause adds information an agent needs to judge relevance, with only mild list-density cost.

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?

With no output schema, the description carries the full burden of describing returns, and it does so thoroughly down to assignment statuses and remaining-points planning. Gaps are minor: no mention of pagination, error behavior for a bad courseId, or permission prerequisites.

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 0% for the single courseId parameter, so the description must carry the meaning. It does so adequately: 'one course or all current courses' tells the agent the parameter is optional and that omitting it widens scope to all current courses, though it never states the identifier type or what an invalid id returns.

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 the resource precisely (grades for one course or all current courses) and enumerates the concrete payload: Canvas current score, letter grade, weighted assignment groups, drop rules, per-assignment scores and statuses. That makes it unmistakably distinct from list-style siblings like get_assignments, but no sibling is named explicitly to cement the boundary.

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?

It states the two usage modes clearly: pass a course for that course, or omit it to get all current courses. There is no explicit when-not guidance or pointer to an alternative tool for assignment definitions or deadlines, but the calling context is unambiguous.

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