Skip to main content
Glama

Rebuild the banner

regenerate_banner
DestructiveIdempotent

Queues a rebuild of the cookie banner script for one of your CookiePal domains, so it picks up the settings saved for it. It changes no setting and works on one domain only. If the domain has reached its page-view limit nothing is rebuilt, and the result says so.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "regenerate_banner"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainIdNoWhich domain to rebuild. Omit it for the account’s default domain.

Output Schema

NameRequiredDescriptionDefault
messageYes
rebuildYes
domainIdYes
bannerEnabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the rebuild is queued rather than synchronous, it is scoped to a single domain, and the page-view-limit condition causes a no-op that is reported in the result. What it does not reconcile is why destructiveHint=true when the description insists it 'changes no setting' — an agent could reasonably wonder whether the published script is replaced or lost.

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 short sentences, front-loaded with the action and scope, followed by the non-effect and the failure mode. Nothing is padded or repeated.

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?

An output schema exists, so the description need not explain return values, and it already notes that a skipped rebuild is reported. The remaining gap is the unaddressed destructiveHint, which is meaningful for a tool that publishes a live script.

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 coverage is 100% and the domainId property already documents omission for the default domain. The description only reinforces single-domain scope without adding format or default behavior beyond the schema, so the baseline 3 applies.

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 (queues a rebuild) and resource (the cookie banner script) with explicit scope ('for one of your CookiePal domains') and purpose ('picks up the settings saved for it'). The clause 'It changes no setting' cleanly separates it from customise_banner and set_banner_mode.

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?

Tells the agent when this is needed (after settings are saved, to have them take effect) and gives implicit exclusions ('changes no setting', 'one domain only'). It does not name the sibling to use for actually editing settings, so the routing is inferable rather than explicit.

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