Skip to main content
Glama
vrindha-k

Multi-Database AI Query Agent

by vrindha-k

list_tables

Discover authorized base tables, their comments, and approximate row counts in a selected database schema to identify available data before writing read-only SQL queries.

Instructions

Discover authorized base tables, comments and approximate row counts.

Input Schema

NameRequiredDescriptionDefault
database_idYes
schema_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose that results are limited to authorized tables and that row counts are approximate, which is useful, but it omits read-only confirmation, permission requirements, and any pagination or result-size behavior.

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 definition is a single front-loaded sentence with no wasted words. It is appropriately concise, though that concision comes at the cost of missing usage and parameter context.

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

Completeness2/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. However, with no annotations and 0% parameter description coverage, the description should do more to explain how to invoke the tool and when to choose it over siblings; it currently covers only the surface purpose.

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% for two parameters, and the description does not mention database_id or schema_name at all. The parameter names are somewhat self-explanatory, but the description adds no meaning about required database selection or optional schema filtering.

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 states a specific verb and resource: discover authorized base tables, with comments and approximate row counts. It is clear enough to distinguish from list_databases and get_schema, though it does not explicitly name those siblings.

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?

It implies the tool is for discovering tables, but gives no explicit when-to-use guidance, no exclusions, and no comparison to alternatives like get_schema or run_query. An agent must infer routing from the name alone.

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