Skip to main content
Glama

List sites

list_sites
Read-onlyIdempotent

List the account's sites.

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
workspaceIdNo

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / workspaceId / minimum
      Removed value: -1
    • removedOutput schema / properties / items / items / properties / expiresAt
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / items / items / properties / passwordProtected
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / items / items / properties / status
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / items / items / properties / updatedAt
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / items / items / properties / versionCount
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / properties / workspaceId
      Removed value: -{
      -  "type": "string"
      -}
  2. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that – no pagination behavior, no result ordering, no statement of whether an empty account returns an empty list, and no note that the optional workspaceId narrows scope.

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

Conciseness3/5

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

The one-sentence description is front-loaded and free of filler, so it passes on efficiency. However, this is under-specification rather than genuine conciseness – the terseness comes at the cost of every useful detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, which lowers the bar. Even so, for a listing tool with an undocumented optional filter and no statement of scope or result limits, the description leaves too much for the agent to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter workspaceId has 0% schema description coverage, so the description carries the burden of explaining it and does not mention it at all. An agent cannot tell from either source whether workspaceId filters the listing or merely scopes the auth context, or what the default is when it is omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List the account's sites" gives a clear verb and resource, so the agent knows this is a read-only enumeration of site objects. It does not distinguish the tool from siblings such as list_links or list_versions, nor does it say whether the list is scoped per workspace or account-wide.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this over read_site, get_insights, or any other listing tool, and no prerequisite or exclusion is stated. The agent must infer that this is the discovery step before read_site or edit_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