Skip to main content
Glama
Arun-kc

schemabrain

describe_column

Read-onlyIdempotent

Inspect a column's data type, nullability, default, description, and both outgoing and incoming foreign keys using its fully qualified name (schema.table.column).

Instructions

Use this when you need to drill into one column by its three-part qualified name (e.g. public.orders.user_id). Returns data type, nullability, default, LLM description, and BOTH join directions — outgoing FKs (this column joins out) and incoming FKs (which tables reference this column). Use describe_table instead when you want the whole table at once. Common composition: chain describe_table to describe_column to map a column's full role across schema.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qualified_nameYesPostgres `schema.table.column` qualified name (e.g. `public.orders.user_id`). Three dot-separated parts. Call `describe_table` first if you only know the table and need to discover its columns.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
dataNo
errorNo
confidenceNo
provenanceNo
follow_up_hintsNo
degradation_reasonNo
charter_versionNo1.2
Behavior5/5

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

Annotations already provide safety profile (readOnly, idempotent, non-destructive). The description adds valuable behavioral details: it returns data type, nullability, default, LLM description, and both outgoing and incoming foreign key directions. No contradictions.

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?

Three sentences with no fluff. First sentence states purpose and key output, second gives alternative, third provides composition pattern. Every sentence adds value.

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?

Given one parameter, full annotations, and an output schema (present, though not detailed here), the description covers the tool's purpose, output, and usage flow comprehensively. No missing information.

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 single parameter 'qualified_name' is well-described in the schema (100% coverage). The description adds extra guidance on the format (e.g. 'public.orders.user_id') and a prerequisite hint to call describe_table first if needed, exceeding baseline 3.

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's verb ('drill into') and resource ('one column'), and distinguishes it from the sibling 'describe_table' by specifying it works on a single column with a three-part qualified name.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool ('when you need to drill into one column'), when to use the alternative ('Use describe_table instead when you want the whole table'), and provides a common composition pattern ('chain describe_table to describe_column').

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/Arun-kc/schemabrain'

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