Skip to main content
Glama

PillDrops

add_domain

Point a customer hostname at a public sandbox (give sandbox_id, and port if the app is not on 8000), or claim a wildcard like *.example.com for the whole org. Nothing routes until DNS is in place: the reply carries the CNAME record that has to be created at the domain's registrar (or, where a CNAME is impossible, an A record plus the TXT record in txt_record), which is a step only a human can do — hand the record over and check back with list_domains. The sandbox must be publicly reachable, since a custom host carries no preview token.

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": {
      "host": "<host>"
    },
    "name": "add_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYeshostname, e.g. app.example.com, or *.example.com for an org wildcard
portNothe sandbox port behind the host (default 8000)
sandbox_idNothe sandbox to serve it (omit for a wildcard)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses that nothing routes until DNS exists, that the reply carries the CNAME (or A plus TXT) record, that a human must create it at the registrar, and that the sandbox must be publicly reachable because a custom host carries no preview token. It stops short of covering permission/auth requirements or what happens when a host is already claimed, which keeps it from a 5.

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 two operational modes are front-loaded, followed by the DNS precondition and the follow-up step; nearly every clause carries information. It is dense but not padded, though the single long parenthetical about the A/TXT fallback slightly taxes readability.

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?

There is no output schema, and the description compensates by explaining what the reply contains (the CNAME or the A plus TXT record) and what the agent should do with it. For a three-parameter mutation-style tool with no annotations, the operational, return, and follow-up context are all present.

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 real relational meaning: sandbox_id and port are linked to a specific sandbox, the port only matters when the app is not on 8000, and omitting sandbox_id is what makes it a wildcard. That clarifies parameter interaction beyond the per-field schema text.

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 states a specific verb and resource ('Point a customer hostname at a public sandbox') and explicitly covers both operating modes: binding a host to a sandbox_id or claiming an org wildcard like *.example.com. An agent can distinguish this from list_domains and remove_domain without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names the condition that selects each mode ('give sandbox_id... omit for a wildcard') and routes the agent to the follow-up tool: 'check back with list_domains'. It also states the prerequisite that must hold before anything routes, which is exactly the guidance an agent needs to avoid false success.

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.