Skip to main content
Glama

Retrieve custom domain

render_retrieve_custom_domain
Read-onlyIdempotent

Retrieve a custom domain for a service by specifying the service ID and custom domain name or ID.

Instructions

Retrieve custom domain. Retrieve a particular custom domain for a particular service. Calls GET /services/{serviceId}/custom-domains/{customDomainNameOrID} on the Render Public API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceIdYesThe ID of the service
customDomainNameOrIDYesThe ID or name of the custom domain
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, which indicate a non-destructive, idempotent read operation. The description adds the API call path, confirming it's a GET request, but does not disclose additional behavioral traits beyond what annotations provide.

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?

The description is extremely concise with two short sentences. The first sentence is a direct statement of the purpose, and the second provides the API endpoint. No unnecessary words.

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 simple retrieval tool with two parameters and no output schema, the description is adequate. It specifies the resource and endpoint. It could mention that the custom domain must belong to the provided service ID, but this is implicit from the API call.

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% with clear descriptions for both parameters (serviceId and customDomainNameOrID). The description adds no extra meaning beyond the schema; therefore, the baseline score of 3 applies.

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 clearly states that the tool retrieves a specific custom domain for a specific service, which matches the verb 'retrieve' and resource 'custom domain'. It distinguishes from sibling tools like `render_create_custom_domain` and `render_list_custom_domains` by focusing on a single resource retrieval.

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?

No explicit guidance on when to use this tool versus alternatives (e.g., listing all custom domains). The readOnlyHint and idempotentHint imply safe usage, but the description does not provide context-specific advice or prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LuSrodri/render-useful-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server