Skip to main content
Glama

Get post / assignment

get_item
Read-only

Retrieve complete details for a Google Classroom post, assignment, question, or material—including due dates, points, attachments, submission status, and comments—by item ID or link.

Instructions

Full details of a post, assignment, question or material: text, due date, points, attached files/links, your submission (status, your attachments, answer), and comments.

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": {
      "item": "<item>"
    },
    "name": "get_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoAlso return the raw Classroom JSPB arrays (for fields this server does not decode yet, e.g. grades)
itemYesPost/assignment id, or its classroom.google.com link
courseNoCourse id, link or name. Optional when `item` is a full Classroom link (the course is read from it)
include_commentsNoInclude class + private comments (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/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 usefully signals that comments are part of the payload (matching the default-true include_comments flag) and that results are scoped to "your" submission. It does not say what happens when the item is inaccessible, not found, or in another course.

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?

One sentence, front-loaded with the core purpose and followed by a compact colon list of what is returned. No filler or restatement of the title.

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 carries the burden of describing return values, and it does so by enumerating fields including submission details and comments. The main gap is item-not-found, permission, and cross-course behavior for a tool whose course parameter is optional.

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 every parameter already has a description, so the schema does the heavy lifting. The description adds only indirect corroboration of include_comments via the word "comments" and says nothing about the raw or course parameters beyond what the schema states.

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 verb-and-resource pairing ("Full details of a post, assignment, question or material") and enumerates the payload (text, due date, points, attachments, submission, comments). It implicitly overlaps with siblings like get_my_submission and get_stream without naming the distinction, which keeps it short of a 5.

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: fetch a single classroom item by id in order to see everything about it. There is no explicit when-to-use guidance (e.g. "use this to see a submission and its assignment together; use get_my_submission for submission only") and no exclusions or prerequisites such as enrollment requirements.

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