Skip to main content
Glama

Cortex Drop Search Service

cortex_drop_search_service
Destructive

Drop a Cortex Search service with required confirmation to remove it from Snowflake.

Instructions

Drop a Cortex Search service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-cortex-search

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": "cortex_drop_search_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

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the agent knows the operation is irreversible-ish and non-repeatable. The description adds only that confirmation is required plus a docs link; it never says what is lost (the service and its indexed data) or what happens when confirm=false, which is the key behavioral question for a destructive call.

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 short sentences plus a reference link, front-loaded with the action. No filler, though the brevity borders on underspecification given the destructive nature of the operation.

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?

An output schema exists and annotations fully cover the safety profile (readOnly, destructive, idempotent, openWorld), so return values and mutability need not be restated. What remains is minor: the confirmation flow's semantics, which is a nice-to-have rather than a blocker for correct invocation.

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%, and the one undescribed parameter (confirm) is partially addressed by the 'Requires confirmation' sentence. However, that sentence doesn't specify that confirm is a boolean defaulting to false, and the description adds nothing to the database/schema_name/service_name quoting rules already documented in the schema.

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 ('Drop') and resource ('Cortex Search service'), which is unambiguous against siblings such as cortex_create_search_service or cortex_list_search_services. It stops short of any explicit differentiation text, relying on the name alone to separate it from the many other *_drop_* tools in the catalog.

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?

The only usage signal is 'Requires confirmation', which implicitly ties to the confirm parameter but never explains what that means in practice (dry-run vs. hard gate) or when an agent should call this versus cortex_suspend_search_service. No exclusion or prerequisite 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