Skip to main content
Glama

Programmability Create Code Bundle

programmability_create_code_bundle

Creates a code bundle from a Snowflake workspace or stage to package application files for deployment.

Instructions

Preview: Create a code bundle from a workspace or stage. https://docs.snowflake.com/en/sql-reference/sql/create-code-bundle

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": {
      "bundle_name": "<bundle_name>",
      "source": "<source>"
    },
    "name": "programmability_create_code_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
commentNo
databaseNoQuote names that aren't all uppercase, exactly as list tools return them.
bundle_nameYesQuote names that aren't all uppercase, exactly as list tools return them.
schema_nameNoQuote names that aren't all uppercase, exactly as list tools return them.
if_not_existsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, open-world operation, so the safety profile is covered. The description adds only that the feature is in preview; it does not say what happens when the bundle already exists (the if_not_exists default is only in the schema), what permissions are required, or any preview limitations.

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?

Two short sentences, front-loaded with the action and the preview status, followed by a documentation link. Nothing is padded, though the bare URL does little work an agent can act on inline.

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?

Output schema and annotations cover return values and safety, so those gaps are acceptable. What remains missing for a 6-parameter open-world creation tool is meaningful: the expected format of 'source', the behavior on name collision, and permission requirements — none of which are in the description.

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 coverage is 50%, and the description adds meaning for only one undocumented parameter ('source' being a workspace or stage). The other undocumented parameters (comment, if_not_exists) receive no clarification, and nothing is said about the quoting/naming convention the schema repeats three times.

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?

The description gives a specific verb and resource ('Create a code bundle') plus the source scope ('from a workspace or stage'), which separates it from siblings like list_code_bundles and execute_code_bundle. The 'Preview:' prefix flags maturity but adds no ambiguity.

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?

There is no statement of when to use this versus programmability_list_code_bundles, execute_code_bundle, or the other create_* siblings, and no prerequisites or preconditions. The only usage hint is the implied 'source is a workspace or stage', which an agent must infer.

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