Skip to main content
Glama

gradescope_activate_submission

DestructiveIdempotent

Make an earlier Gradescope submission the active graded one, replacing the current active submission. Use a dry run first and confirm before activating.

Instructions

Make one of your earlier submissions the active (graded) one, replacing the current active submission. Only use when the user explicitly asks. Always call with dryRun: true first, show which submission becomes active, and wait for the user to confirm.

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>",
      "submissionId": "<submissionId>"
    },
    "name": "gradescope_activate_submission"
  }
}

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.
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"
assignmentIdYesAssignment id (from gradescope_list_assignments) or a unique part of its title, e.g. "Perceptron"
submissionIdYesThe earlier submission to activate (from gradescope_list_submissions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is partly supplied. The description still adds real value by spelling out what gets destroyed (the current active submission is replaced) and by imposing the dryRun-then-confirm protocol, though it says nothing about permissions or what happens if the submission is already active.

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 with zero filler, and the most important constraint (the user must ask explicitly) is front-loaded after identifying the action.

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 destructive mutation with six fully documented parameters and no output schema, the definition covers the action, the risk, and the required confirmation ceremony. A note on permissions or on what the return plan looks like would make it airtight, but nothing essential for correct invocation is missing.

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 coverage is 100%, so the baseline is 3; the description earns an increment by giving the sequencing semantics for dryRun and confirm (dryRun must come first, confirm only after the user says yes), which the schema describes individually but not as an ordered gate.

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 states a specific verb and resource ('Make one of your earlier submissions the active (graded) one') and names the side effect ('replacing the current active submission'), which cleanly distinguishes it from gradescope_submit and gradescope_get_submission without needing to name them.

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 an explicit gating condition ('Only use when the user explicitly asks') plus a mandatory workflow: dryRun first, show the resulting active submission, then wait for confirmation. There is no ambiguity about when this tool should fire or what must precede it.

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