Skip to main content
Glama

gradescope_request_regrade

Sends or updates a regrade request for one Gradescope question to course staff after dry-run validation; requires explicit user approval of the exact wording.

Instructions

Send a regrade request on one question to the course staff, or update your pending one. The staff will read it. Only use when the user explicitly asks and has approved the exact wording. Always call with dryRun: true first.

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>",
      "question": "<question>",
      "comment": "<comment>"
    },
    "name": "gradescope_request_regrade"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoValidate and return the plan without sending
accountNoSaved account to use (see minerva_list_accounts). Only needed when several accounts are saved and the user has not chosen one yet.
commentYesThe request text, in the user's own words
confirmNoMust be true to actually send. Only set it after showing the user the dryRun plan and getting their explicit yes.
courseIdYesGradescope course number like "1234567" (from gradescope_list_courses), or a module code like "COMP3620"
questionYesQuestion number like "2.1", or a unique part of its title
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

A4.2/5.0
Behavior4/5

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

Annotations only say this is a non-destructive, non-idempotent, open-world write; the description adds the crucial behavioral facts that a human staff member reads the message and that a dryRun must precede sending. It does not say what happens to an existing pending request when updated, or whether duplicate requests are rejected, so it is not 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?

Three short sentences, front-loaded with the action, then the audience, then the safety gate. Nothing is redundant or padded.

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 an 8-parameter mutation reaching real course staff, the definition covers purpose, preconditions, and the dryRun/approval protocol, while annotations and the schema carry safety and parameter detail. Remaining gaps are minor: the effect of updating an existing request and what a successful send returns (no output schema exists to cover it).

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%, and the schema already documents dryRun, confirm, courseId, assignmentId, question, comment and submissionId with examples. The description reinforces the dryRun ordering but adds no meaning beyond the schema's own parameter documentation, so the baseline 3 applies.

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 ("Send a regrade request on one question to the course staff") plus the secondary update case, and the "one question" scope separates it from broader tools like gradescope_submit or gradescope_get_results.

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?

Gives an explicit precondition and exclusion: only when the user explicitly asks and has approved the exact wording. It also mandates the dryRun-first sequence. It does not name an alternative tool for cases where the user just wants to inspect feedback, but the when-to-use boundary is unambiguous.

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