Skip to main content
Glama

Snowflake Describe Function

snowflake_describe_function
Read-only

Describes a Snowflake UDF's signature, return type, language, and body so you can inspect its definition.

Instructions

Describe UDF function signature, return type, language, and body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNo
schema_nameNo
function_signatureYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / database / title
      Removed value: -"Database"
    • removedInput schema / properties / function_signature / title
      Removed value: -"Function Signature"
    • removedInput schema / properties / schema_name / title
      Removed value: -"Schema Name"
    • removedInput schema / title
      Removed value: -"snowflake_describe_functionArguments"
    • removedOutput schema / title
      Removed value: -"snowflake_describe_functionDictOutput"
  2. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only a list of returned attributes, which the output schema already conveys; it does not mention prerequisites or permission needs. With annotations carrying the load, a 3 is appropriate.

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?

A single tight sentence with zero filler and the resource front-loaded. It is efficient, though its brevity is part of why parameter and usage gaps exist.

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?

Output schema exists, so return values need not be re-explained, and annotations cover safety. However, for a 3-parameter tool with 0% schema coverage and no usage routing, the definition is only minimally adequate for correct invocation.

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?

Schema description coverage is 0% across 3 parameters, so the description must compensate and does not. It says nothing about function_signature format (e.g., name(arg_types)) nor about how database/schema_name scope the lookup, leaving required overloading semantics undocumented.

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 (describe UDF function) and enumerates what is returned: signature, return type, language, body. The 'UDF/function' framing implicitly separates it from snowflake_describe_procedure, though it never names that sibling or snowflake_list_functions explicitly.

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 conditions, and no mention of the obvious alternatives (snowflake_list_functions to enumerate, snowflake_describe_procedure for stored procedures). The agent must infer usage entirely from the name.

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