Skip to main content
Glama

Get cookie solution

get_cookie_solution
Read-only

Get the Cookie Solution for a site. The snippet attribute shows whether the site uses the unified snippet: one script tag with /widgets/ in its src (install it once; later configuration changes need no re-install). Any other shape means the site has not switched to the unified snippet yet.

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

Input Schema

NameRequiredDescriptionDefault
site_idYesSite ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly and non-destructive, but the description goes further by explaining how to interpret the returned snippet attribute and what other shapes mean. That is genuine behavioral context not available from annotations or schema, though it says nothing about auth or error behavior.

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 core action in the first sentence, then a focused explanation of the snippet field. The parenthetical about install-once is relevant and compact, with no filler.

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 usefully interprets the most semantically loaded return field, which is exactly the gap it should fill for a simple getter. It remains silent on the other returned fields and permissions, so it is strong but not exhaustive.

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?

Single parameter site_id is fully described in the schema at 100% coverage, so the description adds no parameter detail and does not need to. Baseline 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?

Names a specific verb (Get) and resource (Cookie Solution) scoped to a site, which clearly separates it from create/update/delete_cookie_solution siblings. It does not explicitly call out the read-only sibling relationship, so it stops just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the read semantics; there is no explicit statement of when to fetch this versus calling update_cookie_solution or another getter. No prerequisites or exclusions are given.

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