Skip to main content
Glama

mcp_list_options

Lists WordPress options for a site in ascending name order, with an optional prefix filter, and masks secret-looking values as [masked] for safe inspection.

Instructions

List WordPress options (name ascending) with an optional name prefix filter. Secret-looking values are returned as "[masked]". Note: autoload is only true for legacy 'yes' rows (WP 6.6+ stores 'on'/'auto', reported as false).

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": {
      "site": "<site>"
    },
    "name": "mcp_list_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite id (see list_sites)
prefixNoOnly options whose name starts with this (server lowercases it and keeps only a-z, 0-9, _ and -)
per_pageNoMaximum options returned (default 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.14.0
    • changedInput schema / properties / per_page / description
      Previous value: -"Results per page"New value: +"Maximum options returned (default 50)"
    • addedInput schema / properties / per_page / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / per_page / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / prefix / description
      Previous value: -"Filter by option name prefix"New value: +"Only options whose name starts with this (server lowercases it and keeps only a-z, 0-9, _ and -)"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "site"
      +]
  3. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplying a safety profile, the description carries the burden and delivers real behavioral detail: secret-looking values are masked, and the autoload quirk in WP 6.6+ is explained so the agent won't misread false as a data error. It does not spell out that this is a read-only, non-mutating operation or describe pagination/truncation behavior at the default 50 rows.

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 short sentences, front-loaded with the core verb and resource, followed by the two behaviors an agent would otherwise trip on. No filler or repetition of schema fields.

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

Completeness4/5

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

For a no-annotation, no-output-schema list tool with fully documented parameters, this covers purpose, ordering, filtering, masking, and the autoload trap. The remaining gap is pagination behavior, which matters at the default 50-row cap.

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%, so baseline is 3; the schema already documents site, prefix normalization, and per_page default. The description adds only a high-level note that prefix filtering is optional and that results are name-ascending, not parameter-level detail beyond the schema.

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?

States a specific verb and resource ("List WordPress options"), plus ordering (name ascending) and an optional prefix filter, so an agent knows exactly what comes back. It stops short of naming the nearest sibling (mcp_bulk_get_options) to delineate when fetching by explicit names is the better choice.

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

Usage Guidelines3/5

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

Usage is only implied: the presence of a prefix filter hints at narrowing large result sets, and the tool is obviously for enumeration. There is no explicit when-to-use, when-not, or pointer to mcp_bulk_get_options for targeted lookups, so the agent must infer the boundary.

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