Skip to main content
Glama

run_flyte_task

Execute a Flyte task by providing the Python module path, task name, and optional inputs. Runs the task on your configured Flyte cluster.

Instructions

Execute a task on the configured Flyte cluster. Requires flyte-sdk installed.

module_path: absolute path to the .py file defining the task task_name: Python name of the task function within that file inputs: dict of input kwargs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNo
task_nameYes
module_pathYes
Behavior2/5

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

No annotations are present, so the description must disclose behavioral traits. It mentions the prerequisite and parameter explanations but omits critical behavior like whether execution is synchronous, blocking, or how errors/failures are handled. This is a significant gap in transparency.

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 concise with no wasted words. It front-loads the action and prerequisite, then clearly lists parameter definitions. Every sentence is necessary and well-structured.

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 no output schema and no annotations, the description should cover return values and error conditions, but it does not. The tool executes a task, yet the description omits what the tool returns or how results are communicated. This leaves a significant completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema description coverage is 0%, the description adds meaningful semantic info for all three parameters: module_path is an 'absolute path', task_name is a 'Python name', and inputs is a 'dict of input kwargs'. This compensates well for the lack of schema documentation.

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 clearly states 'Execute a task on the configured Flyte cluster', providing a specific verb and resource. It distinguishes well from sibling tools like get_flyte_execution_status or list_flyte_patterns, as it focuses on execution.

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?

The description mentions a prerequisite (requires flyte-sdk installed) but does not provide explicit guidance on when to use this tool versus alternatives, or when_not to use it. The context is clear but lacks exclusions or comparisons.

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/atoolz/flyte-mcp'

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