Skip to main content
Glama

Set the subdomain

deployments_setSlug
Destructive

Set the subdomain alias (slug).

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": {
      "id": "<id>",
      "slug": "<slug>"
    },
    "name": "deployments_setSlug"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, but the description adds nothing about what is destroyed or replaced, whether the current URL breaks, or whether the change requires a redeploy. For a destructive, non-idempotent mutation, the single sentence leaves the important behavioral consequences undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with no filler and the key term front-loaded, so nothing is wasted. The brevity is efficient but crosses into under-specification rather than crispness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation with no output schema, no annotation-adjacent explanation, and two undocumented parameters. Given the complexity of changing a live deployment's address, the description is far too thin for an agent to call it confidently.

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?

Schema description coverage is 0%, so the description must carry parameter meaning. It clarifies only that 'slug' is the subdomain alias; the required 'id' parameter is never identified (presumably a deployment id), and the slug's format constraints (1-63 chars, hostname-label rules) go unmentioned.

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 names a specific verb ('Set') and resource ('subdomain alias (slug)'), which is clearer than the bare tool name deployments_setSlug. It does not, however, distinguish this from sibling operations such as deployments_setCustomDomain or deployments_removeSlug, so the agent must infer that a slug is a provider-generated subdomain rather than a custom domain.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite (e.g. deployment must be running), and no mention of alternatives or follow-up actions. An agent cannot tell from this text whether setting a slug replaces an existing one or how it relates to removeSlug/setCustomDomain.

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.

Resources