Skip to main content
Glama
LiteDB desktop

LiteDB desktop

List pgvector columns

list_vector_columns
Read-only

Lists pgvector columns and their dimensions in a PostgreSQL database so agents can discover which tables store embeddings and how large each vector is.

Instructions

Vector columns in the database and their dimensions. PostgreSQL with the pgvector extension only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_vector_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that results include column dimensions and that the tool applies only to pgvector-enabled PostgreSQL, but says nothing about behavior when pgvector is absent or how the result set is shaped.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the payload (columns and dimensions) followed by the environment constraint; nothing is wasted. The first sentence is a verbless fragment, which costs a bit of polish but not clarity.

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

Completeness4/5

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

For a simple, annotation-covered, parameterless read tool with no output schema, the description supplies enough: what is returned and the pgvector-only restriction. Only minor gaps remain, such as ordering or scope of 'database'.

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

Parameters4/5

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

The tool takes zero parameters and the schema is empty, so there is no parameter semantics to explain. Baseline 4 applies since the description needs to add nothing beyond the tool's scope, which it does.

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 names the specific resource (vector columns plus their dimensions), which is a distinct scope from siblings like list_tables or describe_table. It is a noun phrase without an explicit verb, but the operation is unambiguous for a zero-parameter read tool.

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

Usage Guidelines3/5

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

The 'PostgreSQL with the pgvector extension only' clause communicates a precondition, which is useful context for use. However, it gives no explicit when-to-use or when-not guidance relative to siblings such as describe_table or list_tables; the agent must infer that this tool is for vector-column discovery.

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