Skip to main content
Glama

Moderation State Update

moderation_state_update

Update a Drupal moderation state's label, weight, or default flag by state ID to control editorial workflow transitions and content publishing rules.

Instructions

Update a moderation state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNo
weightNo
state_idYes
is_defaultNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior1/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 only says 'Update' and discloses nothing about permissions, reversibility, partial-update behavior, required state transitions, or side effects.

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?

The single sentence is brief and front-loaded, but it is under-specified for a four-parameter mutation tool. It is concise to the point of being unhelpful rather than efficiently informative.

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?

Given no annotations, 0% schema description coverage, and four parameters, the definition is wholly inadequate. An output schema exists so return values need not be described, but the agent still lacks the behavioral and parameter context needed to invoke this tool correctly.

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% and the description adds no meaning for any of the four parameters (label, weight, state_id, is_default). With four undocumented parameters, the description completely fails to compensate.

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 description states a clear verb and resource ('Update a moderation state'), so an agent can tell what the tool does. It does not differentiate from siblings such as moderation_state_create or moderation_state_delete, and it gives no scope detail.

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 alternatives like moderation_state_create, moderation_state_get, or moderation_transition_execute. The agent is left to infer 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