Skip to main content
Glama
Eszetael

postgres-mcp-hardened

List schemas

list_schemas
Read-onlyIdempotent

Discover available database schemas while excluding PostgreSQL system catalogs, providing a quick starting point to understand the database layout before running queries.

Instructions

List the schemas in the database, excluding PostgreSQL's own catalogs. Start here when you do not know the layout yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNowhich configured database to use; omit when only one is configured
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context by noting that PostgreSQL's own catalogs are excluded, which is valuable beyond the annotations. However, it does not describe the return format or other details.

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?

The description is two concise sentences, both of which add value: the first states what the tool does and its scope, the second provides usage context. No unnecessary words or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list tool with a single optional parameter, no output schema, and comprehensive annotations, the description is complete. It tells the agent what the tool does, what it excludes, and when to use it, which is sufficient for effective selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single optional 'database' parameter, so the schema fully documents the parameter. The description does not add any additional meaning about the parameter, so the baseline score of 3 is appropriate.

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 clearly states the tool lists schemas in the database and explicitly excludes PostgreSQL's own catalogs, which distinguishes it from sibling tools like list_tables and describe_table. The verb 'list' is specific and the resource is well-defined.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Start here when you do not know the layout yet' provides clear contextual guidance for when to use the tool. It does not explicitly mention alternatives or exclusions, but for a simple discovery tool this is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/Eszetael/postgres-mcp-hardened'

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