Skip to main content
Glama

Cortex Generate Semantic Model

cortex_generate_semantic_model
Read-onlyIdempotent

Generates a read-only semantic model for Snowflake Cortex Analyst from a request, enabling AI agents to query data using defined semantics.

Instructions

Generate a semantic model (fast generation). Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api

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_generate_semantic_model"
  }
}

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, idempotentHint, destructiveHint, and openWorldHint, and the description's "Read-only" merely restates readOnlyHint rather than adding context. Nothing is said about latency, cost, whether a generated model is persisted, or what the request must contain — the real behavioral unknowns for a generation call.

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 definition is short and front-loads the core verb+resource, so there is no wasted prose. But the brevity reflects under-specification rather than disciplined concision, and a bare URL is not a substitute for content.

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?

This is a high-complexity, open-world generation tool with a nested request object, yet the description says nothing about what the request carries, what preparation is needed, or what generation produces (an output schema exists, so return details needn't be spelled out). Aside from the safety profile in annotations, the definition leaves the agent unable to call the tool confidently.

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?

The single required parameter is an opaque nested object with additionalProperties:true and 0% schema description coverage, and the description offers no information about its expected keys or structure. The agent has to guess the entire request shape, which is exactly the case where the description must compensate.

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+resource combination ("Generate a semantic model"), so an agent knows the operation is a model-generation action rather than a lookup or optimization. However, the parenthetical "fast generation" is never explained, and there is no differentiation from semantic-model siblings such as cortex_preselect_semantic_model_tables or cortex_suggest_semantic_model_metrics.

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?

No when-to-use guidance, no prerequisites, no exclusions, and no named alternatives. The only directional signal is a documentation URL, which the agent cannot rely on to choose between this and the other semantic-model tools.

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