Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Get a test run (steps, observations, fixes)

get_test_run
Read-onlyIdempotent

A synthetic test subscription with every step (checkout, acknowledgment email, reminders at each legal window, cancellation, confirmation): what was observed, check results, evidence ids and fixes. While running, next_action.type is "wait" and waiting_for says what it waits for: pass wait: 45 to get the answer as soon as the run finishes (one or two calls per run). When finished, apply the fixes (usually via get_compliance_plan) and start another run to verify. Without test_run, returns the newest run of the site.

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_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite id (site_…). Optional when the account has exactly one site in this mode; list_sites shows them.
waitNoSeconds to wait for the run to finish before answering (0-45; larger values wait 45). Answers at once when it finishes.
verboseNo
test_runNoTest run id (run_…). Default: the newest run of the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / wait / description
      Previous value: -"Seconds to wait for the run to finish before answering (0-55; larger values wait 55). Answers at once when it finishes."New value: +"Seconds to wait for the run to finish before answering (0-45; larger values wait 45). Answers at once when it finishes."
  2. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / wait / description
      Previous value: -"Long-poll: wait up to this many seconds for the run to move on before answering."New value: +"Seconds to wait for the run to finish before answering (0-55; larger values wait 55). Answers at once when it finishes."
    • removedInput schema / properties / wait / maximum
      Removed value: -30
  4. Changed1 schema field changed
    • addedInput schema / properties / wait
      Added value: +{
      +  "description": "Long-poll: wait up to this many seconds for the run to move on before answering.",
      +  "maximum": 30,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the extra context here is genuine added value: the next_action.type/waiting_for state machine, the intended one-or-two-call polling cadence, and the default-to-newest-run behavior. It stops short of describing what happens if the run errors or how long runs typically take.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

No sentence is padding — each one carries polling, routing, or default behavior — but the opening is a verbless fragment that is noticeably harder to parse than the clean declarative sentences that follow. Reordering so the action comes first would make it front-loaded.

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 no output schema, the description must carry the return shape, and it does: steps, observations, check results, evidence ids, fixes, plus next_action.type and waiting_for while running. The one gap is the verbose parameter, which has no description in the schema and is not explained here, so its effect is unknown.

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 75% and the schema already documents site, wait, and test_run, so the baseline would be 3. The description earns the extra point by giving the wait parameter purpose (pass 45 to get the answer the moment the run finishes, capping at 45) and by restating the test_run default in operational terms.

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?

The title plus the opening enumeration (checkout, acknowledgment email, reminders, cancellation, confirmation; observations, check results, evidence ids, fixes) makes clear this retrieves one synthetic test run with its full step-by-step detail. It is distinguishable from start_test_run and get_compliance_plan. It falls short of 5 only because the first sentence is a noun phrase with no verb, so the agent has to infer 'returns' rather than read it.

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?

Strong routing: it tells the agent to poll with wait: 45 while next_action.type is "wait" (one or two calls per run), to apply fixes via get_compliance_plan once finished, then to start another run to verify, and that omitting test_run yields the newest run. What's missing is an explicit 'when not to use this' or a note about whether to prefer list-style siblings over repeated polling.

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.