Skip to main content
Glama

List sites

list_sites
Read-only

Lists the sites on this account, newest first, so a publish can go to one of them. Returns up to 100 with the account's total; there are no pages to fetch beyond that. Use get_site for one site's settings and versions. For a limited member — somebody an owner gave some folders of the account — it lists only the sites in those folders.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
sitesYesThe account's sites, newest first — every one unless `total` is larger.
totalYesHow many sites the account holds. Larger than `sites` only past 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/destructive annotations: it discloses ordering (newest first), a hard cap of 100 with the account total, that no further pages exist, and that results are narrowed for limited members. Those are exactly the facts an agent needs to decide whether to page, re-query, or trust completeness.

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 what it does and the ordering, then the result cap, then the alternative and the scoping caveat. Every sentence carries distinct information with no restatement of the title.

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 zero-parameter read with a real output schema and full annotations, the description supplies the remaining essentials: ordering, result limit, absence of pagination, sibling routing, and permission-dependent scoping. Nothing an agent needs to call it correctly is missing.

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?

The tool takes no parameters, so there is nothing for the description to clarify at the schema level; baseline for zero-parameter tools applies. The description correctly adds no fictional parameters and instead spends its words on result behavior.

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 ('Lists the sites on this account') plus scope ('newest first') and purpose ('so a publish can go to one of them'). It also names the sibling it is not (get_site), so an agent can distinguish list vs. single-site retrieval without opening a schema.

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 routes the agent to get_site for 'one site's settings and versions', and explains the limited-member case where only folder-scoped sites come back. It stops short of stating when not to call it (e.g., when the site ID is already known), but the alternative is named concretely.

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.