Skip to main content
Glama

Fiveable for AP Teachers

Get submission

get_submission
Read-onlyIdempotent

One student's submission on a Fiveable assignment: each section's AI and teacher scores, the FRQ rubric breakdown, overrides and feedback, and whether the student can see results yet. includeText requires that the teacher wants to read the student's responses; it also returns student drawings and handwritten pages as images.

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": {
      "assignmentId": "<assignmentId>",
      "submissionId": "<submissionId>",
      "includeText": "<includeText>"
    },
    "name": "get_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeTextYes
assignmentIdYesAssignment id from list_coursework or list_submissions_to_review.
submissionIdYesSubmission id from list_submissions_to_review.

Output Schema

NameRequiredDescriptionDefault
textNoReadable tool result text for clients that consume structured output.
statusYesOperation status: completed, pending, partial, failed, unavailable, or a domain-specific outcome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's job is easier; it still adds real context beyond them, noting that the response discloses whether the student can see results yet and that enabling includeText pulls student drawings and handwritten pages as images. What it does not state is the authorization precondition (teacher/owner of the assignment) or the cost/size implication of the image payload.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, with the identity/scope stated first and the parameter guidance second, which is the right order. The clause 'includeText requires that the teacher wants to read the student's responses' is awkwardly phrased and reads more like a rationale than an instruction.

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 an output schema present, return values did not need describing, yet the description still sketches them for selection purposes; all three required parameters have their provenance traceable via the schema. The remaining gap is the absence of any routing to sibling tools for the closely related grading-results and essay-feedback reads.

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 67%: assignmentId and submissionId already carry provenance descriptions in the schema, so the description only repeats their meaning implicitly. The uncovered parameter, includeText, is compensated somewhat — the description explains what turning it on returns (text responses, drawings, handwritten page images) — but the default and the trade-off for leaving it false are left to 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 names a specific resource and scope — one student's submission on a Fiveable assignment — and enumerates the payload (AI/teacher section scores, FRQ rubric breakdown, overrides, feedback, visibility state). That is far more specific than the bare title 'Get submission' and lets an agent tell it apart from bulk siblings like list_submissions_to_review, though the distinguishing verb is only implied.

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 implied by the enumerated return contents (use it when you need a single student's graded submission detail), and the includeText sentence gives a conditional for reading responses. However, no sibling is named as an alternative or exclusion — nothing tells the agent when to prefer get_grading_results or get_essay_feedback instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.