Skip to main content
Glama

Cortex Preselect Semantic Model Tables

cortex_preselect_semantic_model_tables
Read-onlyIdempotent

Selects tables for a Snowflake Cortex semantic model in read-only mode, so AI agents can define which tables a semantic model should use before running analytics.

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": {
      "request": "<request>"
    },
    "name": "cortex_preselect_semantic_model_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the sentence "Read-only" only restates structured data. The description adds no behavior beyond that: no indication of whether the result persists, how selection is scored, or any latency/quota characteristics.

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 with no filler and the core action front-loaded; the bare documentation URL is the only questionable use of space, though it partly offsets the missing detail. It is terse rather than padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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, but the tool's single deeply-nested, undocumented `request` object leaves an agent without enough information to construct a valid call. For a tool with nested object input, the description should at least sketch the request payload.

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

Parameters2/5

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

Schema description coverage is 0% for a single required nested object parameter with additionalProperties=true, so the schema conveys nothing about its contents. The description does not compensate at all — it never names a field, expected shape, or which table/model identifiers belong in `request`.

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 ("Pre-select tables for a semantic model"), which is more than a tautology, but "pre-select" is unexplained and nothing distinguishes this from siblings like cortex_generate_semantic_model or cortex_suggest_semantic_model_metrics. An agent cannot tell from the text whether this creates, ranks, or merely recommends tables.

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 statement of when to call this versus the model-generation or suggestion tools, no prerequisites, and no mention of what typically follows a pre-selection step. The only contextual cue is an external documentation link.

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