Skip to main content
Glama

List domains

list_domains
Read-onlyIdempotent

List the workspace's custom domains with their verification state, 50 per page. Needs a workspace owner or admin. Returns domains, hasMore, and nextCursor. The DNS value to publish is only returned by add_domain.

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_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Default 50.
cursorNonextCursor from the previous page.

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 this is a safe, idempotent, closed-world read; the description adds authorization level, page-size behavior, and the shape of the result (domains/hasMore/nextCursor). The cross-tool note that only add_domain returns the DNS value prevents a common wrong call. Missing ordering or rate-limit behavior keeps it from a 5.

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?

Four short sentences with the scope, the permission constraint, the return shape, and the sibling exclusion front-loaded in that order. No sentence is wasted.

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?

There is no output schema, yet the description enumerates the returned keys and the pagination mechanism, so an agent knows how to iterate. With complexity, annotations, and parameters all covered, nothing needed for a correct call is missing.

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% and both parameters are already documented in the schema, including the default page size of 50. The description's '50 per page' and the nextCursor reference restate schema facts rather than adding new meaning, so baseline 3 applies.

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 gives a specific verb and resource (list the workspace's custom domains) and names the returned state (verification state). It also distinguishes itself from add_domain, which is the only tool that returns the DNS value to publish.

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?

It states the access prerequisite (workspace owner or admin) and steers the agent to add_domain when a DNS value is needed, which is a real exclusion. It doesn't cover other read variants (e.g., fetching a single domain) or say when this list is not appropriate, so it stops short of full routing guidance.

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