Skip to main content
Glama

Target grade

get_target_grade
Read-only

Calculate points needed on remaining graded work to reach a target class percent, for selected courses or all active classes.

Instructions

Points needed on the work that is left to reach a target percent in each class. Adds up the points earned on graded work and the points the work left is worth, then says how many of those points you still need. target_percent is the percent you want, from 0 to 100. Pass course_ids to limit it, or leave empty for all active classes. Use this when the user asks 'What do I need to score to get a 90?' or 'Can I still get an A in this class?'

Input Schema

NameRequiredDescriptionDefault
course_idsNoClassroom course IDs to check. Leave empty for all active classes.
target_percentYesThe class percent you want, from 0 to 100. For example 90.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds meaningful behavior: it aggregates earned and remaining points and reports the points still needed, with scoping via course_ids. It does not explain edge cases like impossible targets or output structure.

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?

It is front-loaded with the core purpose and then adds only useful clarification about target_percent, course scoping, and example user intents. There is no redundant or wasted text.

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 two-parameter read-only tool with no output schema, the description is complete enough: it explains what is computed, how target_percent and course_ids affect scope, and what the user receives. No critical calling information 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 coverage is 100%, so both parameters are already documented in the input schema. The description restates target_percent’s 0–100 range and course_ids’ empty-means-all-active behavior but adds no syntax or format detail beyond the schema.

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 computation: points needed on remaining work to reach a target percent in each class. It clearly identifies the resource and outcome, making it distinguishable from siblings like get_my_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?

It gives concrete user-question examples such as “What do I need to score to get a 90?” and explains that course_ids limits scope while empty means all active classes. It lacks an explicit when-not or named alternative such as get_my_grades for current grades.

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