Skip to main content
Glama

wp_enable_writes

Turn ON write access for a connected WordPress site. Writes are OFF by default for newly connected sites: ask the user, then call this before the first write, or when a write tool returns error='writes_disabled'. New pages are created as drafts; edits to existing pages change them directly and are snapshotted.

Input Schema

NameRequiredDescriptionDefault
site_idYesThe WordPress site ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only say it is a non-read-only, open-world, non-destructive operation. The description adds genuinely useful behavior: writes are off by default, user consent is required, and it discloses the downstream semantics of the writes it unlocks (new pages become drafts, edits are applied directly and snapshotted). It does not say whether the flag is persistent across sessions or per-site scoped, which is the main remaining gap.

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

Conciseness5/5

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

Three compact sentences, front-loaded with the action and default state, followed by the trigger condition and side-effect notes. Every clause earns its place; nothing is padding.

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

Completeness5/5

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

For a one-parameter toggle with no output schema and annotations covering the safety profile, the description supplies everything needed: purpose, prerequisite consent, invocation trigger, and what happens to subsequent writes. No material gaps remain.

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 coverage is 100% for the single site_id parameter, so the schema already carries the semantics; baseline 3 applies. The description only adds that the site must be 'connected', a marginal clarification rather than new parameter meaning.

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

Purpose5/5

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

States a specific verb+resource (enable write access) for a specific object (a connected WordPress site), and is trivially distinguishable from its inverse sibling wp_disable_writes. An agent knows exactly what state change this produces.

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

Usage Guidelines5/5

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

Gives explicit triggering conditions: call before the first write on a newly connected site, or reactively when a write tool returns error='writes_disabled', and requires user consent first. The when-not case (writes already enabled, or use wp_disable_writes to reverse) is implied clearly enough by the 'OFF by default' framing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources