Skip to main content
Glama

Pitchlane

List custom domains

list_domains
Read-only

List your organisation's custom viewer domains, their desired state, DNS instructions and status. Follow next_cursor to read another page.

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
limitNoHow many domains to return, 1 to 100. Defaults to 20; keep it small unless the user needs more.
cursorNo`next_cursor` from the previous call, to get the next page. Leave it out for the first page, and send the same filters as that call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing returned content (desired state, DNS instructions, status) and the paged nature of the response, which the annotations do not convey.

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?

Two tight sentences: the payload contents first, then the pagination instruction. Nothing is redundant or buried.

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?

This is a simple, parameter-light, read-only list with no output schema, and the description does say which attributes a domain record carries. It falls slightly short only in not sketching the response envelope (items array vs. keyed object) or confirming the cursor field name as next_cursor — which it does mention, so the gap is minor.

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 both limit and cursor are fully documented in the schema, establishing the baseline of 3. The description echoes cursor semantics with 'Follow next_cursor' but adds no new detail (e.g., filter consistency, limit interaction) beyond what the schema already says.

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?

States a specific verb and resource ('List your organisation's custom viewer domains') and names the fields surfaced (desired state, DNS instructions, status). An agent can distinguish this from get_domain (single) or create_domain by name and scope, though the description never explicitly contrasts them.

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 infers this is the way to enumerate domains rather than fetch one. The one explicit directive is pagination ('Follow next_cursor to read another page'), which is helpful but doesn't cover when to prefer this over get_domain or when listing is unnecessary.

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