Skip to main content
Glama

spawn_remote_workspace

Opens an interactive workspace on a GPU node, returning an SSH bridge command and tokenized local URL for immediate connection without reading job output.

Instructions

Ouvre un espace de travail interactif sur un noeud GPU et rend tout ce qu'il faut pour s'y connecter : commande de pont SSH a coller, et URL locale avec son jeton d'authentification. Contrairement a launch_interactive_service, le jeton est genere ici, donc l'URL est utilisable immediatement sans lire la sortie du job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archNoarmgpu
gpusNo
portNo
confirmNo
workdirNo
local_portNo
time_limitNo2h
cpus_per_taskNo
spack_packagesNo
workspace_typeNojupyter

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation/safety profile is covered. The description adds that the returned token makes the URL immediately usable, which is genuinely useful behavioral context, but it omits any mention of resource consumption (GPU/time_limit), confirmation semantics, or cleanup expectations.

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?

Two tight sentences: purpose and output first, then the differentiator against the sibling. Every clause earns its place with no filler or repetition.

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?

An output schema exists so return values needn't be restated, but for a 10-parameter tool with zero schema coverage, a mutating spawn that consumes GPU resources, the description leaves too much undocumented — notably the confirm flag, port/local_port, and resource sizing parameters.

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?

Ten parameters with 0% schema description coverage and the description adds essentially no parameter meaning: arch, gpus, port, confirm, workdir, local_port, time_limit, cpus_per_task, spack_packages and workspace_type are all unaddressed. Only a vague signal ('GPU node', 'interactive workspace') hints at the resource parameters, leaving confirm and local_port entirely opaque.

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?

States a specific verb and resource ('Ouvre un espace de travail interactif sur un noeud GPU') and enumerates what it produces (SSH bridge command, local URL with token). It explicitly contrasts itself with the sibling launch_interactive_service, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines4/5

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

Names the alternative (launch_interactive_service) and the condition that favors this tool: the token is generated here so the URL works immediately without reading job output. That is clear routing guidance, though it doesn't state explicit prerequisites or when this tool should be avoided.

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