Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Verify a task after applying its change

verify_task
Idempotent

Call right after you applied a task's change. Checkbox runs the fastest re-check that can confirm it and queues the confirming observation (a scan, a billing sync, the next real email). Send what you changed so the pre-check is exact and immediate:

  • sign-up page tasks (verify.method page_fetch, or signup.* checks): html = the rendered page HTML (before or after deploy; ≤ ~900 KB). Without it Checkbox fetches the live page. Other page tasks (cancellation, account page) take no html: deploy, then verify without it.

  • Stripe tasks: stripe_checkout_session = exactly the object your code now passes to stripe.checkout.sessions.create.

  • email tasks: email = { subject, text and/or html } of the new template. Result: verification status passed / needs_review / failed (with a diff of expected vs observed) / pending (waiting for the confirming scan). Waits up to wait seconds. Then follow next_action (usually get_compliance_plan). Status needs_review: nothing failed, but a check is still undecided; it is not done: follow next_action. "informational" checks are notes on Stripe's own layout: nothing to 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": {
      "task": "<task>"
    },
    "name": "verify_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoSign-up page tasks: the rendered page HTML.
planNoEmail/Stripe tasks: only this plan (name).
taskYesTask id (task_…).
waitNoSeconds to wait for the result before answering (0-30; larger values wait 30; default 25). Use 0 to return at once and poll later.
emailNoEmail tasks: the new template (passes when it matches one plan fully).
recheckNoNot needed: a done task is always re-checked now; one closed with nothing observed passing is not_checked.
verboseNo
price_idNoEmail/Stripe tasks: only this plan (Price id).
stripe_checkout_sessionNoStripe tasks: the params your code passes to stripe.checkout.sessions.create.
stripe_checkout_sessionsNoStripe tasks, one params object per plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / html / description
      Previous value: -"Page tasks: the rendered page HTML."New value: +"Sign-up page tasks: the rendered page HTML."
  2. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / plan / description
      Previous value: -"Email tasks: only this plan (name)."New value: +"Email/Stripe tasks: only this plan (name)."
    • changedInput schema / properties / price_id / description
      Previous value: -"Email tasks: only this plan (Price id)."New value: +"Email/Stripe tasks: only this plan (Price id)."
  4. Changed1 schema field changed
    • changedInput schema / properties / recheck / description
      Previous value: -"true re-checks a task that is already done (evaluates again now and queues a scan) instead of returning its last result."New value: +"Not needed: a done task is always re-checked now; one closed with nothing observed passing is not_checked."
  5. Changed1 schema field changed
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +true
  6. Changed4 schema fields changed
    • changedInput schema / properties / email / description
      Previous value: -"Email tasks: the new template."New value: +"Email tasks: the new template (passes when it matches one plan fully)."
    • addedInput schema / properties / plan
      Added value: +{
      +  "description": "Email tasks: only this plan (name).",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / price_id
      Added value: +{
      +  "description": "Email tasks: only this plan (Price id).",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / stripe_checkout_sessions
      Added value: +{
      +  "description": "Stripe tasks, one params object per plan.",
      +  "items": {
      +    "additionalProperties": {},
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  7. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover safety/idempotency (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the description's added value is the async behavior: it 'queues the confirming observation,' may return pending, and 'Waits up to `wait` seconds.' It also explains fallback behavior (live page fetch when html is absent) and the meaning of needs_review and informational checks. Minor gap: no mention of rate limits or cost of repeated calls.

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 trigger sentence, then bulleted per-task-type guidance, then result statuses — a structure an agent can scan. It is dense but nearly every clause carries conditional information; the '≤ ~900 KB' restates schema maxLength and is the only clearly redundant bit.

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 10 parameters, nested objects, and no output schema, the description carries the burden of explaining returns — and it does, enumerating passed/needs_review/failed/pending with diff semantics and the wait behavior. Gaps remain around the multi-plan stripe_checkout_sessions array and the plan/price_id selectors, which an agent could mismanage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 90%, so the baseline is 3; the description earns more by mapping parameters to task types and adding conditional meaning the schema lacks, e.g. html may be before or after deploy and is omitted for cancellation/account tasks, and stripe_checkout_session must be 'exactly the object your code now passes.' It does not cover plan, price_id, stripe_checkout_sessions (multi-plan) or verbose.

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?

Opens with a specific verb, resource and trigger: 'Call right after you applied a task's change' and 'Checkbox runs the fastest re-check that can confirm it and queues the confirming observation.' This distinguishes it from static-check siblings like check_page_html or check_stripe_checkout_session, which inspect artifacts rather than verify an applied task.

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?

Gives explicit when-to-use timing, then branches by task type (sign-up page tasks pass html; cancellation/account page tasks take no html, deploy first; Stripe and email tasks pass specific objects). It also states the follow-up flow: 'Then follow next_action (usually get_compliance_plan)' and clarifies that needs_review is not done.

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.