Skip to main content
Glama

Compute Services Alter Service

compute_services_alter_service
Destructive

Modify a Snowflake service by setting properties or replacing its specification, with confirmation required before applying changes.

Instructions

Alter a service SET properties or replace its specification. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-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>"
    },
    "name": "compute_services_alter_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageNoQuote names that aren't all uppercase, exactly as list tools return them.
confirmNo
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.
service_nameYesQuote names that aren't all uppercase, exactly as list tools return them.
set_propertiesNo
specification_fileNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

A3.6/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 safety profile is covered structurally. The description adds the confirmation requirement, which is useful, but for a destructive replace-specification operation it omits the material consequence — that the service is recreated and running workloads are interrupted.

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 tight sentences with the operation and its modes front-loaded, followed by the confirmation requirement and a doc link. No padding, though the bare URL carries weight that prose could have carried.

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?

For a 7-parameter destructive mutation with an output schema, the essentials — verb, resource, two modes, confirmation requirement, and documentation pointer — are all present. Return values need not be explained because an output schema exists.

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

Parameters3/5

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

Schema coverage is 57%, with set_properties, specification_file, and confirm undocumented in the schema. The description partially compensates by framing those two as alternative modes and flagging confirmation, but it gives no format, path, or mutual-exclusivity rules for them.

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 ('Alter a service') and names the two operating modes: SET properties or replace the specification. It is clearly distinguishable from siblings like create_service, drop_service, and describe_service, though it does not explicitly say so.

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

Usage Guidelines3/5

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

'Alter' implies modifying an existing service, and 'Requires confirmation' flags a prerequisite, but the description never states when to choose property-alteration versus specification replacement, nor any precondition such as the service needing to exist or be suspended.

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