Skip to main content
Glama

build_on_node

Compile or install software on a compute node with the target architecture via srun, ensuring GPU-node (aarch64) artifacts work instead of unusable x86_64 login builds.

Instructions

Compile ou installe sur un noeud de calcul de l'architecture voulue, via srun. INDISPENSABLE pour cibler les noeuds GPU : ils sont en aarch64 alors que le noeud de login est en x86_64, donc tout artefact produit sur le login y est inutilisable. Synchrone, plafonne a 15 min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archNoarmgpu
cpusNo
minutesNo
modulesNo
workdirNo
commandsYes
with_gpuNo
spack_packagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false. The description adds valuable non-obvious behavior: execution is synchronous and capped at 15 minutes, and it runs remotely via srun. It stops short of stating what gets written where or failure semantics.

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 dense sentences, front-loaded with the action, then the critical arch rationale in caps, then the execution constraint. Every sentence earns its place.

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?

Output schema exists, so return values need no explanation, and the description covers purpose and key constraints well. However, for an 8-parameter tool with zero schema documentation, the description leaves the bulk of invocation semantics unexplained.

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% across 8 parameters, so the schema explains nothing. The description only loosely gestures at the arch parameter ('architecture voulue') and the minutes cap; cpus, modules, workdir, commands, with_gpu and spack_packages get no meaning at all.

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 pair (compile/install) and resource (compute node of the desired architecture) plus the mechanism (srun). It clearly separates itself from login-node siblings like run_login_command and build_wheel by naming the target environment.

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?

Gives a strong when-to-use rule: INDISPENSABLE for GPU nodes because they are aarch64 while the login node is x86_64, so login-produced artifacts are unusable. It implicitly contrasts with login-node work but never names an alternative tool explicitly to route the agent.

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