Skip to main content
Glama
AnonymousOnyx22

D2L BrightSpace MCP

Grade Outlook And Target Calculator

get_grade_outlook
Read-only

Works out where the user stands in one course and what they need on the remaining work to reach a target grade. Returns the current percentage, the best and worst possible final grade, and the average they must score on everything left to…

Instructions

Works out where the user stands in one course and what they need on the remaining work to reach a target grade. Returns the current percentage, the best and worst possible final grade, and the average they must score on everything left to hit targetPercent. Use for "what do I need on the final to get 80?", "can I still pass?" or "am I on track?". For the raw grade items, use get_my_grades instead.

Input Schema

NameRequiredDescriptionDefault
courseIdYesCourse ID to analyze.
totalWeightNoTotal weight of the course. Almost always 100.
targetPercentNoThe final grade the user wants, as a percentage (for example 80). Omit to just get the current standing and best/worst case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint, so safety is covered; the description adds genuinely new behavioral detail about what is computed and returned (current percentage, best/worst final grade, required average) and that omitting targetPercent yields standing only. It does not discuss computation assumptions for ungraded or unweighted items, so it falls short of the top mark.

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 statement of output, then concrete example queries, then the routing sentence. Every sentence carries weight, though the quoted example queries are somewhat redundant with the opening sentence.

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 no output schema, the description fully carries the return-value burden and does so explicitly, and annotations already cover the safety profile. Usage, alternative, and outputs are all present, so nothing needed for correct invocation 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 all three parameters (including totalWeight's near-always-100 note and targetPercent's omit behavior) are already documented in the schema. The description only restates targetPercent's role via the 'must score on everything left to hit targetPercent' sentence; it adds no syntax or format guidance 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?

States a specific verb and resource ('works out where the user stands in one course and what they need...') and names the sibling it is not ('For the raw grade items, use get_my_grades instead'). An agent can distinguish it from get_my_grades without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit trigger phrases ('what do I need on the final to get 80?', 'can I still pass?') and an explicit alternative for the raw-data case. Both when-to-use and when-not-to-use are covered.

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