Skip to main content
Glama

Turn in / mark as done

turn_in
Idempotent

Submit student work for a Google Classroom assignment, or mark an assignment with no attachments as done. Use the assignment ID or link, plus the course when needed.

Instructions

Turn in your work for an assignment (or mark it as done if it has no attachments). NOTE: the request format for this write was derived from the Classroom web client's code and has not been verified against a live account; check the result.

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": "turn_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
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)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the write profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the description is not required to restate safety. It adds real value beyond them by disclosing that the request format was reverse-engineered from the web client and is unverified, and by telling the agent to check the result. It stops short of saying what a failed turn-in looks like or what permissions are required.

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, front-loaded with the action and its two modes, followed by a clearly delimited caution. Nothing is redundant or padded.

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 mutation tool with annotations and no output schema, this is close to complete: it explains the branching behavior and flags reliability risk. The remaining gap is what 'check the result' concretely means, since there is no output schema to tell the agent what a success or failure response looks like.

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 description coverage is 100%, with both 'item' and 'course' documented including the link-parsing fallback, so the schema carries parameter meaning fully. The description adds no additional semantics such as accepted id formats or what happens if 'course' conflicts with the course embedded in the link.

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?

States a specific verb ('turn in') and resource ('your work for an assignment'), and adds a useful branch: mark as done when there are no attachments. It does not name or distinguish itself from the sibling 'unsubmit', which is the natural inverse operation, so an agent must infer the pair from names alone.

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?

The parenthetical gives one concrete usage condition (no attachments → mark done), which is better than nothing. However, it never says when NOT to use it, never mentions 'unsubmit' as the way to reverse this, and gives no prerequisites such as enrollment or deadline state.

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