Skip to main content
Glama

wp_set_homepage

Set a published page as the site's front page (homepage). Pass post_id to use that page; omit it to revert to the latest-posts blog view. Changes the LIVE homepage (reversible). Requires writes enabled.

Input Schema

NameRequiredDescriptionDefault
post_idNoPublished page ID to set as homepage (omit to revert to blog)
site_idYesThe WordPress site ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds real context beyond the annotations: the change affects the LIVE homepage, it is reversible, and it requires writes to be enabled. Annotations already declare readOnlyHint=false and destructiveHint=false, so this complements rather than repeats the structured data.

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?

Two tightly packed sentences with the primary action front-loaded and no filler; each clause conveys a distinct, actionable fact.

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 two-parameter toggle with full schema coverage and no output schema, the description covers action, both branches, reversibility, and a prerequisite, leaving nothing an agent needs missing.

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 description coverage is 100%, so both parameters are already documented; the description merely restates the post_id omit-to-revert behavior. Baseline 3 is appropriate since the schema does the heavy lifting.

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 and resource ('Set a published page as the site's front page') and clarifies the exact action on both branches (set vs. revert to blog view). An agent can immediately distinguish this from siblings like wp_set_page_status or wp_set_page_template.

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?

Explicitly states the two usage modes: pass post_id to use that page, omit it to revert, and adds the 'Requires writes enabled' prerequisite. No alternative sibling tool is named, which keeps it just short of a 5.

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