Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

set_custom_domain

Serve an app's API on a custom domain with an optional free Let's Encrypt certificate; the domain must already point to the app via CNAME or the request is refused with the DNS record to create.

Instructions

Serve an app's API on a custom domain (e.g. api.example.com), optionally with a free Let's Encrypt certificate. The domain must already point to the app with a CNAME record (get_custom_domain names it); otherwise it's refused with the record to create. Redeploys the app.

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": {
      "appObjectId": "<appObjectId>",
      "hostName": "<hostName>"
    },
    "name": "set_custom_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNameYesThe host name, e.g. api.example.com
appObjectIdYesThe app: its name or objectId (see list_apps)
letsEncryptNoGet a Let's Encrypt certificate for it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-destructive, closed-world. The description adds the crucial side effect ('Redeploys the app'), the certificate-provisioning behavior, and the conditional refusal path with the corrective record — behavior an agent cannot learn from the annotations or schema.

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?

Three tight sentences, front-loaded with the purpose, then the precondition, then the side effect. Every clause carries new information; nothing is repeated from the title or schema.

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 mutating tool with no output schema, the description covers prerequisites, failure behavior, and the redeploy side effect. What remains unstated is the success response shape and whether the domain can be changed later (versus removed first), a minor gap given the annotation coverage.

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 all three parameters are already documented with descriptions and examples. The description ties letsEncrypt to 'optionally with a free Let's Encrypt certificate' and implies the CNAME validation on hostName, but adds no format, syntax, or default details beyond the schema — baseline 3 is appropriate.

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?

States a specific verb and resource ('Serve an app's API on a custom domain') plus an optional capability (Let's Encrypt certificate). It is clearly distinguished from siblings get_custom_domain and remove_custom_domain, naming get_custom_domain as the tool that reveals the required record.

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?

Gives an explicit precondition: the domain must already point to the app via CNAME, and calls out that failure returns the record to create. It points to get_custom_domain for the record. It does not explicitly mention remove_custom_domain for teardown, so usage guidance is strong but not complete.

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