Skip to main content
Glama

confirm_submission

Destructive

Finalizes a Google Classroom submission by using a confirmation token to turn in or unsubmit work after user approval. Tokens expire after 15 minutes.

Instructions

Step 2 of 2: actually press Turn in (or Unsubmit). Only call this after the user has explicitly agreed to the summary from prepare_submission, using its token. Tokens expire after 15 minutes.

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": {
      "token": "<token>"
    },
    "name": "confirm_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes

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?

Beyond the destructive/non-idempotent annotations, it discloses the two-phase confirmation pattern and a 15-minute token lifetime, which is genuinely useful operational context. It does not say what happens on an expired or reused token, nor what a successful response looks like, so it stops short of full behavioral disclosure.

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 identity of the action and immediately followed by the gating condition and token lifetime. No filler or redundant restatement of the name.

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 one-parameter destructive commit tool the description covers purpose, precondition, and token lifecycle, which is what an agent needs to avoid premature invocation. It omits post-call behavior (e.g., what a confirmation returns or how expiry errors surface), a minor gap given no output schema exists.

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%, so the description must carry the parameter's meaning, and it does: the token originates from prepare_submission and expires after 15 minutes. That is the essential semantics for the single parameter; only failure modes of the token are left unspecified.

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?

Names the concrete action ("actually press Turn in (or Unsubmit)") and explicitly frames itself as "Step 2 of 2," which cleanly separates it from the prepare step among siblings. The verb+resource is unambiguous for an agent.

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?

States the exact precondition: only call after the user has explicitly agreed to the summary from prepare_submission, and only with that tool's token. It names the sibling alternative and the condition that gates invocation, leaving nothing to inference.

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