Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Get the compliance plan (ordered tasks)

get_compliance_plan
Read-onlyIdempotent

The main tool after setup. Returns the ordered tasks that make the site pass the automatic-renewal checks, recomputed from the latest observations. Each task here is a summary (id, status, why, where, change type, next_action); get_task has the full change (diff, copy or Stripe params) and its legal citation. Plan status: action_required (apply open tasks), verifying (waiting for confirming observations), checks_pass (done: the checks pass — "pending_live_check" tasks count as passing: they complete on their own or with a proof run; verbose JSON also has the legacy status value "compliant": never say "compliant"), blocked (only human questions — "Your call" — left). Only launch_tier "before_launch" tasks count; "good_practice" ones are optional (mention once, do not push). Show launch.label. Loop: apply the first open required task in the code → verify_task → get_compliance_plan → … until the checks pass (status checks_pass). Tasks with status "manual" carry a question with a recommended answer: ask the HUMAN, then answer_task. Never invent answers.

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

Input Schema

NameRequiredDescriptionDefault
siteNoSite id (site_…). Optional when the account has exactly one site in this mode; list_sites shows them.
verboseNotrue: full JSON

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / verbose / description
      Previous value: -"true: the full JSON object."New value: +"true: full JSON"
  2. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "description": "true: the full JSON object.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/non-destructive; the description adds the material behavior: results are recomputed from the latest observations, each task is a summary with a named field set, and the four plan statuses are defined with what each implies for the agent. It also discloses the 'pending_live_check counts as passing' nuance and the legacy 'compliant' string, which annotations cannot convey.

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 purpose, then the sibling split, then status semantics, then the workflow loop — a sensible order with no filler sentences. It is dense and packs agent-facing directives ('never say compliant', 'mention once, do not push') alongside behavior, which slightly blurs spec and instruction, but each line carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the return-value burden and does: it enumerates the task summary fields (id, status, why, where, change type, next_action) and defines every plan status. For a two-parameter read tool with full annotation coverage, nothing an agent needs to call it or interpret the response is missing.

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 100%, so baseline is 3, but the description goes beyond it by explaining what verbose unlocks ('verbose JSON also has the legacy status value "compliant"') and by framing the site parameter's optionality through the single-site mode referenced in the schema. That is real added meaning, though it is limited to the verbose flag.

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 and resource (returns the ordered tasks that make the site pass automatic-renewal checks) and explicitly distinguishes itself from get_task, which 'has the full change (diff, copy or Stripe params) and its legal citation.' An agent can tell the summary view apart from the detail view without opening either schema.

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?

Explicitly positions itself as 'the main tool after setup,' gives a concrete loop (apply first open required task → verify_task → get_compliance_plan), and routes edge cases to the right siblings: get_task for diffs, answer_task for 'manual' status questions. It also states an exclusion — 'good_practice' tasks are optional and should not be pushed.

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.