Skip to main content
Glama
isina-nej
by isina-nej

List DB tables

db_tables

Lists database tables for a specified DSN. Provide a DSN to retrieve its table names.

Instructions

List tables for a DSN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dsnNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.2/5.0
Behavior2/5

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

All annotations are false, so the description carries the full burden for behavioral disclosure. It only says 'List tables,' with no indication of whether connections are opened, whether the operation is expensive, error behavior, or any side effects. This is minimal but not directly contradictory with the annotations.

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?

Five words with no filler, and the core action is front-loaded. Every word earns its place.

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?

The tool is simple and has an output schema, so return values need no explanation. However, the DSN parameter is undocumented, and with zero useful annotations the description leaves an agent without enough context about valid input and behavior for a fully confident call.

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% and the single parameter dsn has only a default. The description merely repeats the DSN concept instead of defining what a valid DSN looks like, where to obtain one, or how it affects the listing. It does not compensate for the missing schema documentation.

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 a specific verb and resource: 'List tables for a DSN.' It clearly distinguishes the tool from related siblings like db_query (query execution) and db_status (server status), and the title reinforces the same meaning.

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 about when to call this tool instead of db_query, db_status, or other database-related tools. 'For a DSN' only states the parameter scope, not when listing tables is the appropriate action or what prerequisites apply.

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