Skip to main content
Glama

get_domains

Read-only

Retrieve a project's generated and custom domains, including DNS verification status and the records still needed to configure them.

Instructions

The project's web addresses: its generated domain and its custom domains, with, for each custom domain, whether DNS is verified and the records still to create.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope are covered. The description adds genuine behavioral detail about what the response conveys (verification state and pending DNS records), but says nothing about whether results are cached/live, whether unverified domains appear, or what happens for a project with no custom domains.

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

Conciseness4/5

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

One sentence with no filler, and the core content (generated domain, custom domains) is front-loaded ahead of the per-domain detail. Slightly awkward comma-spliced phrasing, but nothing that needs removing.

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?

For a read-only, single-identifier lookup with an output schema present, the description covers the essential question of what comes back. The only meaningful gap is the absence of any pointer to verify_domain for acting on unverified domains.

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 0% and the single parameter project_id is never mentioned in the description, so nothing clarifies whether it is a numeric project ID versus a name or slug. The parameter is a self-evident required identifier, which keeps this from being a real problem, but no meaning is added beyond the schema's 'Project Id' title.

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 description names the resource precisely — the project's generated domain plus custom domains — and enumerates the returned attributes (DNS verification, records still to create), which cleanly separates it from mutation siblings like add_domain, verify_domain, remove_domain and set_subdomain. It is a noun-phrase description rather than an explicit verb, but the read intent is unambiguous.

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 mention of 'DNS is verified' and 'records still to create' hints this is the tool to call before or after verify_domain, but it never states when to use it or names verify_domain/add_domain as the follow-up or alternative. An agent can infer the context but receives no explicit routing guidance or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.