Skip to main content
Glama

Sync Config

sync_config

Sync configuration between environments via Drush.

Instructions

Sync configuration between environments via Drush.

source_env and target_env are drush aliases (staging or @staging): the export runs against the source alias and the import against the target. Until now both parameters were echoed back untouched and every call operated on the site the server was started on.

Input Schema

NameRequiredDescriptionDefault
dry_runNo
source_envYes
target_envYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It discloses that export runs against source and import against target, but does not explain that importing can overwrite target configuration, whether backups or permissions are needed, or how dry_run changes behavior; the 'Until now...' sentence also leaves current behavior ambiguous rather than reassuring.

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

Conciseness3/5

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

The definition is short and front-loads the core purpose, then adds useful parameter context. However, the final 'Until now...' sentence reads like changelog leakage, does not clearly state present behavior, and weakens an otherwise compact structure.

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

Completeness2/5

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

This is a cross-environment configuration mutation with no annotations and 0% schema description coverage. The description covers the direction of export/import and alias form, but omits dry_run, overwrite/destructive semantics, and preconditions; the output schema being present means return values need not be documented, but the call-safety picture is still incomplete.

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?

Schema description coverage is 0%, so the description must explain parameters. It usefully clarifies that source_env and target_env are Drush aliases such as 'staging' or '@staging' and which side is exported/imported, but dry_run is not described at all, leaving a key safety parameter undocumented.

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?

The first sentence states a clear verb and resource: sync configuration between environments via Drush, and clarifies export/import direction against source and target aliases. It does not distinguish itself from close siblings like export_config, import_config, or diff_config, and the ambiguous historical note slightly muddies what the tool currently does.

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 description implies use when syncing config between environments, but gives no explicit when-to-use or when-not-to-use guidance. It does not mention alternatives such as export_config/import_config, nor when dry_run should be preferred before applying changes.

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