Skip to main content
Glama
MOT1209

Google Colab MCP Server

by MOT1209

colab_stop_execution

Interrupt active execution in a Colab runtime session, stopping running code immediately.

Instructions

Interrupt whatever is currently executing in a runtime session (like a keyboard interrupt).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. 'Like a keyboard interrupt' usefully signals a graceful interruption of the current execution rather than a hard session kill, but it omits details such as what happens to session state, whether the interrupt is reversible, and what response is returned.

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?

The description is one front-loaded sentence with no filler; the verb and target appear first, and the keyboard-interrupt analogy is a compact, useful addition. It is appropriately sized for the tool's simple scope.

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?

For a tool with no annotations and no output schema, the description should clarify what session_id means, whether it is optional, and how this stop differs from stop_training/cancel_job. The single sentence covers the core action but leaves these operational details absent.

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 coverage is 0% and the description never explicitly mentions session_id, so the parameter's default/required behavior is not explained. It only indirectly ties the parameter to a 'runtime session,' which is partial compensation but not enough to fully document the lone parameter.

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?

The description uses a specific verb ('interrupt') and resource ('whatever is currently executing in a runtime session'), and the 'like a keyboard interrupt' analogy clarifies the action. It is distinguishable from sibling tools like colab_stop_training by scope, though it does not explicitly name any alternative.

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 context of use is implied: call it when something in a runtime session is executing and needs interruption. However, it gives no explicit when-not-to-use guidance and does not contrast with colab_stop_training or colab_cancel_job, so selection among execution-control siblings is left to inference.

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