Skip to main content
Glama

Cortex Embed Text 768

cortex_embed_text_768
Read-onlyIdempotent

Generates text embeddings through Snowflake AI_EMBED, with output dimensions determined by the selected model (768 by default).

Instructions

Generate text embeddings via Snowflake AI_EMBED. Output dimension is set by the model (default snowflake-arctic-embed-m is 768); replaces legacy EMBED_TEXT_768.

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": {
      "text": "<text>"
    },
    "name": "cortex_embed_text_768"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
modelNosnowflake-arctic-embed-m

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.4

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real context beyond that: the output dimension is determined by the chosen model and the default model yields 768. It does not mention input length limits, cost, or batching, which keeps it short of a 5.

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

Conciseness5/5

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

Two compact sentences, with the core action and mechanism front-loaded and the dimension/default detail immediately after. There is no filler or restatement of the tool name.

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

Completeness4/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, and there are only two simple parameters. The description covers the operation, the mechanism, and the dimension-determining default, leaving only minor gaps such as supported model list and input length constraints.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the load, and it does add meaning for the model parameter by explaining that it governs output dimension and naming the default. The text parameter is only implicitly characterized (it is the input to embed), and supported model choices are not enumerated, so it falls short of exhaustive.

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 gives a specific verb and resource ('Generate text embeddings via Snowflake AI_EMBED'), naming the underlying function and the output dimension. It is clear what the tool does, though it does not explicitly distinguish itself from sibling Cortex tools such as cortex_complete or cortex_search.

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 implied by the purpose — this is the tool for turning text into vectors — but there is no explicit when-to-use or when-not-to-use guidance, and no routing to alternatives. The 'replaces legacy EMBED_TEXT_768' note is a migration hint rather than selection guidance.

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