Skip to main content
Glama

Cortex Get Semantic Model Optimization

cortex_get_semantic_model_optimization
Read-onlyIdempotent

Retrieve a read-only agentic semantic model optimization by name, so you can inspect its configuration and recommendations before applying changes.

Instructions

Get one agentic semantic-model optimization. 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": {
      "optimization_name": "<optimization_name>"
    },
    "name": "cortex_get_semantic_model_optimization"
  }
}

Input Schema

NameRequiredDescriptionDefault
optimization_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

B3/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 and destructiveHint=false, so the sentence "Read-only" adds nothing beyond structured data. Beyond the docs URL, the description says nothing about what an optimization record contains, whether it is scoped to a database/schema, or what errors occur for unknown names.

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 definition is short and front-loaded: purpose first, then safety, then a reference link. The "Read-only" sentence is largely redundant with the annotations, but it costs little space.

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 and annotations are rich, so return values and safety need not be described. However, for a single-parameter lookup whose parameter is undocumented, the definition should at least state where the optimization name comes from and what the tool returns conceptually.

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?

The single parameter optimization_name has 0% schema description coverage, and the description does not explain its expected form (identifier vs. display name, case sensitivity, or whether it must come from the list tool). The description therefore fails to compensate for the schema gap.

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 uses a specific verb and resource ("Get one agentic semantic-model optimization"), and the singular "one" implicitly contrasts with the sibling cortex_list_semantic_model_optimizations. It is clear what is retrieved, though "agentic semantic-model optimization" is domain jargon that is not unpacked.

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?

Usage is only implied: fetching a single optimization implies you already have its identifier, likely from the list tool. There is no explicit when-to-use, when-not, or named alternative, so the agent must infer the retrieval-after-list workflow.

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