Skip to main content
Glama

prepare_submission

Destructive

Prepares turning in or unsubmitting a Google Classroom assignment: uploads optional local files as drafts, submits nothing, and returns a summary and token for user confirmation.

Instructions

Step 1 of 2 for turning in or unsubmitting work. Submits nothing.

action: "turn_in" or "unsubmit". assignment_link: the assignment's classroom.google.com link. file_paths: for turn_in, absolute paths of local files to attach (optional; with none it is "Mark as done"). They are uploaded and attached as a draft. Returns a summary, a screenshot path and a token. Show the summary to the user and ask them to confirm before calling confirm_submission.

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": {
      "action": "<action>",
      "assignment_link": "<assignment_link>"
    },
    "name": "prepare_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
file_pathsNo
assignment_linkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotency, and the description adds genuinely non-obvious behavior: files are uploaded and attached as a draft without final submission, and a summary/screenshot/token is returned for the agent to present. It does not say what happens to the uploaded draft if the user declines or how long the token stays valid, which is the remaining gap for a destructive, gated two-step tool.

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 critical facts ('Step 1 of 2', 'Submits nothing') are front-loaded and the parameter and follow-up guidance follow in short lines. It reads as a compact spec rather than prose, with no obviously wasted sentence, though the inline parameter listing is slightly choppy.

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 mutating, multi-step tool with no output schema, the description covers the full call sequence, the return payload, and the user-confirmation gate. The only missing pieces are post-abandon cleanup behavior and any staleness/expiry of the returned token.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema has no enum on action, so the description carries the full load and does: it enumerates the two valid action values, explains the assignment_link format, and defines file_paths semantics including optionality and the 'Mark as done' fallback. This is more meaning than the schema provides.

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?

The description names the specific resource and operation ('turning in or unsubmitting work') and immediately qualifies scope with 'Step 1 of 2' and 'Submits nothing', which distinguishes it cleanly from confirm_submission. An agent can tell what this does and what it does not do without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states the exact position in the workflow (call this, then call confirm_submission after user confirmation) and even instructs to show the summary and ask the user to confirm. The turn_in vs unsubmit branch is spelled out via the action parameter, and the optional file_paths case is described as 'Mark as done'.

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