Skip to main content
Glama

Compute Services Suspend Service

compute_services_suspend_service
Idempotent

Suspend a Snowflake compute service to stop active resources; confirmation is required before the change is applied.

Instructions

Suspend a service. 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_suspend_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the description's added value is the confirmation requirement, which is genuinely useful behavior context beyond the annotations. It still omits what happens to running jobs/queries on the service and whether suspension is graceful or immediate.

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

Conciseness5/5

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

Two short sentences plus a doc link, front-loaded with the action and the key prerequisite. Nothing is padded or redundant.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. For a mutating lifecycle tool, though, the definition should say what confirm must be set to and what state the service ends up in after suspension.

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 75%, with database, schema_name, and service_name documented in the schema. The description's 'Requires confirmation' is the only clue that the undocumented confirm parameter likely must be set to true, adding some meaning, but it never states the flag's expected value or what happens if confirm defaults to false.

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: 'Suspend a service.' An agent can identify the operation. However, it does not distinguish itself from near-identical siblings like compute_services_suspend_compute_pool or compute_services_resume_service, leaving ambiguity about which suspend target applies.

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?

'Requires confirmation' hints at a prerequisite but never explains when to choose suspend over alter_service, drop_service, or resume_service, nor what happens to a service that is already suspended. No when-not guidance is given.

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