Skip to main content
Glama

Cortex Summarize

cortex_summarize
Read-onlyIdempotent

Summarizes text with Snowflake AI_SUMMARIZE, serving as a drop-in replacement for legacy CORTEX.SUMMARIZE to condense long content via Cortex AI.

Instructions

Summarize text via Snowflake AI_SUMMARIZE (drop-in for legacy CORTEX.SUMMARIZE).

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

Input Schema

NameRequiredDescriptionDefault
textYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.4

TDQS

B3.2/5.0
Behavior3/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 safety profile is fully covered without the description's help. The description adds the backend function mapping and legacy-compatibility note, but says nothing about input size limits, language handling, or summarization style. With annotations carrying the safety burden, this is adequate but thin.

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?

One sentence with the operation and the underlying function front-loaded, and zero padding. The legacy-compatibility parenthetical is short and plausibly useful for model selection, though it is secondary information.

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 no explanation, and annotations fully cover the safety profile, leaving only the single required parameter. The remaining gap is practical limits on input text, which matters for a summarization endpoint but is a modest omission for a tool this simple.

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

Parameters3/5

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

The single parameter is named "text" and has 0% schema description coverage, so the description must compensate; it implies the argument is the text to be summarized but adds no detail on length limits, formatting, or whether multi-document input is supported. For one self-evidently named parameter this is the minimum viable level.

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 names a specific verb and resource ("Summarize text") and anchors it to the underlying Snowflake function AI_SUMMARIZE, so the operation is unambiguous. It does not, however, differentiate itself from Cortex siblings like cortex_complete or cortex_extract_answer, which an agent might reasonably consider interchangeable for text processing.

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 guidance on when to pick this over cortex_complete or cortex_extract_answer, and no stated preconditions or exclusions. The only contextual note is that it is a drop-in for legacy CORTEX.SUMMARIZE, which is migration trivia 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