Skip to main content
Glama

Calculator for Grading

Score needed on the final

final_grade_needed
Read-onlyIdempotent

Use this when a student asks what score they need on a final exam (or last assignment) to reach a target grade, given the current grade and how much the final counts. Returns the needed percent, whether it is secured or out of reach, what a 0 and a 100 would leave, and the need for every letter. Works with percents (current_grade_percent + final_weight_percent) or with points (points_earned_so_far, points_possible_so_far, final_exam_points). Do not use it for a weighted average of categories.

Input Schema

NameRequiredDescriptionDefault
scaleNo10_point (default) or plus_minus, used to read a letter target.
target_gradeYesWanted grade: a percent (90) or a letter (B+).
final_exam_pointsNoPoints mode: points the final is worth.
final_weight_percentNoHow much of the course grade the final counts, in percent.
points_earned_so_farNoPoints mode: points earned so far.
current_grade_percentNoCurrent course grade in percent before the final.
points_possible_so_farNoPoints mode: points possible so far.

Output Schema

NameRequiredDescriptionDefault
linkYesPage of calculatorforgrading.com with the same inputs filled in.
scaleYes
targetYes
lettersYes
verdictYes
target_percentYes
final_counts_percentYes
zero_on_final_letterYes
hundred_on_final_letterYes
needed_on_final_percentYes
zero_on_final_gives_percentYes
hundred_on_final_gives_percentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark it read-only, idempotent, and non-destructive, so the safety profile is covered. The description adds useful behavioral context: it supports percent and points modes, returns the needed percent, secured/out-of-reach status, 0/100 outcomes, and letter needs. It does not contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and dense but not padded. Each sentence contributes: use case, return values, mode support, and an explicit exclusion.

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?

For a 7-parameter calculator with two input modes and an output schema, the description covers the relevant complexity. It explains supported modes, expected outputs, and the key boundary against weighted averages; nothing essential is missing.

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 the per-parameter definitions already carry most meaning. The description still adds value by grouping parameters into percent mode (current_grade_percent + final_weight_percent) and points mode (points_earned_so_far, points_possible_so_far, final_exam_points), which helps invocation.

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 gives a specific task: compute the score needed on a final exam or last assignment to reach a target grade. It clearly distinguishes this from category-weighted-average calculation, so an agent can separate it from siblings like weighted_grade.

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 exactly when to use the tool (student asks what score is needed on a final) and when not to use it (weighted average of categories). It does not explicitly name the sibling tool to use instead, but the exclusion condition is clear.

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