Skip to main content
Glama
kpconnell
by kpconnell

list_schema

List database tables or describe a specific table's columns for a given connection. Pass the connection name and optionally a table name to view its schema.

Instructions

List tables or describe a specific table's columns for a given connection. Pass connection with the name of the target (omit if only one connection exists). Call with no table argument to see all tables, or with table set to 'schema.table' (MariaDB uses database.table; MSSQL uses schema.table within the connection's initial catalog) to describe its columns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionNo
tableNo
Behavior3/5

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

No annotations provided; description discloses the basic read-only operation and naming conventions, but does not cover error behavior (e.g., invalid connection, non-existent table) or side effects.

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 concise sentences that front-load the main purpose and provide necessary details without redundancy. Every sentence adds value.

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?

Given the lack of annotations and output schema, the description covers core functionality but omits details on return format, error scenarios, and behavior when no connection is provided and multiple exist.

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 description compensates by explaining the connection parameter's role (omit if only one) and the table parameter's format ('schema.table') and purpose, adding value beyond parameter names.

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 clearly states the tool lists tables or describes columns for a connection. It distinguishes between two modes (no table vs. table argument) and includes database-specific naming conventions, making it distinct from siblings like 'query_database'.

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?

Provides explicit guidance on when to omit the connection parameter and how to use the table parameter for different purposes. However, it does not explicitly state when not to use this tool or suggest alternatives.

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/kpconnell/db-oauth-mcp-node'

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