Skip to main content
Glama
globus
by globus

globus_compute_register_shell_command

Register a shell command with variable substitution, timeout, and visibility settings to run on Globus Compute endpoints.

Instructions

Register a shell command function with Globus Compute.

Use globus_compute_submit_task to run the registered shell command on an endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
publicYesIndicates whether the shell command can be used by others
commandYesThe shell command string, which may contain variables to be replaced with args and kwargs provided in each submit call (e.g.`echo {} --foo {foo}`).
timeoutYesMaximum execution time in seconds.
descriptionYesAn optional description of the shell command

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
function_idYesID of the registered function
Behavior2/5

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

No annotations provided, so description carries full burden. It only states 'register', lacking details on idempotency, authorization requirements, side effects (e.g., overwriting existing commands), or timing of effect. Minimal behavioral disclosure.

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 sentences, front-loaded with purpose, no wasted words. Efficiently communicates the core action and next step.

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?

Minimal but adequate for a registration tool with output schema present. Lacks context on when to choose shell command vs Python function, and no description of return values or error conditions. Moderate completeness.

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 covers all 4 parameters (100% coverage). The description does not add extra meaning beyond the schema; parameter descriptions in schema are already clear.

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?

Description clearly states the tool registers a shell command function with Globus Compute and directs to use globus_compute_submit_task to run it. Verb 'register' and resource 'shell command function' are specific and distinguish from siblings like register_python_function.

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?

Mentions using globus_compute_submit_task to run the command, implying a workflow, but does not explain when to use this tool versus alternatives (e.g., register_python_function) or provide exclusion criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/globus/globus-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server