Skip to main content
Glama

get_assignments

Read-only

Retrieves compact assignment details for a Canvas course, including ID, due date, points, status, and name, with an option to show only todo items.

Instructions

Assignments in one course as compact lines: id | due | points | status | name. Use get_assignment for the full brief.

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>"
    },
    "name": "get_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYes
only_todoNoHide submitted/graded work

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, openWorldHint true), so the description's job is added context — and it delivers the return format as pipe-delimited fields, which is genuinely useful since there is no output schema. It does not mention ordering, truncation, or pagination behavior for larger courses.

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 payload format front-loaded and the sibling redirect at the end where it belongs. Every clause carries information an agent needs to call or interpret the result.

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-only list tool with no output schema, the description covers purpose, output layout, and the alternative tool. The remaining gap is behavioral edge cases — result ordering and what status values can appear — which are modest for a compact-listing tool.

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 50%: only_todo is documented in the schema with its default, while course_id is bare. The description's "in one course" loosely implies course_id but adds no format or scoping detail, and it never explains the effect of only_todo on results. At this coverage level the schema does roughly half the work, so baseline 3 applies.

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?

Names the resource and scope precisely ("Assignments in one course") and describes the return shape as compact lines with explicit field order (id | due | points | status | name). It also explicitly contrasts with the sibling get_assignment for the full brief, so an agent can pick between them without opening either schema.

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?

Clear routing guidance: this tool for a compact list, get_assignment when a full brief is needed. What's missing is guidance on the only_todo filter — when to leave the default and when to flip it to see submitted/graded work — which is the main usage decision an agent faces here.

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