list_objects
Lists tables, views, or functions in a PostgreSQL schema, helping users inspect and navigate database objects.
Instructions
List tables, views, or functions in a schema
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| schema | No |
Lists tables, views, or functions in a PostgreSQL schema, helping users inspect and navigate database objects.
List tables, views, or functions in a schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| schema | No |
Changes observed during successful MCP inspections.
v2.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It implies a read-only list and names the object types, but omits permissions, pagination, default schema behavior, and any return format details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with zero waste. It names the verb and resources immediately, which is appropriate for a simple list tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a low-complexity list tool, the description covers the basic operation but leaves a key invocation detail unstated: whether schema is optional and what happens if omitted. With no annotations and no output schema, it is minimally adequate but not fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It names the enum values for type and indicates that schema scopes the listing, which adds useful meaning, but it does not clarify schema optionality or default behavior.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb 'List' and clear resource set 'tables, views, or functions in a schema'. It distinguishes from list_schemas and list_indexes by naming the object types, though it does not explicitly route away from search_objects or describe_table.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, prerequisites, or alternatives are given. The description implies it lists database objects in a schema, but does not say when to choose it over siblings such as search_objects or list_indexes.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.