Skip to main content
Glama

Compute Services Create Service

compute_services_create_service

Creates a Snowflake service from a stage specification file and compute pool, enabling deployment of service definitions without writing CREATE SERVICE SQL manually.

Instructions

Create a service from a stage specification file. https://docs.snowflake.com/en/sql-reference/sql/create-service

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": {
      "service_name": "<service_name>",
      "compute_pool": "<compute_pool>",
      "stage": "<stage>",
      "specification_file": "<specification_file>"
    },
    "name": "compute_services_create_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageYesQuote names that aren't all uppercase, exactly as list tools return them.
databaseNoQuote 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.
compute_poolYesQuote names that aren't all uppercase, exactly as list tools return them.
service_nameYesQuote names that aren't all uppercase, exactly as list tools return them.
if_not_existsNo
specification_fileYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is covered by structured data. The description adds the useful detail that creation is spec-file driven rather than inline-defined. However it says nothing about required privileges, failure behavior, or the fact that if_not_exists silently no-ops on an existing service.

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?

One short, front-loaded sentence with zero filler; the action and its input are in the first clause. The trailing raw URL is the only piece that consumes space without adding semantic content to the tool definition.

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

Completeness5/5

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

This is incomplete for a 7-parameter open-world mutation tool: an agent cannot tell from the definition whether the compute pool must already exist and be resumed, who can call it, or what a successful response contains beyond the output schema. The doc link partly offloads this, but the description alone is too thin for the tool's complexity.

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 71%, leaving specification_file and if_not_exists undocumented, and the description only loosely gestures at them via 'stage specification file'. It adds no meaning about the defaulted if_not_exists=true behavior, which materially changes whether a conflict errors or is swallowed.

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?

States a specific verb and resource ('Create a service') plus the source artifact ('from a stage specification file'), which distinguishes it cleanly from sibling mutations like alter_service, drop_service, and describe_service. It stops short of naming any sibling explicitly, but the create semantics are unambiguous.

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 when-to-use guidance, no prerequisites (e.g. an existing, active compute pool and a populated stage), and no exclusion or alternative routing. The only pointer is a bare documentation URL, which forces the agent to leave the tool definition to learn operational conditions.

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