Skip to main content
Glama

portal_grades

Read-only

Retrieve current-semester grades, including midterm percentages and per-item scores with grader details, optionally filtered by course.

Instructions

Current-semester grades: midterm percentage per course, plus every graded quiz, assignment and other item (score / out of, and who graded it).

course limits the detail to one course; leave empty for all courses.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "portal_grades"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/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, so the safety profile is covered. The description adds genuine behavioral value by describing the shape of what comes back (percentage per course, per-item score/out-of, grading source), which annotations cannot express; it stops short of mentioning pagination, freshness, or access requirements.

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?

Two short sentences with no filler; the payload description comes first and the parameter semantics follow. Every clause carries information an agent cannot get from the structured fields.

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?

There is no output schema, but the description compensates by describing the returned data in detail. For a zero-required-parameter read tool this is nearly complete; only the course identifier format and any handling of ungraded or in-progress items are unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden, and it does explain the single parameter's effect: limiting detail to one course, with empty meaning all courses. The remaining gap is the identifier format — course name, code, or ID — which is left unstated and is the one thing that could cause a failed call.

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 resource (current-semester grades) and enumerates the payload: midterm percentage per course plus every graded quiz, assignment and other item with score and grader. The qualifier "current-semester" also implicitly separates it from portal_previous_grades, so an agent can pick between them without opening a schema.

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

Usage Guidelines3/5

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

Usage is only implied through the scoping note: the `course` parameter narrows to one course and empty returns all courses. There is no explicit when-to-use or when-not-to-use framing relative to portal_previous_grades or portal_transcript, and no stated prerequisites such as being enrolled or authenticated.

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