Skip to main content
Glama
D2L BrightSpace MCP

D2L BrightSpace MCP

Grade Outlook And Target Calculator

get_grade_outlook
Read-only

Calculate your current grade and the score required to reach a specific target percent. View your best and worst-case possible final results to determine if you can still pass your course.

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 "can I still pass?" or "am I on track?". For the raw grade items, use get_my_grades instead. Example: "What do I need on the final to get an 80?"

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "courseId": "<courseId>"
    },
    "name": "get_grade_outlook"
  }
}

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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description is consistent with that by describing an analytical read operation. It adds useful behavioral detail about the returned values: current percentage, best/worst possible final grade, and required average on remaining work. It does not discuss edge cases or data freshness, so it is strong but not fully exhaustive.

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 with the core calculation, then examples and an alternative tool. Every sentence contributes to either understanding the result, choosing the tool, or distinguishing it from get_my_grades.

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?

Although there is no output schema, the description explains the key return values clearly. Combined with complete parameter documentation and read-only annotations, it gives the agent enough information to invoke the tool correctly and interpret the result.

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 the schema already documents courseId, totalWeight, and targetPercent thoroughly. The description adds context around targetPercent by framing it as the target grade to calculate toward, but it does not provide semantics beyond the schema for totalWeight or other parameters.

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 uses a specific verb-and-resource framing: it calculates the user's current standing in one course and what is needed to reach a target grade. It also explicitly distinguishes the tool from get_my_grades, which returns raw grade items.

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?

It gives concrete trigger phrases such as "can I still pass?" and "am I on track?", plus an example question about the final exam. It also names the alternative tool for raw grade data, so the agent can route correctly.

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