Skip to main content
Glama

List Sites

list_sites
Read-onlyIdempotent

List all sites owned by the authenticated user. Returns id, subdomain, live URL, status, and basic metadata for each site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of sites to return. Default 25.
stateNoFilter by site state. Default is 'active' (live and pending sites).active
cursorNoPagination cursor from a previous list_sites response.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sitesYes
cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior. The description adds useful context beyond that: results are scoped to the authenticated user, and the response includes specific site fields. It does not reveal pagination or ordering behavior, but the schema provides cursor details.

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?

The description is a single efficient sentence that front-loads the main purpose and then lists the return fields. No filler or repetition.

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?

The tool is simple, has optional params fully described by the schema, annotations cover side-effect safety, and an output schema exists. The description adds the essential ownership scope and return-field context, making it complete for an agent to invoke correctly.

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 the parameters are already documented (limit, state, cursor). The description does not need to add parameter semantics, and adding none keeps it at the baseline 3.

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 uses a specific verb and resource ('List all sites') and narrows scope to the authenticated user's ownership. The return fields (id, subdomain, live URL, status, metadata) make the tool distinguishable from siblings like get_site and list_site_files.

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 description clearly conveys when to use the tool: when enumerating the user's sites. It does not explicitly contrast alternatives like get_site or search, but the 'all sites' framing and listed return fields provide enough context to select it appropriately.

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