Skip to main content
Glama

gradescope_get_results

Read-only

Shows autograder results for a Gradescope code submission: each test's score, status and output. Poll a just-uploaded submission until it finishes running.

Instructions

Show the autograder results of a code submission: each test with its score, status and output. Set waitSeconds to poll until a just-uploaded submission finishes running.

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>",
      "assignmentId": "<assignmentId>"
    },
    "name": "gradescope_get_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoSaved account to use (see minerva_list_accounts). Only needed when several accounts are saved and the user has not chosen one yet.
courseIdYesGradescope course number like "1234567" (from gradescope_list_courses), or a module code like "COMP3620"
waitSecondsNoPoll up to this many seconds while the autograder runs
assignmentIdYesAssignment id (from gradescope_list_assignments) or a unique part of its title, e.g. "Perceptron"
submissionIdNoOmit to use your active submission

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only say read-only and open-world; the description adds genuinely new behavior by disclosing the polling model for in-progress autograder runs and what the payload contains per test. It leaves the not-yet-finished / waitSeconds=0 case implicit, which keeps it below 5.

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 sentences, zero filler, with the core purpose stated first and the polling tip second. Every clause carries information an agent needs.

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?

For a read-only retrieval tool with a fully documented schema and no output schema, this covers purpose, payload shape, and the async polling case. It could still say what happens when the autograder has not finished within the wait window, but nothing essential for a correct call 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 every parameter, including waitSeconds and submissionId, is already documented in the schema. The description only echoes the waitSeconds polling concept without adding format, bounds, or interpretation beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Show the autograder results of a code submission') and even enumerates the returned content (each test with score, status, output), which separates it in spirit from gradescope_get_submission. It stops short of naming a sibling to contrast against, so it lands at 4 rather than 5.

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?

It supplies one concrete usage cue: set waitSeconds when polling a just-uploaded submission. It gives no guidance on when to prefer this over gradescope_get_submission, gradescope_grades, or gradescope_status, and no exclusions or prerequisites are stated.

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