Skip to main content
Glama

get_assignment

Retrieve full assignment details—instructions, rubric, dates, attempts, submission requirements, and your submission status—using a course and assignment name or ID.

Instructions

One assignment in full: instructions, links, rubric, dates, attempts, whether it needs a Canvas submission, and your submission status.

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": "<course>",
      "assignment": "<assignment>"
    },
    "name": "get_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseYesCourse id, code (e.g. 'CHEM 343', 'CS 252') or part of its name
assignmentYesAssignment id or part of its name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full burden, and it does useful work by disclosing the return contents, including the submission-status and Canvas-submission flags. It does not state what happens when the course/assignment name matches nothing or multiple items, nor how matching is resolved, which is the main behavioral risk for a fuzzy-name lookup.

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?

A single compact sentence with the resource scope front-loaded and the returned fields listed in descending order of importance. No redundant wording, though the fragment style and dense list make it slightly less scannable than a structured two-sentence form.

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 two-parameter read tool with no output schema, the description covers the essential question of what comes back and why the agent would call it. The remaining gaps (ambiguity resolution, not-found behavior) are real but minor for a lookup of this shape.

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 itself explains that 'course' accepts an id, code, or partial name and 'assignment' accepts an id or partial name. The description adds no further parameter meaning, which is the expected baseline when the schema already does that work.

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?

Names a specific resource and scope: a single assignment 'in full,' then enumerates exactly what the payload contains (instructions, links, rubric, dates, attempts, submission requirement, submission status). That enumeration distinguishes it from list-oriented siblings like get_upcoming_assignments or get_missing_assignments, though no sibling is named explicitly.

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 only implied: an agent can infer this is the tool for drilling into one assignment rather than listing assignments. There is no explicit when-to-use statement, no mention of when a sibling such as get_grades or get_feedback would be better for a specific need, and no prerequisite guidance.

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