Skip to main content
Glama

CookiePilot – cookie banner & Consent Mode v2

Add the website to the user's CookiePilot account

add_domain
Idempotent

Adds a website to the confirmed account (setup_token must be ready) and makes it the default for the other tools. Defaults to the website given to create_account. An already added website (also as www. or without it) is returned as is. Fails with an explanation when the plan's website limit is used up.

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": {
      "setup_token": "<setup_token>"
    },
    "name": "add_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostnameNoWebsite hostname, e.g. example.com; defaults to the website added last (or given to create_account)
setup_tokenYessetup_token returned by create_account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / hostname / description
      Previous value: -"Website hostname, e.g. example.com; defaults to the website given to create_account"New value: +"Website hostname, e.g. example.com; defaults to the website added last (or given to create_account)"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds real behavior beyond them: www./non-www normalization, duplicate adds returned as-is, the default-site side effect on other tools, and the plan-limit failure mode. That is precisely the extra context annotations cannot express.

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?

Four short sentences, front-loaded with the action and precondition, each carrying distinct information. The create_account default is repeated from the schema's hostname description, which is mild redundancy but not wasteful.

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 two-parameter mutation with no output schema, the description covers preconditions, idempotency, normalization, side effects, and failure behavior. It omits what a successful new add returns (only the duplicate case is described), which is a small remaining gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds state semantics to setup_token (it must be "ready", not merely present) and restates the hostname fallback chain. It stops short of describing hostname format or validation beyond what the schema's example already shows.

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 ("Adds a website to the confirmed account") plus the non-obvious side effect that the added site becomes "the default for the other tools", which separates it from list_domains and the other siblings. An agent knows exactly what changes in state after calling it.

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 ("setup_token must be ready") and a defaulting rule, which is enough context to know when the tool is callable. It does not explicitly say when to prefer list_domains over adding, nor warn against re-adding, though the idempotency sentence partially covers that.

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