Skip to main content
Glama
semanticintent

Semantic D1 MCP

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
D1_DEV_DATABASE_IDYesYour development D1 database ID
D1_PROD_DATABASE_IDNoYour production D1 database ID (optional)
CLOUDFLARE_API_TOKENYesYour Cloudflare API token with D1 access
D1_DEV_DATABASE_NAMEYesYour development D1 database name
CLOUDFLARE_ACCOUNT_IDYesYour Cloudflare account ID
D1_PROD_DATABASE_NAMENoYour production D1 database name (optional)
D1_STAGING_DATABASE_IDNoYour staging D1 database ID (optional)
D1_STAGING_DATABASE_NAMENoYour staging D1 database name (optional)

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_database_schemaB

Analyze D1 database schema structure, tables, columns, indexes, and relationships with optional sample data

get_table_relationshipsB

Extract and analyze foreign key relationships between tables in the database

validate_database_schemaB

Validate database schema integrity and detect potential issues (missing primary keys, orphaned foreign keys, etc.)

suggest_schema_optimizationsB

Analyze schema and suggest performance optimizations (missing indexes, redundant indexes, etc.)

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 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: schema analysis, relationship extraction, optimization suggestions, and validation. There is no overlap in functionality, making it easy for an agent to select the right tool without confusion.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (e.g., analyze_database_schema, get_table_relationships). The naming is uniform and predictable, enhancing readability and usability.

Tool Count5/5

With 4 tools, the server is well-scoped for database schema analysis. Each tool serves a specific, essential function without redundancy, making the count appropriate for the domain.

Completeness4/5

The toolset covers key aspects of schema analysis (structure, relationships, optimizations, validation), but lacks tools for executing changes or interacting with data directly. However, the provided tools form a coherent set for analysis purposes.

Maintenance

ActivityInactive
ResponsivenessNo issues