Skip to main content
Glama

Target grade

get_target_grade
Read-only

Calculate the score required on remaining Canvas coursework in one course to reach a target percent, using graded points or Canvas’s current percent. Enter course ID or name and target percent.

Instructions

Work out what score is needed on the remaining Canvas work in one course to reach a target percent. Pass course_id as the Canvas course ID or as the course name and target_percent as a number from 0 to 100. If Canvas reports a current percent for that course, pass current_percent to use it instead of computing from graded points alone. Example: "What do I need on the rest of my work in Networking 1 to get an 85 percent?"

Input Schema

NameRequiredDescriptionDefault
course_idYesCanvas course ID, the number Canvas shows for the course, or the course name such as "Networking 1". Ask get_my_courses for the list of IDs and names.
target_percentYesTarget course percent, from 0 to 100.
current_percentNoOptional, use the percent Canvas reports for the course instead of computing from graded points.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.1/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already declared, the description adds useful behavioral context: it explains that the tool computes from graded points unless current_percent is supplied from Canvas. It does not describe failure modes or the exact response shape, but it meaningfully supplements the annotations.

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 description is front-loaded with the purpose and appropriately sized for a simple calculator. It includes a helpful example, though some parameter explanation duplicates the schema and could be tighter.

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 read-only, three-parameter calculator with no output schema, the description covers the core inputs and calculation concept well. It could be more complete by noting what the result includes or how impossible/edge targets are handled, but it is sufficient for correct invocation.

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 documents all three parameters thoroughly. The description repeats course_id, target_percent, and current_percent semantics, adding only slight nuance about using Canvas-reported percent instead of computing from graded points.

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 states a specific calculation: determining the score needed on remaining Canvas work to reach a target percent in one course. This is clearly distinct from sibling tools like get_my_grades because it computes a required future score rather than reporting current grades.

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 gives a clear usage scenario and example question, so an agent knows when this calculator is appropriate. It does not explicitly state when not to use it versus get_my_grades or other grade-related siblings, so it falls short of full alternative routing.

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