Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Update a site's settings (write)

update_site

WRITE: updates a site — the fields plan tasks of change.type "config" ask for (their change.content is this tool's input): checkout_url, checkout_steps, checkout_pages, test_account { login_url, email, password } (stored encrypted; the response echoes it without the password), name (the merchant name in generated legal copy), platform, jurisdictions, monitoring_interval_minutes, protection_level. The response is the site; check checkout.url / checkout.test_account to confirm. Then verify_task the task that asked for it.

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

Input Schema

NameRequiredDescriptionDefault
nameNoMerchant / brand name (used in generated disclosures).
siteNoSite id (site_…). Optional when the account has exactly one site in this mode; list_sites shows them.
verboseNo
platformNo
checkout_urlNoPage with the Subscribe / Buy button.
test_accountNoA TEST subscriber account the scanner logs in with to try cancelling online (echoed back without the password).
jurisdictionsNo
checkout_pagesNo[{url,plan}] per plan
checkout_stepsNoSteps to reach the purchase button (clicks / fills), as in the API.
protection_levelNoWhich tiers the plan lists: minimum (required only), balanced (default: + recommended suggestions), maximum (+ extras). Ask the human before changing it.
monitoring_interval_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / checkout_pages
      Added value: +{
      +  "description": "[{url,plan}] per plan",
      +  "items": {
      +    "additionalProperties": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "maxItems": 4,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / test_account / required
      Previous value: -[
      -  "login_url",
      -  "email",
      -  "password"
      -]New value: +[
      +  "login_url",
      +  "email"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / test_account / description
      Previous value: -"A TEST subscriber account the scanner logs in with to try cancelling online."New value: +"A TEST subscriber account the scanner logs in with to try cancelling online (echoed back without the password)."
    • addedInput schema / properties / test_account / properties / reactivate_url
      Added value: +{
      +  "description": "Test-only page that re-subscribes the test account.",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
  5. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes beyond the annotations by declaring this is a WRITE with a specific effect set, disclosing the credential-handling behavior (password stored encrypted and not returned), and stating the return shape ("The response is the site") in the absence of an output schema. It does not itself address the non-idempotent hint, but the annotation covers that.

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-loads the mode (WRITE) and the change-type trigger, then lists the mutable fields and the verification step in a tight, scannable order. The single dense paragraph is efficient, though the field list and workflow instructions run together without visual separation.

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 an 11-parameter mutation tool with nested objects and no output schema, it supplies the missing pieces: input provenance, the mutable field set, return shape, sensitive-field handling, and the next workflow step. Remaining gaps are minor (site/verbose parameters, non-idempotency).

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?

The description restates six-plus field names and clarifies the semantics of the nested test_account (login_url, email, password — stored encrypted, echoed back without the password) and of name (merchant name used in generated legal copy). With 64% schema coverage across 11 params, this meaningfully closes gaps for site, verbose, and the plan-driven payload shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with an explicit verb+resource ("WRITE: updates a site") and then enumerates the exact field set, so an agent knows precisely what surface this tool mutates. It does not explicitly contrast itself with create_site or update_setup, so sibling differentiation is only implied through the plan-task framing.

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?

Gives a concrete trigger: it is the tool that serves plan tasks whose change.type is "config", with change.content as the input. It also prescribes the follow-up step (verify_task the task that asked for it). No when-not-to-use guidance, and the overlap with update_setup is unaddressed.

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.