Skip to main content
Glama

Update custom domain settings

update_domain_settings
Idempotent

Use this tool when the user wants to stop or allow AI bots on their custom domain (独自ドメイン), such as "ChatGPT に読ませたくない", "AI の学習に使わせない", or "allow Perplexity again".

Turns a custom domain's AI-bot switches on or off, for all of this workspace's pages on that domain. Convika writes the change into the domain's robots.txt within about a minute; nothing on the pages changes. Each bot re-reads robots.txt on its own schedule (OpenAI says about 24 hours), so don't promise the user an immediate stop.

  • allowAiAnswerBots: OAI-SearchBot, Claude-SearchBot, PerplexityBot, DuckAssistBot, ChatGPT-User, Claude-User, Perplexity-User. Off, AI search and answers stop reading the site, so it may stop appearing in their answers.

  • allowAiTrainingBots: GPTBot, ClaudeBot, CCBot, Bytespider, Google-Extended, Applebot-Extended. Off asks them not to use the pages for training. Google-Extended doesn't affect Google Search, but off also asks Google not to look up the pages in Google Search for the Gemini app's answers. Gemini can still read a page a person gives it. Tell the user, before and after:

  • The fetchers that open a page because a person asked (ChatGPT-User, Claude-User, Perplexity-User, Google-Agent) may ignore robots.txt.

  • Googlebot and Bingbot can't be switched off: Google's AI Overviews read pages as Googlebot. To keep a page out of search results, publish it as a Private link (Pro) on the dashboard (「限定公開」 in Japanese); Free pages are public.

  • robots.txt is a request that well-behaved bots follow, not a block. Applies only to this workspace's pages on the domain. Free and paid plans alike. Call get_domain first if you don't know the domain's id or hostname. Change it only when the user asks.

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": {
      "domain": "<domain>"
    },
    "name": "update_domain_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain's id or hostname, such as www.example.com
allowAiAnswerBotsNotrue allows AI search and answer bots, false disallows them in robots.txt
allowAiTrainingBotsNotrue allows AI training bots, false disallows them in robots.txt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that the change is written to robots.txt within about a minute, that pages themselves are untouched, and that each bot re-reads robots.txt on its own schedule (~24h for OpenAI), so no immediate stop should be promised. It also warns that person-triggered fetchers may ignore robots.txt, that Googlebot/Bingbot cannot be switched off, and that robots.txt is a request rather than a block — none of which is inferable from readOnlyHint/destructiveHint/idempotentHint.

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?

Front-loaded with the trigger, then the effect, then timing caveats, then a per-parameter breakdown — a sensible order with no filler. It is long, and the 'Tell the user, before and after' block reads as response-script guidance rather than tool description, which slightly stretches the space budget, but every line carries operational content.

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?

For a 3-parameter mutation with no output schema, the description covers everything an agent needs: prerequisites (get_domain), scope (workspace pages on the domain, all plans), side-effect location and latency (robots.txt, ~1 min), and known limits of the mechanism. No return value exists to explain, and the bot-group semantics are fully spelled out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds substantial meaning the schema lacks: it enumerates exactly which bots fall under allowAiAnswerBots (OAI-SearchBot, PerplexityBot, ChatGPT-User, etc.) and allowAiTrainingBots (GPTBot, CCBot, Google-Extended, etc.), and explains the consequence of setting each to false. That lets an agent reason about the user's intent per parameter rather than treating them as opaque booleans.

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 (turn a custom domain's AI-bot switches on/off) and immediately bounds the scope ('for all of this workspace's pages on that domain'). It also names the sibling it depends on ('Call get_domain first') and contrasts with what it does not do ('nothing on the pages changes'), so an agent can distinguish it from setup_custom_domain or update_site.

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?

Opens with an explicit trigger ('Use this tool when the user wants to stop or allow AI bots...') including quoted user phrasings in English and Japanese, and closes with an exclusions/permission rule ('Change it only when the user asks'). It also names get_domain as the prerequisite when the id or hostname is unknown, and points to Private-link publishing as the alternative when the real goal is keeping a page out of search results.

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.