Search and list database objects (schemas, tables, columns, procedures, indexes) with pattern matching. This unified tool supports both targeted searches and browsing all objects, implementing progressive disclosure to minimize token usage.
This tool can reduce token usage by 90-99% compared to listing all objects:
Scenario
Traditional Approach
Search Approach
Token Savings
Find “users” table in 500 tables
List all (full)
Search (names)
99%
Explore table structure
List all tables first
Search + drill down
95%
Find ID columns
Load all schemas
Search columns
85%
Always start with detail_level: "names" and only request "summary" or "full" when you need additional information. This minimizes token usage while exploring the database.
When using detail_level: "summary" or "full", the tool includes database comments/descriptions if they exist. This helps LLMs understand the purpose of tables and columns, especially in complex or legacy databases.
Table comments appear as the comment field on table results (summary and full levels)
Column descriptions appear as the description field on each column (full level only)
Fields are omitted when no comment is set, keeping responses token-efficient
// Find specific tables by pattern{ "object_type": "table", "pattern": "user%", "detail_level": "names"}
Pattern defaults to "%" - You can omit the pattern parameter entirely to list all objects of the specified type. This unified tool replaces both search and list operations with a single, consistent interface.
The tool supports all three detail levels (names, summary, full) and works seamlessly with multi-database configurations. Results are limited by the limit parameter (default: 100, max: 1000) to prevent excessive token usage.