Skip to main content
Glama

Compute Services Execute Notebook

compute_services_execute_notebook
Destructive

Run a Snowflake notebook with optional database, schema, and parameters after explicit confirmation, enabling controlled execution of notebook workflows.

Instructions

Execute a notebook. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/execute-notebook

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": {
      "notebook_name": "<notebook_name>"
    },
    "name": "compute_services_execute_notebook"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
databaseNoQuote names that aren't all uppercase, exactly as list tools return them.
parametersNo
schema_nameNoQuote names that aren't all uppercase, exactly as list tools return them.
notebook_nameYesQuote names that aren't all uppercase, exactly as list tools return them.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the risk profile is known. The description adds one genuinely useful operational fact — a confirmation step is required — but says nothing about what executing the notebook actually does, what side effects or state changes result, or what happens if confirm is false.

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?

Front-loaded and free of padding, with the doc link placed at the end where it belongs. Its brevity reflects under-specification rather than tight writing, but nothing in the text is wasted.

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?

This is a destructive, open-world mutation with an output schema (so return values needn't be explained), yet the description leaves the agent without the semantics of `parameters`, the effect of `confirm`, or any hint about execution scope. For a tool of this complexity the two-sentence definition is materially incomplete.

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?

The description explains none of the five parameters. Schema coverage is only 60%: notebook_name, database and schema_name carry quoting guidance, but `confirm` and `parameters` are undocumented in both schema and description, and the description should have closed that gap for a destructive execution tool.

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?

"Execute a notebook" is a specific verb+resource that separates it from create/drop/describe notebook siblings. It does not, however, distinguish itself from compute_services_execute_notebook_project, which an agent could plausibly confuse it with.

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 when-to-use guidance beyond "Requires confirmation" — no prerequisites (notebook must exist, warehouse/compute pool needed), no exclusions, and no mention of when to prefer the sibling execute_notebook_project variant.

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