Skip to main content
Glama
AnonymousOnyx22

GPA Calculator MCP

Convert a grade

convert_grade
Read-only

Convert a letter or percentage grade into its matching letter, percentage range, and grade points on a chosen grade scale.

Instructions

Convert a letter or percentage into the matching letter, percentage range and grade points on a grade scale. Inputs: grade (a letter like "B+" or a percentage like 87 or "87%") and a scale id. Example prompt: "Convert 78 percent to a letter grade on the Ontario college scale."

Input Schema

NameRequiredDescriptionDefault
gradeYesA letter like "B+" or a percentage like 87 or "87%".
scaleNoGrade scale id: "us4", "us4plus", "ontario-college", "uk-classification", "australia-hd" or "weighted-5.0". Defaults to "us4". Ask the student which one their school uses if unsure.us4

Output Schema

NameRequiredDescriptionDefault
scaleYesThe scale id the grade was converted on.
letterYesThe letter the grade matches on the scale.
pointsYesGrade points the letter is worth on the scale.
scale_nameYesThe name of the scale the grade was converted on.
max_percentYesThe highest percentage the letter covers.
min_percentYesThe lowest percentage the letter covers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety behavior is covered. The description adds only that it maps across a named scale, with no mention of scale-dependent edge cases (e.g. an out-of-range percentage) — acceptable but not rich given annotations do the heavy lifting.

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?

Three short sentences, front-loaded with the purpose before inputs and example. Nothing is wasted, though the example prompt is somewhat illustrative filler rather than essential information.

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?

With an output schema present and read-only annotations, the description need not explain return values or safety. Inputs and scale selection guidance are covered; only cross-tool routing advice is missing, which is a minor gap for a low-complexity two-parameter tool.

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 coverage is 100% and both parameters are documented in the schema, including the enum list and default for scale. The description's example inputs ('B+', 87, '87%') duplicate what the schema already says, so it adds little beyond baseline.

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 (convert) and resource (grade) and states exactly what is returned: the matching letter, percentage range, and grade points. It is clearly distinguishable from siblings like calculate_gpa or needed_on_final, though it never explicitly names or contrasts them.

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?

Usage is well-contextualized with a concrete example prompt and an explicit instruction to ask the student which scale their school uses when unsure. It stops short of stating when-not to use this versus calculate_gpa or weighted_grade, so it is clear but not fully routing-aware.

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