Skip to main content
Glama
lgpd-mask-mcp

lgpd-mask-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MASK_SALTYesSalt used by the masking engine. Must match the LOCAL_MASK_SALT value used in the local .env.
DATABASE_URLYesPostgres connection URL. For the Acme demo, use postgres://mcp:<LOCAL_PASSWORD>@localhost:5432/acme.
ALLOWLIST_MODEYesAllowlist mode. The example uses public_all; for a non-Acme database, use yaml with a local pii-policy.yaml.
PII_POLICY_PATHYesPath to the PII policy YAML. May be relative to the cwd, e.g. pii-policy.example.yaml.

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tablesB

List allowlisted tables in the connected database.

describe_schemaB

Describe columns for an allowlisted table, with PII flags from policy/heuristics.

classify_piiB

Classify columns as PII using YAML policy and heuristics (no row data).

sample_safeB

Return up to N rows from a table with PII columns masked.

query_maskedC

Run a structured SELECT (no raw SQL) with joins/where; PII columns are masked.

pingB

Health check: policy + DB connectivity.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 6 tools

Disambiguation4/5

Most tools have distinct roles: listing tables, describing schema, classifying PII, sampling masked rows, structured masked queries, and health checks. However, describe_schema already surfaces PII flags while classify_pii separately classifies PII, and sample_safe versus query_masked both return masked row data, creating mild overlap in when to choose each.

Naming Consistency4/5

Five of six tools follow a clean verb-first snake_case pattern (list_tables, describe_schema, classify_pii, sample_safe, query_masked). The bare 'ping' deviates from the verb_noun convention but is a conventional health-check name and does not cause confusion.

Tool Count5/5

Six tools is well-scoped for a read-only, PII-masking database access server. Each tool covers a distinct part of the workflow: discovery, schema inspection, PII classification, safe sampling, masked querying, and connectivity checking.

Completeness4/5

The surface covers the core lifecycle for safe database exploration: listing tables, describing schema, classifying PII, sampling rows, filtering/joining via structured SELECT, and health checks. Minor gaps remain around aggregates/counts or pagination helpers, but the main masked-query workflow is complete and write operations are intentionally excluded.