Skip to main content
Glama

Pathauto Pattern Update

pathauto_pattern_update

Modify an existing Pathauto URL alias pattern by ID to change its label, weight, or pattern. Use it to correct or adjust automatic URL alias rules for Drupal content.

Instructions

Update a pathauto pattern.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNo
weightNo
patternNo
pattern_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.8/5.0
Behavior1/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not state whether omitted/null fields are left unchanged or cleared, whether the update is reversible, what permissions are required, or what happens to dependent aliases — all critical for a mutation tool.

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

Conciseness2/5

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

It is a single short sentence, but brevity here reflects under-specification rather than conciseness — nothing is front-loaded because nothing is said beyond the name. There is no wasted text, but also no substance.

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

Completeness1/5

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

For a mutation tool with four undocumented parameters, no annotations, and partial-update semantics implied by null defaults, the description is far too thin. The existence of an output schema excuses it from explaining return values, but every other required aspect is missing.

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

Parameters1/5

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

Schema description coverage is 0% across 4 parameters, and the description supplies no parameter meaning at all. The ambiguous null defaults on label, weight, and pattern (does null mean 'unchanged' or 'clear'?) are left completely unexplained, which is the exact gap the description should fill.

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?

The description names a clear verb (Update) and resource (a pathauto pattern), so an agent knows the operation type and entity. However, it is nearly a verbatim restatement of the tool name and title, and it offers no differentiation from siblings like pathauto_pattern_create, pathauto_pattern_delete, or pathauto_pattern_list beyond the obvious verb.

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?

There is no guidance on when to use this tool versus pathauto_pattern_create/delete/list, nor any stated preconditions such as needing an existing pattern_id. The agent must infer the use case entirely from the name.

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