Skip to main content
Glama

List sites

list-sites
Read-only

Lists your WordPress sites with their status, the time of their latest report, WordPress and PHP versions, plugin counts, pending plugin updates and site settings. Filter by environment type, or by whether WordPress allows file modifications. A site with file_mods_allowed false cannot install or update plugins, themes or WordPress. The get-site tool returns the plugins, themes and collections of one site.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list-sites"
  }
}

Input Schema

NameRequiredDescriptionDefault
environment_typeNoOnly sites whose latest report has this WordPress environment type.
file_mods_allowedNoFalse lists only sites where DISALLOW_FILE_MODS stops installs and updates. True lists only sites that allow them. Sites whose report has no value match neither.

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 already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the returned field set and by explaining the operational consequence of file_mods_allowed=false (no installs or updates of plugins, themes or WordPress). Pagination and result-size behavior are not addressed, which keeps it below a 5.

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 sentences, front-loaded with the core purpose, then filtering semantics, then the sibling routing. Every sentence carries information an agent needs and none is redundant.

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?

With no output schema, the description compensates by listing the fields returned. Filter behavior, including the edge case where sites with no reported value match neither filter setting, is covered by the schema, and the sibling distinction is stated, so nothing essential is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by spelling out what file_mods_allowed=false actually implies for the site. The enum values for environment_type are left entirely to the schema, so it does not earn a 5.

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 opens with a specific verb and resource ("Lists your WordPress sites") and enumerates exactly what each entry contains: status, latest report time, WordPress and PHP versions, plugin counts, pending updates and settings. It also distinguishes the scope from get-site, which returns the plugins, themes and collections of one site.

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?

It gives a clear routing rule for the single-site case ("The get-site tool returns the plugins, themes and collections of one site") and explains the two filter dimensions. It does not state exclusions or when to prefer the other list variants, but the when-to-use context for the primary alternative is explicit.

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