Skip to main content
Glama

Databases Refresh Database

databases_refresh_database
Idempotent

Refresh a secondary Snowflake database to sync it with its primary, requiring explicit confirmation. Use it to keep replicated data current.

Instructions

Refresh a secondary database. 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_refresh_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.4/5.0
Behavior3/5

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

Annotations already declare that this is not read-only, is idempotent, is non-destructive, and is open-world. The description adds the confirmation requirement and a documentation link, but it does not explain what refreshing a secondary database actually does, what prerequisites exist, or what the confirmation protects against.

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?

The description is short and front-loaded with the action and the key prerequisite. The appended documentation URL is useful but not fully integrated into the prose, keeping it just short of ideal.

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 described, and annotations cover the safety profile. However, for a non-read-only operation with a confirmation parameter, the description lacks prerequisites, precise confirmation semantics, and expected effects, leaving meaningful gaps.

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 50%: database_name is documented in the schema, while confirm has no schema description. The description's "Requires confirmation" hints that confirm must be set, but it does not specify that the caller should set confirm=true or explain the default false behavior, so it only partially compensates for the missing parameter documentation.

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 states a specific verb and resource: "Refresh a secondary database." This distinguishes it from sibling database lifecycle tools like create, clone, drop, and promote, though it does not explicitly name those alternatives.

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?

It notes a confirmation requirement, which is useful usage context, but gives no explicit guidance on when to choose refresh over related operations such as promote or enable replication. Usage is implied rather than fully directed.

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