Skip to main content
Glama

project_grade

Calculates course grade projections and target-letter averages from Canvas scores and syllabus weights/drop rules, flagging unknown or future work to keep projections accurate.

Instructions

Current percentage and the average needed to reach each letter cutoff (UW scale by default). Work is graded, remaining, or unknown (done or past due but score hidden/ungraded/missing; never counted as remaining). Canvas drop rules apply; weighted groups with nothing posted count as remaining. Supply syllabus policy Canvas lacks with future_work, group_weights and group_rules; duplicates of Canvas work are rejected. Present letters as definitive only when projection_complete is true; with unknown scores, needed_average_on_unscored_percent replaces needed_average_on_remaining_percent.

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": "<course>"
    },
    "name": "project_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseYesCourse id, code (e.g. 'CHEM 343', 'CS 252') or part of its name
targetsNoOptional letter -> cutoff percent, e.g. {"A": 92}
future_workNoWork not in Canvas yet. {name, points, group} adds an assignment to an existing group (drop rules then apply); {name, points} a new group in unweighted courses; {name, weight} a new weighted group (percent).
group_rulesNoSyllabus drop rules, e.g. {"Assignments": {"drop_lowest": 1}}
group_weightsNoSyllabus weights per group, e.g. {"Exams": 75, "Assignments": 25}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose real behavior: drop rules apply, weighted groups with nothing posted count as remaining, duplicate Canvas work is rejected, and unknown scores change which needed-average field is meaningful. It falls short of 5 because output fields it leans on (projection_complete, needed_average_on_unscored_percent) are referenced without describing their shape or the response overall.

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?

The content is dense and largely earns its place, but it is a single run-on block mixing grading semantics, mutation rules, input guidance, and output cautions with no front-loading of the primary computation. A reader has to parse clauses like 'Work is graded, remaining, or unknown (done or past due but score hidden/ungraded/missing; never counted as remaining)' to extract meaning.

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 computation tool with nested-object parameters and no output schema, the description covers the important semantic edge cases: unknown/ungraded handling, drop rules, weighted groups with nothing posted, and the projection_complete caveat. What is missing is the actual return structure, which the absence of an output schema leaves entirely undisclosed.

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 100%, so baseline would be 3, but the description adds meaning beyond the schema: why the optional policy parameters exist (Canvas lacks syllabus policy), that duplicates of Canvas work are rejected, and that drop rules apply once future work joins a group. That is genuine semantic value rather than restatement.

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 states the specific computation: current percentage plus the average needed to reach each letter cutoff, with a default grading scale (UW). It is clear which resource/calculation is produced, but it never names or distinguishes itself from the sibling tool get_grades, so an agent must infer the boundary itself.

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?

Usage conditions are implied through instructions like 'supply syllabus policy Canvas lacks with future_work, group_weights and group_rules' and 'present letters as definitive only when projection_complete is true', which tell the agent how to behave once called. There is no explicit when-to-use-this-vs-alternatives guidance, and no statement about when the tool should not be called.

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