Skip to main content
Glama
MCP PostgreSQL Read-Only Server

MCP PostgreSQL Read-Only Server

by japentaca

describe_table

Retrieve detailed column information for a specific PostgreSQL table to understand its structure and schema.

Instructions

Obtiene información detallada sobre las columnas de una tabla específica

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table_name": "<table_name>"
    },
    "name": "describe_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_nameYesNombre de la tabla a describir
schema_nameNoNombre del esquema (por defecto: public)

Schema Changelog

Changes observed during successful MCP inspections.

  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?

No annotations are provided, so the description carries the burden. It indicates a read-only metadata retrieval ("Obtiene") scoped to a specific table, but it does not clarify permissions, error behavior, or what "detallada" actually covers.

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 a single front-loaded sentence with no filler or redundant wording. Every word contributes directly to stating what the tool does.

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?

The tool is a simple metadata lookup with fully documented parameters, so the description is sufficient to initiate a call. However, because there is no output schema, the description should clarify what "información detallada" returns, such as column types, defaults, or constraints.

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%, and the schema already documents both table_name and schema_name, including the default for schema_name. The description adds no meaningful parameter detail beyond the schema, so the baseline of 3 applies.

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 uses a specific verb ("Obtiene") and resource ("información detallada sobre las columnas de una tabla específica"), making clear it retrieves column metadata for one table. It distinguishes itself implicitly from list_tables by focusing on column-level detail, but it does not explicitly contrast with that sibling.

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?

There is no explicit when-to-use or when-not-to-use guidance, nor any mention of alternatives such as list_tables or execute_select_query. The intended usage is only implied by the purpose statement, leaving the agent to infer when this tool is preferable.

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