Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Publish renewal terms to the Shopify app block (write)

publish_shopify_terms
Idempotent

WRITE (admin key). Shopify store linked through the Checkbox Shopify app (get_site_status: shopify.connection "app"): publishes the engine-verified renewal terms + consent label for the site's real plan to the Checkbox app block. Read-only on the store except that app-owned metafield (no theme/product/checkout edits); safe to repeat. The merchant still places the "Renewal terms + consent" block once: give them theme_editor_url from the result. Then verify_site. shopify_not_connected: only the merchant can install the app in Shopify and click "Connect to Checkbox". terms_incomplete: follow next_action.

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": {
      "site": "<site>"
    },
    "name": "publish_shopify_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoPlan / price id (default: detected).
siteYesSite id (site_…); list_sites shows them.
verboseNo
cancel_urlNoCancellation URL to state (default: detected).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations: it names the auth level (admin key), delineates the exact write scope (app-owned metafield only, no theme/product/checkout edits), confirms repeat safety, and discloses the human-in-the-loop step (merchant must place the block once). It also surfaces two named failure modes with next_action, which annotations alone 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-loads 'WRITE (admin key)' and breaks content into scoping, next-step, and error sentences, so an agent can act on the first clause. Slightly dense with internal jargon ('engine-verified', error-code lists) for the space used.

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 mutation tool with no output schema, it covers preconditions, side effects, manual follow-up, and error branches, and even leaks the key result field (theme_editor_url). The missing piece is what the rest of the response contains and how to interpret verify_site results beyond 'then verify_site'.

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 75% and already documents site, plan and cancel_url defaults ('default: detected'). The description adds only the notion of publishing 'for the site's real plan', and leaves the undocumented 'verbose' flag entirely unexplained. Baseline 3 is appropriate when the schema carries most of the load.

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 object: publishes engine-verified renewal terms plus consent label for the site's real plan into the Checkbox app block. It scopes the write precisely ('read-only on the store except that app-owned metafield') so an agent can distinguish it from sibling read tools like get_site_status or verify_site.

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 clear precondition (store linked through the Checkbox Shopify app, checked via get_site_status), a post-step sequence (give merchant theme_editor_url, then verify_site), and explicit routing for shopify_not_connected and terms_incomplete. It does not point at setup_checkbox or any alternative for the unconnected case, so the alternative-path guidance is incomplete.

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.