Skip to main content
Glama

PostgreSQL MCP Server

by sbfulfil

get_indexes

Retrieve indexes for a specific table in a PostgreSQL database, specifying the table name and schema to streamline database structure analysis and optimization.

Instructions

Get indexes for a specific table

Input Schema

NameRequiredDescriptionDefault
schemaNoSchema name (default: public)public
table_nameYesName of the table

Input Schema (JSON Schema)

{ "properties": { "schema": { "default": "public", "description": "Schema name (default: public)", "type": "string" }, "table_name": { "description": "Name of the table", "type": "string" } }, "required": [ "table_name" ], "type": "object" }
Install Server

Other Tools from PostgreSQL MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/sbfulfil/pg-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server