Skip to main content
Glama

Put a domain in front of a WordPress site

attach_wordpress_domain
Destructive

Put a domain at KENJTEC in front of a running WordPress site. If own records stand at the root or www, the call is refused; replace=true replaces them — only when the user says so.

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": {
      "wordpress_site_id": "<wordpress_site_id>",
      "domain_id": "<domain_id>"
    },
    "name": "attach_wordpress_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
replaceNoReplace own records at root and www.
domain_idYesThe domain id from list_domains.
wordpress_site_idYesThe WordPress site id from list_wordpress_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is structured. The description adds real value beyond that: the call is refused when own records exist at root or www, and replace=true overwrites them. It does not say what happens to traffic/DNS propagation, permissions required, or what a success response contains, so it is additive but not rich.

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?

Two tight sentences; the precondition and the destructive escape hatch are front-loaded rather than buried. The only waste is the unexplained 'at KENJTEC' clause, which adds no meaning for an agent.

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

Completeness3/5

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

For a destructive, non-idempotent mutation with no output schema, the description covers the failure mode, the prerequisite (a running site) and the overwrite condition. It omits whether the call is reversible, whether the site's primary domain is affected, and any post-call state, leaving meaningful gaps for a destructive operation.

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%, with descriptions already mapping domain_id and wordpress_site_id to their list_* sources and replace to 'Replace own records at root and www'. The description only adds the consent caveat 'only when the user says so', so the schema is doing most of the work and baseline 3 applies.

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?

States a concrete verb and resource: 'Put a domain ... in front of a running WordPress site', which is more specific than the title. It does not differentiate itself from the sibling set_domain_front, and the unexplained token 'KENJTEC' muddies the scope slightly, but the operation is still 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?

Gives a clear precondition and failure mode (root/www records cause refusal) and an explicit escalation path for the risky variant (replace=true, 'only when the user says so'). It stops short of naming an alternative tool or of saying when attaching should not be done at all, but the guardrails are actionable.

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