Skip to main content
Glama

get_assignment

Read-only

Retrieves an assignment’s instructions, linked files, external links, rubric, submission status, and feedback so students can complete and review coursework.

Instructions

Everything needed to DO an assignment: instructions, files linked in the brief (read them with read_file), external links, rubric with level descriptors, submission state and any feedback.

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": {
      "course_id": "<course_id>",
      "assignment_id": "<assignment_id>"
    },
    "name": "get_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNo
rubricNofull = every grade band's descriptor (long)brief
course_idYes
max_charsNo
assignment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/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's added value is disclosing the shape of the payload (rubric level descriptors, submission state, feedback) and that files are references requiring a separate read_file call. It does not mention truncation or pagination behavior, which matters given a max_chars default.

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?

A single front-loaded sentence that enumerates contents compactly, with the one actionable aside (read files with read_file) parenthetically embedded. No filler or restated boilerplate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters, no output schema, and sparse schema descriptions, the definition does a decent job of describing what comes back. The gap is operational: max_chars (default 6000) and offset imply truncation and paging, and the description gives no signal that a large assignment may be cut short or how to retrieve the remainder.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20%, so the description must carry the burden. It hints at the rubric parameter via "rubric with level descriptors," but offset and max_chars — the truncation/pagination controls — are never explained in the description or the schema, leaving an agent unaware that results can be cut off or how to page through them.

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 (a single assignment) and enumerates its payload: instructions, linked files, external links, rubric with level descriptors, submission state, feedback. That is far more concrete than a tautology, and the parenthetical pointing at read_file clarifies a boundary. It never explicitly distinguishes itself from get_assignments, so sibling differentiation is left implicit.

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?

"Everything needed to DO an assignment" implies the use case (fetch full detail before working on or submitting an assignment) and it tells the agent to follow up with read_file for linked files. There is no explicit when-not-to-use guidance and no mention of when get_assignments (the list tool) is the right choice instead.

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