Skip to main content
Glama
AbuBaker91-hub

SafeSQL

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLYesPostgreSQL connection URL for the main application database (e.g., postgresql://app:app@localhost:5432/app).
READONLY_DATABASE_URLYesPostgreSQL connection URL for the read-only execution role (e.g., postgresql://readonly_app:readonly@localhost:5432/app).

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
describe_schemaA

Describe the demo database: tables, columns, foreign keys, sample rows.

query_readonlyA

Run one SELECT through the SafeSQL guard (read-only role, LIMIT capped at 200).

Anything that is not a single clean SELECT on allow-listed tables is blocked.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 2 tools

Disambiguation5/5

describe_schema and query_readonly have clearly distinct roles: one returns database metadata, the other executes read-only queries. No overlap exists, so an agent can select the intended tool without ambiguity.

Naming Consistency4/5

Both names use snake_case and a verb-first style, so the set is readable and predictable. However, query_readonly uses an adjective modifier rather than a noun object, which is a minor deviation from a strict verb_noun pattern.

Tool Count3/5

Two tools sit at the low end of a credible server surface, especially for anything beyond a simple demonstration. They are well-chosen for a minimal read-only SQL demo, but the set feels thin compared with most servers.

Completeness4/5

For a deliberately read-only SQL guard, schema description plus SELECT execution covers the core workflow and has no dead ends. Minor gaps include no explicit tool for inspecting allowed-table details or query errors, but the stated scope makes those optional.

Maintenance

ActivityMaintained
ResponsivenessNo issues