Skip to main content
Glama

Cortex Suggest Semantic Model Metrics

cortex_suggest_semantic_model_metrics
Read-onlyIdempotent

Suggests filters and metrics for a semantic model, helping AI agents choose relevant dimensions and measures for read-only Snowflake Cortex queries.

Instructions

Suggest filters and metrics for a semantic model. 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_suggest_semantic_model_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the sentence 'Read-only' merely restates structured data. Nothing is said about latency, cost, token/size limits on the suggestion output, or any prerequisites such as an existing semantic model.

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?

Very short and front-loaded, but a bare documentation URL is carrying weight that prose should carry, and 'Read-only' is a wasted sentence given the annotations.

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?

Output schema exists so return values need not be described, but the opaque request envelope is the real risk and the description leaves it entirely unexplained. For a tool whose sole input is an untyped nested object, this is insufficient.

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?

There is one required parameter, request, a free-form nested object with additionalProperties=true and 0% schema description coverage. The description never explains what the request must contain (model name? tables? question context?), so the agent cannot construct a valid payload from this definition.

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?

Names a specific verb and resource: suggesting filters and metrics for a semantic model. This distinguishes it from cortex_suggest_search and cortex_suggest_verified_queries, which suggest different artifacts, though it never explicitly draws that contrast.

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?

Provides no guidance on when to use this over the sibling suggest tools or over cortex_generate_semantic_model / cortex_preselect_semantic_model_tables. The only usage-ish cue is 'Read-only', which is not a selection criterion.

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