Skip to main content
Glama

Unsubmit

unsubmit
Idempotent

Take back a turned-in Google Classroom assignment so you can edit and resubmit it; resubmitting after the due date may be marked late.

Instructions

Unsubmit (take back) work you turned in so you can change it. If it is past the due date it may be marked late when re-submitted. 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": "unsubmit"
  }
}

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

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so safety is partly covered; the description goes well beyond by disclosing the late-marking side effect and flagging that the request format was derived from the web client and is unverified, with an instruction to check the result. That caveat is exactly the kind of behavioral context structured fields cannot carry.

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?

Three short sentences, front-loaded with the action and its purpose, followed by the consequence and then the reliability caveat. No redundant restatement of the name or 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?

For a two-parameter mutation tool with no output schema, the description covers what it does, the consequence of lateness, and the uncertainty of the request format. Minor gaps remain (permissions required, what the response looks like), but 'check the result' partly compensates for the missing output contract.

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%, and the schema already explains that `item` accepts an id or classroom.google.com link and that `course` is optional when `item` is a full link. The description says nothing about either parameter, so it adds no meaning beyond the schema; 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?

States a specific verb ('Unsubmit / take back') against a specific resource ('work you turned in') and immediately gives the reason ('so you can change it'). The inversion of the sibling turn_in is unmistakable without naming it.

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 implied by the domain: you call it to retract a submission before editing. The description adds a relevant conditional ('if it is past the due date it may be marked late when re-submitted'), but that is a consequence warning rather than explicit when-to-use/when-not-to-use routing against alternatives.

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