Skip to main content
Glama

Drush Updb

drush_updb

Run pending Drupal database updates to apply schema and data changes after code deployments or module updates.

Instructions

Run database updates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON 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?

No annotations are provided, so the description carries the full behavioral burden and fails to disclose that update hooks mutate the database schema irreversibly, may require elevated permissions or maintenance mode, and warrant a backup first. It also gives no hint of failure/skip behavior when updates are already applied, though the output schema does cover return values.

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?

A single four-word sentence, front-loaded with the action and free of filler. It is appropriately sized for the surface area, though the brevity edges toward under-specification rather than polished concision.

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?

For a schemaless-parameter, mutation-style maintenance command with no annotations, the description omits the context an agent needs to invoke it safely: that it applies Drupal update hooks, that it is one-way, and where it fits relative to deploy/cache operations. The output schema covers results, but operational context is largely absent.

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

Parameters4/5

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

The tool takes zero parameters, so there are no parameter semantics to document; the baseline of 4 applies. Nothing in the description wrongly suggests configurable inputs.

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

Purpose3/5

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

States a verb and resource ('Run database updates'), which is more than a tautology, but 'database updates' is ambiguous in Drupal terms - it could mean applying pending update hooks (drush updb) or generic SQL changes, which blurs it against siblings like db_query and db_table_info. No differentiation from any of the ~200 siblings is provided.

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 contains no guidance on when to run this versus alternatives such as cache_rebuild, drush_cron, or drush_command, nor any prerequisite or sequencing advice (e.g., run after code deploy, before cache clear). Nothing is implied beyond the bare action.

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