Skip to main content
Glama

Programmability Get Code Bundle Execution

programmability_get_code_bundle_execution
Read-onlyIdempotent

Retrieves a single code bundle execution by execution ID from Snowflake, letting you inspect its status and details.

Instructions

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "execution_id": "<execution_id>"
    },
    "name": "programmability_get_code_bundle_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
execution_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered. The description adds a meaningful "Preview" feature-status warning and a documentation URL, but says nothing about what a fetch requires (permissions, whether the execution must be terminal) or how large a payload returns.

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

Conciseness4/5

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

The actionable statement is one short sentence and is front-loaded; the "Preview:" prefix is appropriate for a warning. The bare documentation URL is a minor filler item but earns some place as a pointer to semantics that are otherwise absent.

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?

For a simple one-parameter read tool with a full output schema, the description need not explain return values, and annotations cover safety. The remaining gap is the completely undefined execution_id, which leaves the agent guessing how to construct a valid call.

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%, so the schema gives no meaning for execution_id, and the description does not compensate at all — it never mentions the identifier, its expected format, or where to obtain it (e.g., from execute_code_bundle or list_code_bundle_executions). The single parameter is effectively undocumented end to end.

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

Purpose4/5

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

"Get one code bundle execution" gives a specific verb and singular resource, which separates it from the sibling list_code_bundle_executions (plural/list) and from execute/cancel variants. The purpose is clear without opening the schema, though the description never explicitly names the sibling tools it is not.

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

Usage Guidelines2/5

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

No guidance on when to call this versus programmability_list_code_bundle_executions or why one would fetch a single execution (e.g., polling status, inspecting failure details). The only context is the "Preview" marker and a docs link, which does not tell an agent when this tool is the right choice.

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

Deploy Server

Other Tools