Skip to main content
Glama

get_assignment

Read-only

Retrieve full details of a Google Classroom assignment, question, or material, including instructions, points, due date, teacher attachments, and your work state.

Instructions

Full details of one assignment, question or material: instructions, points, due date, the teacher's attachments, and your own work (state, attached files, what you can do next). link: the item's https://classroom.google.com/... link from another tool.

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

Input Schema

NameRequiredDescriptionDefault
linkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already supplied, the description adds value by disclosing the returned payload categories, including the caller's own submission state and 'what you can do next'. It does not cover pagination, attachment size, or behavior for non-assignment materials beyond the parenthetical, but the annotation set carries the safety profile.

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?

The core payload list is front-loaded and every element earns its place. The parameter note is appended after a line break in an otherwise run-on sentence, which is marginally less clean but not wasteful.

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?

There is no output schema, so the description must sketch return values, and it does so by naming the concrete fields returned. For a single-parameter read tool this is close to sufficient; only edge cases (materials without work state, invalid links) are unaddressed.

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 coverage is 0% for the single parameter, so the description has to compensate, and it does: 'link' is defined as the item's https://classroom.google.com/... URL obtained from another tool. Format and provenance are both conveyed, though no error behavior for malformed links is described.

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 states a concrete resource ('one assignment, question or material') and enumerates what it returns: instructions, points, due date, teacher attachments, and the caller's own work state. The singular scope implicitly distinguishes it from listing siblings such as list_classwork, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The trailing clause 'link from another tool' tells the agent this is a follow-up call taken after discovering an item via a listing tool, which is real when-to-use guidance. It stops short of naming the specific alternatives or stating what to do when the link is not from Classroom.

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