Schema

describe_table

describe_table

Learn what's in a table before writing a query.

Read only

Gives the agent the exact shape of a table before it writes SQL, including nullability, defaults, indexes and the tables it references.

Parameters

table

string

required

Table name, optionally schema-qualified.

Try asking

“How are subscriptions linked to customers?”

Give your agent every tool in two minutes.

One command connects Socket to Claude, ChatGPT, Cursor or VS Code. Read-only until you say otherwise.

Terminal
$ npx -y @socketmcp/server init

Create a free website with Framer, the website builder loved by startups, designers and agencies.