Get All Tables Info
mssql_db_tablesList every table in a SQL Server database with row counts, sizes, primary keys, index health, and read/write workload, largest first, to assess schema and performance.
Instructions
Tables overview for one database: every table with row count, size, primary key, index counts (unused, fragmented, missing), index health, read/write workload and access pattern, largest first. Reads index physical stats (LIMITED), which can be slow on very large databases; use mssql_table_info for a few tables.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mssql_db_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| databaseName | No | Target database. Defaults to connected database. |