Skip to main content
Glama

canvas_whatif_grades

Calculate hypothetical assignment scores to see how they would affect your course grade. Use what-if scenarios to plan grade outcomes without changing actual scores.

Instructions

Calculate what-if grades. Provide hypothetical scores for assignments to see how they would affect your grade.

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>",
      "whatif_scores": "<whatif_scores>"
    },
    "name": "canvas_whatif_grades"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYesThe Canvas course ID
whatif_scoresYesArray of assignment IDs and hypothetical scores to calculate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. Calling the scores 'hypothetical' suggests a non-persistent calculation, but it never states whether the scores are stored in Canvas, whether they affect the real gradebook, or what permission/error conditions apply. Real behavioral disclosure is thin for a tool with zero annotation coverage.

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?

Two short sentences with the purpose front-loaded and no filler. The second sentence partly restates the first, but it does add the 'hypothetical / impact' framing, so little is wasted.

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 simple 2-parameter calculation tool with a fully documented schema, the definition is nearly self-sufficient; 'see how they would affect your grade' hints at the return being the resulting grade. With no output schema and no annotations, a short note on whether results persist would close the remaining gap.

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 course_id, assignment_id, and score are already documented; baseline is 3. The description reinforces that scores are hypothetical and per-assignment but adds no format, range, or batching details beyond the schema.

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 gives a specific verb+resource ('Calculate what-if grades') and frames the input as hypothetical assignment scores, which distinguishes it conceptually from the sibling grade-readers like canvas_get_grades. It never names a sibling explicitly, so the differentiation is implicit rather than stated.

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?

'to see how they would affect your grade' implies the use case (hypothetical exploration of grade impact), but there is no explicit when-to-use vs. canvas_get_course_grades guidance and no exclusions or prerequisites. The agent must infer that this is for hypotheticals while the siblings return actual grades.

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