Skip to main content
Glama

gradescope_get_page_selection

Read-only

Shows a PDF submission's questions, assigned pages, total page count, and any unassigned questions or pages for review before selecting pages.

Instructions

For a PDF submission, show each question and which pages are assigned to it now, the PDF page count, and which questions or pages are still unassigned. Use when the user asks about the pages of a PDF submission, and before gradescope_select_pages.

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_page_selection"
  }
}

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"
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 already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds real value by enumerating exactly what the response contains (current assignments, page count, unassigned items) and that it reflects the present state. It does not cover failure behavior, such as what happens with a non-PDF submission or a missing active submission.

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 returned information front-loaded ahead of the usage and sequencing guidance. Every clause earns its place.

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?

With no output schema, the description compensates by describing the returned content, and annotations plus a fully documented schema cover safety and inputs. It lacks only edge-case handling (non-PDF submissions, absent active submission) for a tool with four parameters and external data dependencies.

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%, with courseId, assignmentId, submissionId and account all documented in the schema, so the baseline applies. The description mentions nothing about parameters, including the meaningful 'omit submissionId to use the active submission' behavior, which is left entirely to the schema.

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 ('show') and a precise resource set: question-to-page assignments, PDF page count, and remaining unassigned questions/pages, scoped to PDF submissions. An agent can immediately tell this is a read/introspection tool rather than the page-mutating sibling.

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 explicit triggers ('user asks about the pages of a PDF submission') and an explicit sequencing rule ('before gradescope_select_pages'), which routes the agent to the right sibling. It stops short of stating when NOT to use it (e.g., non-PDF submissions), so it is strong but not exhaustive.

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