Skip to main content
Glama

Create cookie solution

create_cookie_solution

Create a Cookie Solution for a site. Only one per site; the site must exist first. The snippet attribute in the response is the unified snippet: install it on the website once. Later configuration changes made with update_cookie_solution reach the website without re-installing it, and the snippet itself does not change.

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": {
      "site_id": "<site_id>"
    },
    "name": "create_cookie_solution"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesSite ID
configurationNoCookie Solution configuration. See https://www.iubenda.com/en/help/1205-how-to-configure-your-cookie-solution-advanced-guide/

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / remote_configuration
      Removed value: -{
      -  "description": "Enable or disable remote configuration",
      -  "type": "boolean"
      -}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare non-read-only, non-destructive, non-idempotent, but the description adds context annotations cannot: the one-per-site uniqueness constraint and the lifecycle fact that the returned snippet is unified and stays stable across later update_cookie_solution calls, so it is installed only once. It does not disclose the error behavior on duplicate creation or any permission requirement.

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?

Three sentences, front-loaded with the action and its uniqueness constraint, then the response contract. The snippet-lifecycle explanation is somewhat long but directly serves an agent's decision, so almost nothing is wasted.

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?

With no output schema, the description properly compensates by explaining the snippet attribute in the response and how it interacts with later updates — information an agent cannot get from structured fields. It is still silent on duplicate-creation errors and on how a nested configuration object should be shaped beyond the external link.

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%, with site_id documented and configuration pointing at an external configuration guide, so the schema carries the load. The description adds only the indirect precondition that site_id must reference a pre-existing site; it says nothing about configuration defaults or structure.

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 ("Create a Cookie Solution for a site") and adds cardinality scope ("Only one per site"), which tells an agent this is a singleton-creating operation distinct from update_cookie_solution, get_cookie_solution and delete_cookie_solution.

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 an explicit precondition ("the site must exist first") and routes later changes to update_cookie_solution, which is a clear when-to-use signal. It does not address what to do if a solution already exists, nor whether create_privacy_cookie_policy is the relevant alternative for the policy side.

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