Skip to main content
Glama

Submit a cookie check

submit_check

Stores the result of a local check started with plan_check and returns it with a summary by category. Send each cookie with its category from @cookiepal-oss/cookie-db (necessary, functional, analytics, performance, advertisement or other) and its attributes, never its value. Include consent when the check pressed accept and reject, so the result says what survived an explicit reject. When no banner was found the result carries noBannerSeenFrom, the country the page was loaded from: a site that shows its banner only in other regions is indistinguishable from one with no banner, so that reading is inconclusive, not evidence that the site has no banner. Each check ID can be submitted once. The local run this needs is made only by the CookiePal plugin in a coding agent on the user’s own computer: Claude Code, Codex or Cursor. claude.ai, Claude Code on the web and other cloud agents run in the cloud, so they cannot make it, and a crawler or browser run anywhere else does not stand in for it. The result reports what was found. It does not assess whether a site, page or banner complies with any law, so it is never a verdict of compliant or non-compliant.

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": {
      "checkId": "<checkId>",
      "resultVersion": "<resultVersion>",
      "cookies": "<cookies>",
      "thirdPartyHosts": "<thirdPartyHosts>"
    },
    "name": "submit_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkIdYesThe check ID plan_check returned.
consentNoWhat changed after accept and after reject. Omit it when the plugin did not run the consent action; the check is then an arrival-only reading.
cookiesYes
truncatedNoTrue when the skill dropped cookies or hosts to fit the limits.
resultVersionYes
thirdPartyHostsYes

Output Schema

NameRequiredDescriptionDefault
pageYes
checkIdYes
consentYes
cookiesYes
countryYes
summaryYes
checkedAtYes
truncatedYes
resultVersionYes
thirdPartyHostsYes
noBannerSeenFromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses the privacy rule (send attributes, never cookie values), the one-time submission behavior that explains idempotentHint=false, and the interpretive caveat that a noBannerSeenFrom result is inconclusive rather than proof of no banner. It also rules out a compliance verdict, which prevents a common misreading of the output.

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?

Rules are front-loaded in a logical order: storage, payload shape, consent, noBannerSeenFrom caveat, one-shot limit, environment, disclaimer. There is some filler, notably the circular phrasing that cloud agents 'run in the cloud', which repeats the same exclusion twice.

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 deeply nested six-parameter write tool the description covers the input contract and the interpretive traps that matter most, and the output schema handles return values. What is missing is why thirdPartyHosts is required and what resultVersion/truncated mean, which an agent assembling a payload would still want.

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?

The description explains checkId's source, the cookie category vocabulary and attribute-only rule, and when consent may be omitted, which matches the schema's own consent description. However, thirdPartyHosts (a required parameter), resultVersion, and truncated receive no explanation in either place, leaving real gaps at 50% schema coverage.

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 a specific verb and resource: it stores the result of a local check started with plan_check and returns it with a category summary. Naming plan_check as the predecessor cleanly separates it from siblings like classify_cookies or get_scan_report.

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?

It states the precondition (a local check from plan_check), the one-shot constraint (each check ID can be submitted once), and explicitly excludes environments that cannot produce the input: cloud agents, claude.ai, Claude Code on the web, and crawlers. The when-not guidance is concrete and unusual in how specific it is.

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