Skip to main content
Glama

get_execution

Retrieve personalized union execution details for a specific project and domain to support workflow integration and task management.

Instructions

Get personalized union execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
nameYes
projectYes

Implementation Reference

  • The core handler function for the MCP tool 'get_execution'. It is registered via the @mcp.tool() decorator. Fetches the execution details from UnionRemote and serializes to JSON using resources.proto_to_json.
    @mcp.tool()
    @require_auth
    def get_execution(name: str, project: str, domain: str, ctx: Context) -> dict:
        """Get union execution."""
        print(f"Getting execution {name} in project {project} and domain {domain}")
        remote = _remote(project, domain)
        execution = remote.fetch_execution(name=name, project=project, domain=domain)
        return resources.proto_to_json(execution.to_flyte_idl())
Behavior1/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure but fails to deliver. It does not indicate whether this is a read-only operation, if it has side effects, requires authentication, involves rate limits, or what the return format might be. The vague phrase 'personalized union execution' adds no practical behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise—a single phrase—but this brevity leads to under-specification rather than efficiency. While front-loaded, it lacks necessary detail, making it more of a placeholder than a helpful summary. It earns a mid-score as it avoids verbosity but fails to provide substantive information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (3 required parameters, no annotations, no output schema, and 0% schema coverage), the description is severely incomplete. It does not explain what the tool does, how to use it, what parameters mean, or what to expect in return, making it inadequate for effective agent operation.

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

Parameters1/5

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

The description adds no meaning beyond the input schema, which has 0% description coverage. Parameters 'domain', 'name', and 'project' are undocumented in both the schema and description, leaving their semantics unclear. For a tool with three required parameters and no schema descriptions, this is a critical gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get personalized union execution' is vague and tautological—it essentially restates the tool name 'get_execution' with minimal added meaning. While 'get' implies retrieval and 'personalized union execution' hints at a specific resource, it lacks clarity on what an 'execution' entails (e.g., a process, result, or status) or how it relates to siblings like 'get_task' or 'run_task', failing to distinguish purpose effectively.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. The description does not mention context, prerequisites, or exclusions, and it offers no comparison to sibling tools such as 'get_task', 'list_tasks', or 'run_workflow'. This leaves the agent without direction on appropriate usage scenarios.

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/unionai-oss/union-mcp'

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