Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level (debug|info|warn|error).info
MCP_TOKENYesMCP Server token. Required unless token authentication/RBAC is disabled in config.yaml for local use.
DRUSH_PATHNoOptional Drush path override.
DRUPAL_ROOTNoOptional Drupal root path override.
ENVIRONMENTNoEnvironment name.production
AUDIT_LOG_PATHNoAudit log path../logs/audit.log
RATE_LIMIT_RPMNoRate limit in requests per minute.60
CONFIG_SYNC_DIRNoOptional config sync directory override.
MAX_RESPONSE_SIZENoMaximum response size in bytes.1048576

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
drupal_list_sitesA

List all discovered DDEV Drupal sites

drupal_refresh_sitesC

Re-discover DDEV Drupal sites

drupal_project_infoC

Get Drupal project info: core version, enabled modules/themes, environment

drupal_search_codeB

Search custom code using ripgrep

drupal_read_fileB

Read a file from the Drupal project (with secret/PII masking)

drupal_list_custom_componentsC

List custom modules and themes with info.yml details

drupal_config_getC

Get Drupal configuration from sync directory or database

drupal_db_schemaB

Inspect database schema: tables, columns, indexes, FK, PII tags

drupal_drushB

Execute a drush command (safe_mode enforces allowlist)

drupal_entity_schema_summaryB

Get content model summary: content types, fields, paragraphs, vocabularies

drupal_view_exportB

List views or export a specific view configuration

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 11 tools

Disambiguation4/5

Most tools have clearly distinct targets: config, DB schema, entity schema, views, sites, project info, code search, file read, and custom components are separate concerns. The broad drupal_drush escape hatch could subsume several specialized tools, but the descriptions and safe_mode allowlist make the intended split reasonably clear.

Naming Consistency3/5

All tools share the drupal_ prefix and snake_case, which is good, but the verb/noun ordering is mixed: verb-first names like drupal_list_sites and drupal_search_code coexist with noun-first names like drupal_config_get and drupal_view_export. It remains readable, but the pattern is only partially predictable.

Tool Count5/5

Eleven tools is well within the appropriate range for a Drupal inspection and management server. Each tool covers a distinct area—config, database, entities, views, sites, project metadata, code, files, and components—without obvious padding.

Completeness4/5

The surface provides strong read/inspection coverage across Drupal configuration, schema, content model, code, files, and sites, and drush can fill in many operational actions. Some gaps remain, such as dedicated write/update operations or direct log/query tools, but they are mostly workable via drush.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues