Skip to main content
Glama

List site collections

list_site_collections
Read-onlyIdempotent

List a site's data collections with their schema, access mode, paused state, whether the people who run the site are told about each new record (notify), and for a website the mailboxes each new record is emailed to (forward_to, each with its state: receiving, stopped by its reader, or not_sending because its domain is not admitted now: the website is not live on a verified domain, forward_domain null, or its parent domain is not confirmed), the mail domain of the website itself (forward_domain), and for a website on a subdomain its parent (forward_parent_domain: the domain, proof, and the TXT record to add at that domain itself). proof is proven, missing (the record was not found: give the person the record), or unreachable (DNS did not answer: do not tell the person the record is wrong; try again in a minute). It can be up to a minute old: after the person says they added the record, confirm by sending the list with the address to set_collection_access, which checks afresh, once; a record added a moment ago can take minutes to show. Addresses not sending are kept and send again once their domain is admitted; the messages themselves are always kept in the collection. A site with no forward_domain key never had a website domain with addresses. Scoped to a site you can edit.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site_id": "<site_id>"
    },
    "name": "list_site_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site whose collections to list
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds genuinely non-obvious behavior: the listing can be up to a minute stale, addresses that are not_sending are retained and resume once their domain is admitted, messages are always kept in the collection, and a missing forward_domain key means no website domain ever existed. It also explains how to interpret proof values (proven, missing, unreachable) and what to tell the person in each case, which is real operational context rather than restatement.

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

Conciseness2/5

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

The purpose is front-loaded, but everything after it is a single run-on sentence with deeply nested parentheses covering forward_to states, forward_parent_domain proof semantics, caching and retry advice. Much of that material is return-value interpretation that would read better as a short structured list, and the density makes the definition hard to scan at the point of tool selection.

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 does the work of explaining what comes back: per-collection schema, access mode, paused state, notify, forward_to entries with their states, forward_domain and forward_parent_domain with proof values. Combined with the freshness caveat and the edit-scope constraint, an agent has enough to call this and interpret the result, though the missing explanation of collection identity/ordering is a minor gap.

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 both site_id and workspace_id are fully documented in the schema, so the baseline is 3. The description contributes only the implicit constraint that the site must be one the caller can edit; it adds nothing about workspace_id resolution or multi-workspace behavior beyond what the schema already states.

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 opening clause names a specific verb and resource ("List a site's data collections") and enumerates the returned fields: schema, access mode, paused state, notify, forward_to and forward_domain. It is distinguishable from siblings like list_sites or list_websites, though the core purpose is buried inside a single sprawling sentence that makes it slower to extract than it should be.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent can infer this is the inspection tool for collection schema and forwarding state, and the closing line "Scoped to a site you can edit" sets a permission precondition. The one explicit routing instruction points at set_collection_access for re-checking a newly added DNS record, but there is no statement of when to prefer this over get_site or list_websites, and no exclusions.

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.