Skip to main content
Glama
krovacloud

@krovacloud/mcp

Official

Attach Domain

create_domain

Attach a custom domain to a Cube and receive the DNS records that must be published. Returned CNAMEs activate routing to your in-Cube port; set mustBeGrey records to DNS-only.

Instructions

Attach a custom domain to a Cube, routing it to an in-Cube port. Returns the domain AND the DNS records the user must publish — tell them the records verbatim, host and value, because the domain does nothing until those exist. An ordinary subdomain needs one CNAME; a wildcard needs three. Any record with mustBeGrey must be DNS-only (grey cloud) on Cloudflare; a proxied one hides the record and certificate issuance fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYesThe in-Cube port to route to.
cubeIdYesThe Cube id to operate on.
domainYesThe domain name to attach (e.g. app.example.com).
spaceIdNoKrova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default.
originSchemeNoScheme the edge speaks to the Cube on. "http" (default) is cleartext. Use "https" only when the Cube terminates TLS itself — a control panel holding its own certificate, or an app listening on HTTPS — because such an app answers plain HTTP with a redirect and cannot be reached over cleartext. Visitors are on HTTPS either way. The dial port is derived: https on the default port 80 connects on 443. Verified against the Cube before it is applied; if the domain does not serve, the route is left on http.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.6

TDQS

A4.7/5.0
Behavior5/5

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

The description goes well beyond annotations by revealing that the tool returns DNS records, that records must be published before the domain functions, that wildcards require three records, and that mustBeGrey records must not be proxied or certificate issuance fails. This is exactly the kind of behavioral disclosure beyond readOnlyHint/openWorldHint/idempotentHint that an agent needs.

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 dense but every sentence earns its place: purpose, required follow-up action, and a critical conditional about mustBeGrey. It is front-loaded with the core purpose and avoids filler. The length is justified by the complexity of DNS and Cloudflare behavior.

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?

Since there is no output schema, the description correctly explains what the tool returns — the domain and DNS records — and instructs the agent on how to use that output. It also covers the Cloudflare proxying pitfall and the difference between wildcard and subdomain record requirements. An agent has enough information to invoke the tool and handle the result correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantics: it clarifies that the port is the in-Cube routing target and gives wildcard-domain behavior relevant to the domain parameter. It doesn't restate each parameter, but it enriches the most consequential ones beyond the schema descriptions.

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 opens with a specific verb and resource: 'Attach a custom domain to a Cube, routing it to an in-Cube port.' This clearly distinguishes the tool from sibling domain tools like list_domains, get_domain_records, update_domain, and delete_domain. The purpose is unambiguous and operationally specific.

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 gives strong contextual guidance: it tells the agent that DNS records must be relayed verbatim and that the domain does nothing until they are published. It also explains wildcard vs. subdomain record counts and Cloudflare grey-cloud requirements. It does not explicitly name alternative tools or say when not to use it, but the use case is clear enough from the purpose and context.

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

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/krovacloud/krova-node'

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