Skip to main content
Glama

View a wp-admin screen as admin

admin_page
Read-only

Inspect any wp-admin screen as an authenticated admin, returning page title, notices, links, forms, and field details—including plugin settings with no REST API.

Instructions

View any wp-admin screen as the authenticated administrator and get back its structure rather than raw HTML: the page title, its notices (errors, warnings, "Settings saved" messages), the wp-admin links on it, and every form with its fields (name, type, label, current value, options for selects/radios, whether required, and the help text), plus a capped text summary. This is how you read a plugin's settings screen that has no REST route — for example "admin.php?page=wpseo_titles" (Yoast) or "admin.php?page=rank-math-options-titles". The server authenticates the request with a single-use token; no cookie ever reaches the client.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url_or_page": "<url_or_page>"
    },
    "name": "admin_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idNoWhich configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids.
url_or_pageYesA wp-admin screen: "admin.php?page=wpseo_titles", "options-general.php", or a full wp-admin URL on this site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false), the description reveals important behavior: it returns a structured summary with capped text, includes only notices/forms/links, and authenticates server-side with a single-use token so no cookie reaches the client. This adds meaningful context about how the tool operates.

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 dense but every sentence earns its place: it explains what the tool returns, gives usage context, and discloses the auth mechanism, all front-loaded with the key distinction from raw HTML. No filler or redundant restatement.

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 read-only screen inspection tool with a well-described schema and no output schema, the description provides all necessary context: what fields come back, how to address a screen, why this tool exists, and how auth works. Nothing critical is 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?

The input schema already documents both parameters fully (100% coverage) and even includes examples for url_or_page. The description reinforces this with concrete URL examples, but adds no new parameter-level meaning beyond what the schema already states.

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 ('View'), names the resource ('wp-admin screen'), and clearly states the output is structured data rather than raw HTML. It gives concrete examples like 'admin.php?page=wpseo_titles', which sets it apart from get_page_html and other sibling tools.

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 explicitly states when to use this tool: to read a plugin's settings screen that has no REST route. It also implies the alternative of raw HTML by contrasting 'structure rather than raw HTML', though it does not name the specific sibling tool (get_page_html) or mention cases where this tool should not be used.

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