Skip to main content
Glama

gpu_submit_job

Submits Python or notebook scripts as GPU jobs to Kaggle or Google Colab, with provider selection, quota checks, dry-run recommendations, and idempotency to prevent duplicate submissions.

Instructions

Submit a script. Mock data are TEST FIXTURES, not a live account.

provider auto asks the scheduler to choose. A premium GPU needs scheduler.allow_premium_gpu plus allow_premium. high_mem maps to Colab --high-mem (CPU/T4/A100/H100/G4; not L4/TPU) and does not bypass premium guards. Colab needs timeout_seconds so the CCU budget can be checked. Real jobs also require mode: real and allow_real_jobs. idempotency_key returns the existing job instead of submitting again when the spec matches. A different spec is an invalid-input error. deduplicated is true when the existing job is returned. An ambiguous submit is not resubmitted. account pins that account. Quota exhaustion does not rotate to another account. dry_run recommends a backend and does not submit.

Input Schema

NameRequiredDescriptionDefault
nameNo
accountNo
dry_runNo
gpu_typeNo
high_memNo
providerNoauto
gpu_countNo
script_pathYes
allow_premiumNo
idempotency_keyNo
timeout_secondsNo
min_gpu_memory_gb_per_gpuNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral-disclosure burden and does a strong job on idempotency, deduplication, ambiguous submits not being resubmitted, account pinning, quota exhaustion not rotating accounts, premium guards, and `dry_run` not submitting. It still leaves some gaps around failure modes, authorization requirements, and side effects, and it references `mode` and `allow_real_jobs` even though those are not in the input schema.

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 purpose is front-loaded in the first sentence and most of the dense content is relevant to a complex 12-parameter submission tool. The single-paragraph format is less scannable than it could be, but there is little outright fluff.

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

Completeness3/5

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

The description is behaviorally rich for a tool with no annotations and 0% schema description coverage, and the output schema means return values need not be explained in detail. However, it does not fully document the 12 input parameters and introduces parameters (`mode`, `allow_real_jobs`) that are absent from the schema, leaving an agent with ambiguity about what can actually be supplied.

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 0%, so the description must compensate for all 12 parameters. It adds meaningful semantics for `provider`, `high_mem`, `timeout_seconds`, `idempotency_key`, `account`, `dry_run`, and partially `allow_premium`, but it leaves `name`, `gpu_type`, `gpu_count`, `script_path`, and `min_gpu_memory_gb_per_gpu` unexplained while also mentioning schema-absent fields.

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 opens with a specific verb and resource: "Submit a script." That is clear enough for an agent to understand the core operation, but it never distinguishes this tool from the sibling `l2kc_submit_job` or explicitly scopes it as the GPU submission tool.

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?

It gives useful conditional guidance around `dry_run`, premium GPUs, Colab timeouts, and real jobs, which implies when certain options apply. However, it never states when to choose this tool over `l2kc_submit_job`, `gpu_recommend_backend`, or other siblings, and it provides no explicit when-not-to-use guidance.

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