Skip to main content
Glama
Hqzdev

Lens-MCP

by Hqzdev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LENS_SCHEMA_NAMENoSchema used by introspection and table samplespublic
LENS_DATABASE_URLYesPostgres connection URL
LENS_MAX_ROW_LIMITNoMaximum allowed limit1000
LENS_ALLOWED_TABLESYesComma-separated allow-list such as public.customers,public.orders
LENS_DEFAULT_ROW_LIMITNoLimit added when a query has no limit100
LENS_STATEMENT_TIMEOUT_MSNoPostgres statement timeout5000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tablesD
describe_tableD
sample_tableD
queryD

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.1/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a distinct, clearly separate purpose: listing tables, describing schema, running queries, and sampling data. No overlap.

Naming Consistency4/5

Three tools follow 'verb_noun' pattern consistently; 'query' deviates slightly as a single verb, but this is acceptable for a common database command.

Tool Count5/5

Four tools is well-scoped for a database exploration server, covering core operations without excess.

Completeness4/5

The set covers essential data exploration operations (list, describe, sample, query). Missing write or administrative tools, but that fits the exploration focus.

Maintenance

ActivityInactive
ResponsivenessNo issues