Skip to main content
Glama

Zovo Gradebook

Calculate grade needed on the final

calculate_grade_needed
Read-onlyIdempotent

Use this when someone asks what they need on the final: 'what do I need on my final to get a B', final grade calculator, score needed on the final exam to pass, or a teacher asking what each student needs on the final for a C. Takes the current grade percent (or a list of students with current grades), how much the final is worth, and a target percent or letter (default all letters on the scale). Returns the score needed on the final for each target (and the points needed when final points are given), whether it is reachable, and what-if course grades. Assumes the final is a separate weight on top of the current grade; does not model a final inside a weighted category.

Input Schema

NameRequiredDescriptionDefault
targetNoThe course grade wanted: a percent (90), a letter ("B") or several ("A, B, C"). Default: every letter on the scale.
studentsNoFor a teacher: several students' current grades, e.g. "Ana Diaz 84.5, Ben Ito 71" or [{"name":"Ana Diaz","current_grade":84.5}]. Send this or current_grade.
plus_minusNotrue for +/- letters. Default false.
final_weightYesHow much the final counts toward the course grade, as a percent, e.g. 20 or "20%" (0.2 is read as 20%).
letter_scaleNoLetter cutoffs for letter targets. Default A 90, B 80, C 70, D 60; "plus_minus" or a custom list like "A 93, B 85, C 75, D 65".
current_gradeNoThe grade before the final, as a percent, e.g. 84.5 or "84.5%".
final_points_possibleNoPoints on the final exam, e.g. 120, to also show the points needed.

Output Schema

NameRequiredDescriptionDefault
kindYes
notesYes
targetsYes
what_ifYes
studentsYes
final_weightYes
letter_scaleYes
current_gradeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the description is free to spend its words on what the computation returns (needed score per target, reachability, points needed, what-if grades). It also discloses the key modeling limitation that the final is treated as a separate weight and not a weighted-category component, which is exactly the kind of caveat annotations cannot convey.

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?

Front-loaded with the triggering situation before the mechanics, and the closing assumption sentence is well placed. The first sentence is long with several quoted examples, but each clause carries routing value rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not restate return values, yet it still summarizes them and flags the reachability and points-needed outputs. Combined with annotations and full schema coverage, nothing an agent needs to select or call this tool is missing.

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 parameters are already fully documented, and the description mostly paraphrases them (current grade, final weight, targets, default all letters). The one genuinely additive note is the 'students or current_grade' framing for the teacher case, which the schema also states, so the baseline 3 applies.

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?

States a specific verb and resource ('calculate the score needed on the final') and enumerates the exact user phrasings that should route here. It is clearly distinct from calculate_class_grades and generate_progress_reports because it is per-final, per-target, not an aggregate report.

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?

Gives concrete triggering utterances ('what do I need on my final to get a B', 'score needed to pass') plus a teacher scenario, which is strong when-to-use guidance. It does not explicitly say when to prefer a sibling tool instead, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources