{"ok":true,"result":{"slug":"grade-calculator","name":"Final Grade Calculator","summary":"Score needed on a final exam to reach a target grade, or the weighted average of graded categories (percentages or points like 43/50).","description":"Find the score you need on your final exam to reach a target grade, or work out a weighted average from category weights and scores such as 42/50.","method":"POST","endpoint":"/api/v1/tools/grade-calculator","plan":"free","mcpName":"grade_calculator","input":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","description":"final: score needed on the final. weighted: weighted average of categories.","default":"final","enum":["final","weighted"],"maxLength":200000},"current":{"type":"number","description":"final mode: current grade before the final, in percent.","minimum":0},"target":{"type":"number","description":"final mode: overall grade wanted, in percent.","minimum":0},"finalWeight":{"type":"number","description":"final mode: the final's share of the overall grade, in percent (more than 0, up to 100).","minimum":0,"maximum":100},"categories":{"type":"string","description":"weighted mode: JSON array of {\"name\": string (optional), \"weight\": percent, \"score\": \"87\" | \"87%\" | \"43/50\"}. Weights need not add up to 100; each is scaled to its share.","maxLength":20000}}},"example":{"mode":"final","current":82,"target":85,"finalWeight":30},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/grade-calculator","page":"https://pithlab.com/tools/grade-calculator"}}