Skip to main content
Glama
ncejda-g2

Snowflake MCP Server

by ncejda-g2

show_tables

Explore Snowflake databases, schemas, and tables by applying pattern-based filters and viewing a hierarchical tree with column counts.

Instructions

Browse databases, schemas, and tables using pattern-based filtering.

USE THIS WHEN: You want to explore what databases/schemas exist, or need to filter by exact patterns.
Like SQL's: SHOW TABLES IN database LIKE 'pattern'

RETURNS: Hierarchical tree structure
- database → schema → list of tables (with column counts)

HOW IT WORKS:
- Auto-refreshes cache if expired/empty (requires Snowflake auth on first use)
- Uses cached data if available (no auth needed)
- Pattern matching is case-insensitive substring search

Parameters:
- database_pattern: Filter databases (e.g., "SALES" matches "SALES_DB", "SALES_PROD")
- schema_pattern: Filter schemas (e.g., "PUBLIC")
- table_pattern: Filter tables (e.g., "CUSTOMER" matches "CUSTOMERS", "CUSTOMER_ORDERS")

Examples:
- show_tables() - Browse all databases
- show_tables(database_pattern="SALES") - Only SALES databases
- show_tables(schema_pattern="PUBLIC") - All PUBLIC schemas across databases

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_patternNo
schema_patternNo
table_patternNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description fully carries the burden and discloses caching behavior (auto-refreshes cache, first-time auth requirement), pattern matching case-insensitivity, and return structure. It stops short of mentioning potential rate limits or data freshness, but overall provides solid behavioral insight.

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 description is well-structured with clear sections (USE THIS WHEN, RETURNS, HOW IT WORKS, Parameters, Examples). Every sentence adds value, though it could be slightly more concise without losing clarity.

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?

Given the tool's complexity (3 optional parameters, hierarchical output, caching) and presence of an output schema, the description covers purpose, usage, behavior, parameter details, and examples. It lacks explicit comparison to siblings but provides sufficient context for correct invocation.

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

Parameters5/5

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

Given 0% schema description coverage, the description thoroughly explains each parameter with behavioral notes (e.g., pattern matching is substring and case-insensitive) and concrete examples, fully compensating for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the verb 'Browse' combined with 'databases, schemas, and tables' clearly defining the action and resource. It distinguishes from siblings like 'describe_table' (which focuses on a single table) and 'find_tables' (likely search-based) by emphasizing pattern-based exploration of the hierarchy.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states 'USE THIS WHEN: You want to explore what databases/schemas exist, or need to filter by exact patterns.' It provides an SQL analogy and examples. However, it does not explicitly mention when not to use this tool or list alternatives, though the sibling context makes the differentiation implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ncejda-g2/snowflake_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server