Skip to main content
Glama
globus
by globus

globus_compute_register_python_function

Register a Python function with Globus Compute to enable remote execution. Then submit tasks to run the function on compute endpoints.

Instructions

Register a Python function with Globus Compute.

Use globus_compute_submit_task to run the registered Python function on an endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
publicYesIndicates whether the Python function can be used by others
descriptionYesAn optional description of the Python function
function_codeYesThe text of the Python function source code
function_nameYesThe name of the Python function

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 are provided, and the description does not disclose any behavioral traits such as required permissions, validation of function_code, idempotency, rate limits, or what happens on failure. The minimal description fails to inform the agent about side effects or constraints.

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?

The description is extremely concise: two short sentences. The first states the primary purpose, and the second provides next-step guidance. No redundant or unnecessary information.

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?

Given 4 required parameters and no annotations, the description is too sparse. It does not mention the output (e.g., a function UUID) which is critical for subsequent use with submit_task. Missing error scenarios and preconditions.

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 coverage is 100%, so baseline is 3. The description adds no additional meaning beyond the schema fields; it does not explain parameter format, constraints, or how they affect registration.

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?

The description explicitly states 'Register a Python function with Globus Compute', clearly identifying the verb and resource. It also distinguishes from sibling 'globus_compute_submit_task' by noting it is used to run the registered function.

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?

The description provides clear usage context by linking register and submit tasks. However, it does not explicitly state when not to use this tool or compare with other siblings like 'globus_compute_register_shell_command'.

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