Skip to main content
Glama

Split Config

split_config

Split exported Drupal configuration into separate directories to enable atomic deployment. Reads config from a source directory and writes individual files for specified config objects.

Instructions

Split configuration into separate directories for atomic deployment.

Reads from source_dir (exported config) and creates individual config files in output_dir for each specified config object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_dirNo./config/split
source_dirNo./config/sync
config_namesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden. It discloses the read-source/create-output flow, but omits whether output_dir is overwritten, whether existing files are destroyed, permission requirements, or atomicity guarantees despite the 'atomic deployment' claim. This is a significant gap for a filesystem-mutating tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tightly written sentences with the core action front-loaded and the mechanic tacked on efficiently. No filler, though it is quite terse for the operation's risk profile.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. However, for a mutation tool with zero annotations, the description should say more about overwrite semantics and permissions to be complete; it covers the input/output mapping but not the operational risks.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description must compensate. It adds meaning for all three params: source_dir is 'exported config', output_dir receives the created files, and config_names maps to 'each specified config object'. This is decent but lacks format/syntax details (e.g., what a valid config name looks like) for the required array parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('split configuration') and elaborates the flow: reads from source_dir and creates individual config files in output_dir. This distinguishes it from config_get/export_config/import_config/sync_config siblings, though it never explicitly names them for routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for atomic deployment' hints at the motivation but gives no explicit when-to-use, prerequisites, or alternatives versus export_config/sync_config/diff_config. An agent must infer the context entirely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools