Skip to main content
Glama

List websites

site_list
Read-onlyIdempotent

Retrieve all PHP sites with site ID, domain, root path, remark, expiry and backup count so you can find the numeric ID required for further site operations.

Instructions

All PHP sites with id, domain, root path, remark, expiry and backup count. This is the entry point for any site operation, since most actions need a numeric site id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pNoPage number, 1-based.
typeNoGroup filter; -1 means all groups.
limitNoRows per page.
searchNoSubstring filter; for site/db lists this is often the site id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1-alpha.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds the returned field set, which is useful, but says nothing about pagination behavior or result volume despite page/limit parameters existing.

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 sentences, zero filler, and the payload contents are front-loaded before the usage hint. Every clause earns its place.

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?

With no output schema, the description usefully enumerates the returned fields, and annotations cover the safety profile. Pagination/filtering behavior is left entirely to the schema, which is acceptable but slightly under-described for a list tool.

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 all four parameters (p, limit, type, search) are already documented with defaults and semantics. The description adds no parameter-level detail beyond the hint that most operations need a numeric site id, so baseline 3 applies.

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?

The description names a specific resource (PHP sites) and enumerates the returned fields (id, domain, root path, remark, expiry, backup count), so an agent knows exactly what this call yields. It doesn't explicitly contrast with near siblings like site_list_domains or ssl_list, so it falls short of a 5.

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?

"This is the entry point for any site operation, since most actions need a numeric site id" gives a clear condition for reaching for this tool first. It stops short of naming alternatives or exclusions (e.g., when to prefer site_get for a known id).

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