Skip to main content
Glama

emt_attach_cluster_experiment

Destructive

Attach work to an already rented dedicated 2–4-node cluster. Does NOT start SSH remotely: run emt_cluster.py locally with the returned job ID and your private key. Whole cluster stops on completion/cancel; billing continues during preparation.

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": {
      "name": "<name>",
      "experiment": "<experiment>",
      "runs": "<runs>",
      "clusterOrder": "<clusterOrder>",
      "releaseCluster": "<releaseCluster>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "emt_attach_cluster_experiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
sshNoOpenSSH public key (ssh-ed25519 / ssh-rsa / ecdsa) authorized on the machine. Never send a private key.
nameYesHuman-readable name for the rental or job, shown in the console.
runsYesParameter sets to compute, each {params:{name:value}}; they are distributed across the nodes.
seedNoRandom seed for reproducible runs (default 0).
filesNoUUIDs of files uploaded through the REST upload API, made available to the job.
levelNoProblem scale for presets: student (small, quick), lab (research size) or frontier (largest). Default student.student
configNoThe customer's own data for a ready experiment, checked against the preset's custom-input schema.
experimentYesWhat to run: {kind:"preset",preset}, {kind:"script",entry} for an uploaded Python file defining run(ctx), or {kind:"command",environment,setup,command} for any program.
maxMinutesNoLongest the job may run, in minutes (10–1440, default 60); also the most it can be billed.
clusterOrderYesUUID of an already rented 2–4-node cluster order owned by the workspace.
releaseClusterYesMust be true: the whole cluster is released when the job completes or is cancelled.
idempotency_keyYesUnique key (16–120 chars of A-Z a-z 0-9 _ . : -). Reuse the same key and payload when retrying an uncertain request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / clusterOrder / description
      Added value: +"UUID of an already rented 2–4-node cluster order owned by the workspace."
    • addedInput schema / properties / config / description
      Added value: +"The customer's own data for a ready experiment, checked against the preset's custom-input schema."
    • addedInput schema / properties / experiment / description
      Added value: +"What to run: {kind:\"preset\",preset}, {kind:\"script\",entry} for an uploaded Python file defining run(ctx), or {kind:\"command\",environment,setup,command} for any program."
    • addedInput schema / properties / files / description
      Added value: +"UUIDs of files uploaded through the REST upload API, made available to the job."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Unique key (16–120 chars of A-Z a-z 0-9 _ . : -). Reuse the same key and payload when retrying an uncertain request."
    • addedInput schema / properties / level / description
      Added value: +"Problem scale for presets: student (small, quick), lab (research size) or frontier (largest). Default student."
    • addedInput schema / properties / maxMinutes / description
      Added value: +"Longest the job may run, in minutes (10–1440, default 60); also the most it can be billed."
    • addedInput schema / properties / name / description
      Added value: +"Human-readable name for the rental or job, shown in the console."
    • addedInput schema / properties / releaseCluster / description
      Added value: +"Must be true: the whole cluster is released when the job completes or is cancelled."
    • addedInput schema / properties / runs / description
      Added value: +"Parameter sets to compute, each {params:{name:value}}; they are distributed across the nodes."
    • addedInput schema / properties / seed / description
      Added value: +"Random seed for reproducible runs (default 0)."
    • addedInput schema / properties / ssh / description
      Added value: +"OpenSSH public key (ssh-ed25519 / ssh-rsa / ecdsa) authorized on the machine. Never send a private key."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing lifecycle and cost behavior: the whole cluster stops on completion or cancel, and billing continues during preparation. It also clarifies the post-call workflow (no remote SSH), which annotations like destructiveHint/openWorldHint could never convey.

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 front-loaded sentences with no filler: purpose, operational caveat, then lifecycle/billing consequence. Every clause carries actionable information.

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 12-parameter, nested, destructive tool with no output schema, the description covers the essential preconditions and consequences. It could say more about what the call returns (job ID, endpoint) and idempotency/retry expectations, but the core operational picture is complete.

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 100%, so parameter meaning is already fully documented. The description adds only slight color ('2–4-node' for clusterOrder, the returned job ID for ssh usage), leaving it at the baseline for a schema-complete tool.

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 concrete verb and resource: attach a workload to an already rented 2–4-node cluster. The phrase 'already rented' implicitly separates it from emt_rent_cluster and emt_start_experiment, though no sibling is named explicitly.

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?

Clear precondition ('already rented dedicated 2–4-node cluster') and a strong negative instruction: SSH is not started remotely, so the caller must run emt_cluster.py locally with the returned job ID and private key. It lacks explicit 'use X instead when...' routing against the other 21 siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources