Skip to main content
Glama

preflight_check

Read-onlyIdempotent

Validate a WordPress page is safe to edit by checking existence, Elementor structure, data integrity, global widget references, and editor lock status.

Instructions

Validate a page is safe to edit. Checks: page exists, is Elementor-built, data parses cleanly, references valid global widgets, isn't currently locked by another editor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idNo
page_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
safe_to_editYes
page_idYes
titleYes
issuesYes
warningsYes
data_bytesYes
global_widget_referencesYes
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true. The description adds valuable behavioral context by enumerating the specific safety checks (page existence, Elementor-build, data parsing, global widget references, lock status). There is no contradiction with annotations.

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?

The description is a single, well-structured sentence that starts with the core purpose and lists specific checks efficiently. Every part earns its place without redundancy.

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?

Given the presence of an output schema and the thorough annotations, the description sufficiently covers the tool's behavior. It enumerates all key validation points and implies the output will indicate pass/fail. The sibling context further clarifies its role as a pre-edit check.

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% for the two parameters. The description does not explain the meaning of 'site_id' or 'page_id', nor how they map to the checks. It only implies page_id identifies the page but lacks details like expected format or that site_id is optional.

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?

The description uses a specific verb 'Validate' and clearly identifies the resource 'a page is safe to edit' with a detailed list of checks. This distinguishes it from sibling tools like 'read_page_elementor' or 'update_widget_settings' that perform different operations.

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

Usage Guidelines4/5

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

The description strongly implies use before editing a page, listing conditions that must pass. However, it does not explicitly state when to avoid this tool or mention alternatives for similar validation tasks.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mogacode-ma/elementor-mcp-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server