Skip to main content
Glama

Cortex Suggest Search

cortex_suggest_search
Read-onlyIdempotent

Suggests Cortex Search completions for a query and returns read-only suggestions from a specified Snowflake service, helping users refine searches and discover relevant results.

Instructions

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>",
      "query": "<query>"
    },
    "name": "cortex_suggest_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
columnsNo
databaseNo
schema_nameNo
service_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

C2.3/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so "Read-only" is a restatement rather than added insight. The only extra content is a documentation URL; there is no disclosure of suggestion behavior, latency, service-state requirements, or error conditions beyond what structured fields provide.

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

Conciseness3/5

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

The text is short and front-loaded, but a third of it ("Read-only") duplicates the annotations and the raw docs link substitutes for actual explanation. It is efficient without being informative.

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 needn't be described. However, for a six-parameter tool with zero schema documentation and a near-identical sibling, the description leaves the service-identification parameters and the semantics of "suggest" completely unexplained — not adequate for this complexity.

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

Parameters1/5

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

Schema description coverage is 0% across six parameters, and the description explains none of them. An agent gets no guidance on how database/schema_name/service_name compose to identify a service, what columns does, how limit affects suggestion count, or what query is matched against.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb and resource ("Suggest Cortex Search completions"), but "completions" is ambiguous — it could mean autocomplete/typeahead suggestions or partial result sets. Nothing distinguishes it from the sibling cortex_search, which an agent would plausibly confuse it with, so the purpose is only implied rather than precisely scoped.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g., the search service must exist and be active), and no named alternative. The agent must infer on its own that this is the typeahead/suggestion path versus cortex_search for actual retrieval.

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