Skip to main content
Glama

connect_custom_hostname

Connect an existing hostname via CNAME to sites.sornkan.com (no registrar). One-time $1 USDC, same claiming wallet, while lease is live. If the hostname is already on Cloudflare, keep the CNAME proxied. Not a monthly fee. If you have no wallet, get payment_url from the 402 response and show it to the human — they pay by card or Thai PromptPay in THB (no crypto needed); after they pay, poll preview_status/retry until live.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
hostnameYes

TDQS

A3.7/5.0
Behavior4/5

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

With empty annotations, the description carries the full burden of behavioral disclosure. It discloses the one-time fee, the 402 payment fallback path, the requirement that the lease be live, and the proxy behavior for Cloudflare hostnames. It doesn't fully describe success-response semantics or reversibility, but it goes well beyond a minimal description.

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?

The description is dense but every sentence contributes critical info: DNS mechanics, billing model, Cloudflare edge case, and card/PromptPay fallback. Some phrasing feels slightly repetitive ('while lease is live' and 'Not a monthly fee' could be consolidated), but the overall structure is efficient enough.

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?

The description covers prerequisites (lease live, existing hostname), the payment fallback with a 402 response, and the post-payment polling step ('poll preview_status/retry until live'). It doesn't return the details of a successful response, which is a modest gap given the absent output schema.

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 input schema provides no description coverage for slug or hostname, so the description must compensate. 'hostname' is inferable from the prose, but 'slug' is never explained, its role in identifying the lease or wallet remains ambiguous ('same claiming wallet' helps only indirectly). This is a clear gap in per-parameter semantics.

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 the tool's function: connecting an existing hostname via CNAME to sites.sornkan.com without registrar involvement. It also distinguishes this from recurring-fee tools by noting 'Not a monthly fee' and 'One-time $1 USDC', though it doesn't explicitly name competing siblings.

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?

The description includes a conditional payment flow ('If you have no wallet, get payment_url from the 402 response') and practical guidance for Cloudflare-hosted CNAMEs ('keep the CNAME proxied'). It does not explicitly list alternative sibling tools to choose between, but the context is clear enough for when this tool is appropriate.

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.

TDQS

A3.5/5.0
Disambiguation3/5

claim and publish_website both describe taking a website live, creating real ambiguity about which tool to call once a preview is ready. scan and inspect also overlap in that both check for unsafe files, but the descriptions clearly separate free scanning from paid preview deployment. Other tools are distinct enough given their detailed descriptions.

Naming Consistency3/5

The set mixes single-word verbs (claim, edit, inspect, renew, scan) with verb_noun pairs (connect_custom_hostname, publish_website, render_page, upload_url), and preview_status reads more like a status endpoint than an action. However, all names are snake_case and mostly descriptive, making the inconsistency moderate rather than chaotic.

Tool Count4/5

10 tools is within the reasonable range for a publishing workflow, and each lifecycle step from upload through preview, claim, renew, edit, and custom hostname is represented. render_page feels somewhat tangential to the site-hosting domain, but it does not significantly bloat the set.

Completeness3/5

The main publish workflow is well covered: upload, security scan, preview, status, claim, renew, edit, and custom hostname. Obvious lifecycle gaps remain, such as no way to list live sites, read remaining lease duration for a live site, or delete/unpublish a site. There is also no dedicated 'get live URL' tool, though claim likely returns it.

Resources