Skip to main content
Glama

Databases Promote Database

databases_promote_database
Destructive

Promotes a secondary database to primary after explicit confirmation, enabling failover and restoring write access in Snowflake.

Instructions

Promote a secondary database to primary. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-database

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": {
      "database_name": "<database_name>"
    },
    "name": "databases_promote_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
database_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.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds the procedural requirement that confirmation is needed and points to the ALTER DATABASE documentation. It does not disclose what happens to the former primary, whether the operation is reversible, or what state the account must be in, which is meaningful missing context for a destructive failover operation.

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?

Three short sentences with the action front-loaded and nothing redundant. The trailing documentation URL is the only element that does not directly serve invocation, though it is a plausible reference for edge cases.

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 no explanation, and annotations carry the destructive/idempotency profile. For a destructive, non-idempotent failover operation, however, the description should mention prerequisites such as existing replication and the consequence for the current primary. Adequate but thin given the stakes.

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 description coverage is 50%: database_name is documented in the schema (quoting rules) while confirm is not. The sentence 'Requires confirmation' is the only thing that explains the confirm boolean, so the description does partially close the gap. It adds no detail on how confirm interacts with the operation or what happens if it is 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: 'Promote a secondary database to primary.' This is unambiguous and clearly distinct from siblings such as enable_database_failover or refresh_database. It does not, however, explicitly contrast itself with those siblings, which keeps it from a 5.

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?

The only usage-adjacent information is 'Requires confirmation.' There is no explanation of when promotion is appropriate versus enable_database_failover, what replication prerequisites must hold, or what the tool does when no secondary exists. The agent is left to infer the selection logic entirely.

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