Skip to main content
Glama

cromanion_claim_domain

DestructiveIdempotent

Claim another host for this site so its traffic counts, or give one up with remove: true. A DIFFERENT registrable domain must be proven on its own — publish this claim's challenge there too, then call again. Subdomains need no call at all: a claimed domain already covers them. Needs the site-config permission.

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": "cromanion_claim_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesA public hostname, e.g. shop.example.com.
removeNoGive the host up instead. Needs no proof — it only narrows what we listen to.
siteIdNoWhich site this call is about. Only needed when your credential covers more than one — cromanion_grants lists them and says whether it is required. Omitting it with several is refused rather than guessed at.

Output Schema

NameRequiredDescriptionDefault
okYes
noteNoPresent when nothing changed, saying why — usually that a claimed domain already covers this subdomain, or that the host to give up was never claimed.
addedNoFalse when the host was already covered — not a failure.
changedNoPresent, and false, when a removal was asked for a host the site was not listening on. Nothing was removed and nothing was recorded.
claimedYesEvery host this site now listens to, after the change. The answer, whichever branch ran.
removedNoPresent on a removal: the host given up. Absent when the site was not listening on it.
provedByNoPresent when a fresh proof was read, which a different registrable domain requires.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / changed
      Added value: +{
      +  "description": "Present, and false, when a removal was asked for a host the site was not listening on. Nothing was removed and nothing was recorded.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / note / description
      Previous value: -"Present when nothing changed, saying why — usually that a claimed domain already covers this subdomain."New value: +"Present when nothing changed, saying why — usually that a claimed domain already covers this subdomain, or that the host to give up was never claimed."
    • changedOutput schema / properties / removed / description
      Previous value: -"Present on a removal: the host given up."New value: +"Present on a removal: the host given up. Absent when the site was not listening on it."
  2. Changed1 schema field changed
    • addedInput schema / properties / siteId
      Added value: +{
      +  "description": "Which site this call is about. Only needed when your credential covers more than one — cromanion_grants lists them and says whether it is required. Omitting it with several is refused rather than guessed at.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "added": {
      +      "description": "False when the host was already covered — not a failure.",
      +      "type": "boolean"
      +    },
      +    "claimed": {
      +      "description": "Every host this site now listens to, after the change. The answer, whichever branch ran.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "note": {
      +      "description": "Present when nothing changed, saying why — usually that a claimed domain already covers this subdomain.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "provedBy": {
      +      "description": "Present when a fresh proof was read, which a different registrable domain requires.",
      +      "enum": [
      +        "well_known",
      +        "meta_tag",
      +        "dns_txt",
      +        "account_holder"
      +      ],
      +      "type": "string"
      +    },
      +    "removed": {
      +      "description": "Present on a removal: the host given up.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "claimed"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, openWorld=true, so safety is partly covered; the description adds substantial context beyond them: the site-config permission requirement, the external proof obligation before a claim succeeds, and the fact that removal requires no proof because it only narrows listening scope. What it does not disclose is failure behavior for a contested or previously claimed domain, which keeps it at 4 rather than 5.

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?

Three dense sentences, front-loaded with the primary action and the removal alternative, then the proof requirement, then the blanket subdomain exclusion. Every clause carries operational information; nothing is padded or redundant.

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?

With an output schema present, return values need not be explained, and the description covers the remaining burdens: permission prerequisite, verification flow, subdomain exemption, and conditional siteId handling via the schema. An agent has everything needed to decide and invoke 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 description coverage is 100% and all three parameters are documented inline, including the conditional siteId rule, so the baseline 3 applies. The description repeats 'remove: true' from the schema but adds no format, constraint, or edge-case detail for 'domain' beyond what the schema already says.

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?

The description opens with a specific verb+resource ('Claim another host for this site') and immediately covers the inverse operation ('give one up with remove: true'), so an agent knows both the add and remove semantics of this single tool. It also carves out the scope boundary that a claimed domain covers subdomains, which prevents over-calling relative to tools like cromanion_open_claim.

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?

It gives explicit when-to-use guidance (a DIFFERENT registrable domain needs claiming), explicit when-not-to-use guidance (subdomains need no call at all), and the prerequisite step ('publish this claim's challenge there too, then call again'). That is a rare complete decision rule, including the two-pass flow an agent must follow.

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