Skip to main content
Glama

List sites

list_sites
Read-onlyIdempotent

Lists every site this account owns, with id, name and theme, plus siteLimit (how many Free sites the account may hold, or "unlimited") and accountPlan (the account’s best plan — "enterprise" on an Enterprise account, whose numbers are its own). The site ids other tools take come from here.

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
unpublishedChangesNotrue: also compare each site with its live version — liveState live|changes|draft|offline|unknown, changed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-open-world, so the safety profile is covered. The description adds real behavioral context beyond that: the exact fields returned and the semantics of siteLimit (Free sites cap or "unlimited") and accountPlan (account's own best plan, Enterprise numbers being account-specific). It does not discuss the optional comparison behavior of unpublishedChanges, but that is documented in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and return fields, then supporting detail. Slightly dense parentheticals about plan semantics, but every clause carries information an agent would otherwise have to guess at.

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 carries the burden of describing return values and does so explicitly. Minor gaps: it says nothing about ordering, pagination, or how many sites might come back on a large account, which an agent with limited context might want to know.

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% and the single optional parameter unpublishedChanges is fully documented in the schema with its liveState values. The description never mentions the parameter, so it adds no meaning beyond the structured definition — baseline 3 is appropriate.

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 every site this account owns") and enumerates exactly what comes back: id, name, theme, siteLimit and accountPlan. The closing sentence ("The site ids other tools take come from here") makes clear this is the discovery/entry-point tool for site-scoped operations, so it is distinguishable from sibling list tools such as list_pages.

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 final sentence gives clear context for when to reach for this tool: whenever a downstream tool needs a site id. It does not state explicit exclusions or name an alternative for cases where you already have ids, but the usage context is unambiguous for an agent starting work on a site.

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