Skip to main content
Glama

Loutre

set_domain

Serve the mock under the account's own hostname (Pro): declares it at Cloudflare and returns the CNAME to create (hostname → target) plus the current status; call again without hostname to re-check, or with hostname null to remove it.

Input Schema

NameRequiredDescriptionDefault
slugYesSubdomain of the mock, e.g. "brisk-otter"
hostnameNoe.g. mock.acme.com; null removes; omitted re-checks the status
ownerTokenNoOwner token received at creation (not needed when the account is connected with an API token)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 a good job: it discloses the external side effect (declares the record at Cloudflare), the destructive null-removal path that an agent would otherwise not anticipate, the Pro entitlement gate, and the auth nuance around ownerToken. It stops short of saying whether removal is reversible or what happens on DNS conflicts/invalid input.

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?

A single dense sentence with the capability front-loaded, followed by the mode-selection clause. Every clause earns its place — plan tier, side effect, return value, and the three hostname modes — with no filler.

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 3-param tool with no annotations and no output schema, the description covers purpose, side effects, return shape, plan gate, and mode semantics. The remaining gap is failure behavior (EligibilityError, DNS validation) which the agent may need before invoking.

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% and the schema already documents the tri-state hostname semantics ('null removes; omitted re-checks the status'), so the description's restatement adds little. Its marginal value is tying the modes to concrete outcomes (returns the CNAME to create vs. re-checking status), which is a modest addition over structured data.

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 — serves the mock under the account's own hostname via Cloudflare — and additionally names what it returns (the CNAME hostname → target plus status). No sibling in the list (set_access, set_behavior, set_response, create_mock…) touches custom hostnames, so the tool is unambiguously identifiable.

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?

Explicitly spells out the three invocation modes and when each applies: with a hostname to declare it, without hostname to re-check status, and with hostname null to remove it. Also flags the Pro-plan prerequisite. Lacks any when-not-to-use or dependency/precondition guidance (e.g. whether the mock must already be synced).

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