Skip to main content
Glama

Get custom domain settings

get_domain
Read-onlyIdempotent

Use this tool when the user asks which custom domains (独自ドメイン) their workspace has, how many pages one serves, or whether AI bots may read their site (ホームページ, Webサイト, ランディングページ): ChatGPT, Claude, Perplexity, AI 学習, AI 検索.

Returns each custom domain's id, hostname, status, how many of this workspace's pages it serves, and its two AI-bot switches:

  • allowAiAnswerBots: OAI-SearchBot, Claude-SearchBot, PerplexityBot, DuckAssistBot, and the fetchers that open a page because a person asked (ChatGPT-User, Claude-User, Perplexity-User).

  • allowAiTrainingBots: GPTBot, ClaudeBot, CCBot, Bytespider, Google-Extended, Applebot-Extended. Both are true unless the owner turned them off. Pass domain (its id or hostname) for one domain; leave it out to list them all. Pages on {name}.convika.page have no settings here. Free and paid plans alike.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoThe domain's id or hostname, such as www.example.com. Leave out to list all.

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.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it explains the defaults (both switches true unless the owner turned them off), exactly which crawler families each switch governs, an exclusion rule for convika.page subdomains, and that the behavior is identical on free and paid plans. That is substantive semantic context an agent could not infer from structured fields alone.

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 structure is well front-loaded: trigger conditions first, then return shape, then parameter behavior, then caveats. The bulleted crawler lists are verbose but earn their place by defining the two switches; the parenthetical multilingual synonyms add bulk, though they plausibly aid matching.

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, so the description carries the burden of describing return values and does so field by field. All parameters, the single optional one included, are covered, and edge cases (subdomain pages, plan availability, default flag values) are disclosed, leaving nothing an agent needs to call this correctly.

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 'id or hostname' and the leave-out-to-list-all behavior. The description repeats that guidance in nearly identical terms without adding new syntax, format, or validation detail, so the baseline of 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?

The description names a specific verb and resource (retrieve custom domain settings) and enumerates exactly what comes back: id, hostname, status, pages served, and the two AI-bot switches. It also scopes itself away from subdomains by noting that pages on {name}.convika.page have no settings here, though it never names a sibling such as get_domain_status or get_ai_access, leaving some overlap unaddressed.

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?

It gives concrete triggering conditions - when the user asks which custom domains exist, how many pages one serves, or whether AI bots may read the site - which is real when-to-use guidance. It stops short of naming an alternative tool or stating when another domain tool should be preferred instead.

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.