Skip to main content
Glama

get_assignment_details

Retrieve a single assignment's full details, including description, due date, points, and associated files, to review requirements and attached materials.

Instructions

Gets the full details for a single assignment, including the description, due date, points, and a list of all associated files. Use this after finding an assignment with get_assignments.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_assignment_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdNoThe Canvas course ID (numeric)
courseNameNoThe course name (e.g., "Math 451", "CMPEN 431"). If provided, courseId is not required.
processFilesNoWhether to process files for discussion and Q&A (default: false)
assignmentNameNoThe full name of the assignment (e.g., "Project 2: Human Behavior Insights to Sustainable Arts and Design").
includeFileContentNoWhether to automatically read the content of associated files (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does disclose the shape of the returned data, but omits that file contents are read by default (includeFileContent=true), which is a meaningful behavior with cost/context implications, and says nothing about permissions or failure modes.

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 waste, with the payload summary front-loaded and the sequencing hint last. Nothing redundant.

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 usefully enumerates the return contents, which is the right call. It falls slightly short by not warning that file content is fetched by default, but an agent can still call it correctly from the text plus schema.

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 description coverage is 100%, so the schema already documents all five parameters well, making 3 the floor. The description adds the one piece the schema does not emphasize: that returned details include all associated files, tying the file-related parameters to the output.

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 and resource ('Gets the full details for a single assignment') and enumerates the returned payload (description, due date, points, associated files), which cleanly separates it from the list-oriented get_assignments.

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?

Explicitly prescribes the workflow: 'Use this after finding an assignment with get_assignments.' It gives positive sequencing guidance but offers no exclusions or conditions under which this tool should be skipped.

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