Skip to main content
Glama

remove_submission

Deletes submitted files from an assignment and returns the updated submission status.

Instructions

Remove the submitted files of an assignment; returns the new status.

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": {
      "account": "<account>",
      "cmid": "<cmid>"
    },
    "name": "remove_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
cmidYes
accountYes
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It signals a destructive operation and mentions a returned status, but says nothing about reversibility, required permissions, or what the 'confirm' flag actually gates (dry run vs. final commit).

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?

A single compact sentence with the destructive action front-loaded and the return value appended. Nothing is wasted, but the extreme brevity is achieved by omitting needed detail rather than by tight editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation with no annotations, no output schema, and three undocumented parameters. The description should at minimum explain the confirm semantics and what 'new status' means, since no other field supplies that information.

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

Parameters2/5

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

Schema description coverage is 0% for three parameters. The description only obliquely implies that 'cmid' identifies the assignment; 'account' and especially 'confirm' (default false) are left entirely undefined, and the confirm flag is the riskiest thing an agent could get wrong here.

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 and resource ('Remove the submitted files of an assignment') and adds the observable outcome ('returns the new status'). It is clear enough to distinguish from prepare_submission and confirm_submission, though it never names those alternatives explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus confirm_submission or prepare_submission, nor any prerequisites. The presence of a 'confirm' parameter alongside a sibling named confirm_submission makes the omission particularly costly for an agent choosing between them.

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