Skip to main content
Glama
alliance-genome

agr_postgres_mcp

Official

list_tables

Retrieve all tables from a PostgreSQL database, including schema, name, type, and owner. Use the optional schema filter to focus on a particular schema for easier navigation.

Instructions

List all tables in the database with their schema, name, type, and owner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaNoSchema to list tables from (default: public)public

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It conveys a read-only listing operation and the output fields, but it doesn't clarify the scope semantics ('database' vs. the schema parameter defaulting to public), nor does it state permissions or response format.

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?

A single, front-loaded sentence with no filler. Every word contributes to stating the action, scope, and returned fields.

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

Completeness3/5

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

For a simple list operation, the description plus input schema covers the essentials, but the database-vs-schema ambiguity and lack of sibling differentiation leave meaningful gaps. No output schema exists, so the return attribute list is helpful but not fully contextualized.

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?

The only parameter, 'schema', has 100% schema coverage with a clear description and default. The tool description adds no parameter-level detail beyond that, so the schema adequately carries the semantic weight.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the operation (list tables) and the resource (database), with specific returned attributes (schema, name, type, owner). It is distinguishable from siblings like describe_table and list_indexes, though it doesn't explicitly name any alternative.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus siblings such as describe_table, schema_search, or table_stats. The agent is left to infer context from the name alone.

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

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/alliance-genome/agr_postgres_mcp'

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