Skip to main content
Glama

Generate a Hu-manity consent-banner preview snippet

demo.generateSnippet

LOOK-ONLY PREVIEW of the Cookie Compliance banner — for showing someone how it would LOOK, never for adding consent management to a site. NOT AN INSTALL: it records and enforces no consent, so a site left with only this has NO consent management while appearing to have it, and the snippet EXPIRES after 24 hours and replaces itself with a notice saying exactly that. Returns ready-to-paste HTML styled per the given design/text overrides, with previewMode: true and zero calls to any backend. To actually add consent management to a site use install.getSnippet (needs an AppID) or help.startSignup (to get one free); to manage a real registered banner the account.* tools need an authenticated connection — call help.explainTokenSetup. Never accepts a real appID and never emits previewMode: false.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoPartial overrides of huOptions.text.en.
designNoPartial overrides of huOptions.design (see help.explainConfigKey for valid keys).
blockingNo
globalCookieNo
currentLanguageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / design / description
      Previous value: -"Partial overrides of huOptions.design (see demo.explainConfigKey for valid keys)."New value: +"Partial overrides of huOptions.design (see help.explainConfigKey for valid keys)."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and delivers richly. It discloses that no consent is recorded or enforced, that the snippet expires after 24 hours and replaces itself with a notice, that previewMode is always true with zero backend calls, and that it never emits previewMode: false. This goes far beyond what annotations could have provided.

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 description is long but information-dense, with the key warning front-loaded ('LOOK-ONLY', 'NOT AN INSTALL'). There is some redundancy between 'records and enforces no consent' and the installation warning, but every major piece of guidance earns its place.

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?

Without an output schema, the description still tells the agent the return type (ready-to-paste HTML) and the previewMode: true behavior. It gives sufficient context for safe use, though the undocumented blocking and globalCookie parameters remain a small gap for a tool with nested objects.

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 40%, so the description must compensate. It clarifies that design/text overrides map to huOptions.design and huOptions.text.en, but it does not explain the semantics of blocking, globalCookie, or currentLanguage. The description adds meaning for two of five parameters but leaves the others to schema name alone.

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 'LOOK-ONLY PREVIEW of the Cookie Compliance banner', giving a specific verb, resource, and scope. It distinguishes itself from install.getSnippet by explicitly stating it is 'NOT AN INSTALL' and never emits previewMode: false, so an agent can tell it apart from its siblings.

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?

Usage is spelled out explicitly: it is for previewing how the banner would LOOK, not for adding consent management. It names the exact alternatives (install.getSnippet, help.startSignup, account.* tools, help.explainTokenSetup) and gives exclusion conditions like 'Never accepts a real appID'.

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