Skip to main content
Glama

Add a flow check

add_flow_check
Destructive

Watch a flow that makes money: a real browser walks the steps on a schedule and alerts when one breaks (confirmed by a rerun). Step 1 opens a page on the app's own domain. A checkout flow ends with expect_checkout and never pays. Counts toward the plan's flows. Needs write access.

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": {
      "app": "<app>",
      "name": "<name>",
      "steps": "<steps>"
    },
    "name": "add_flow_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
kindNocheckout, signup, login or customcustom
nameYesLike “Checkout” or “Sign up”
stepsYesIn order, e.g. [{action:"open",url:"/pricing"},{action:"click",text:"Start on Pro"},{action:"expect_checkout",price:"$29"}]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the mutation profile is known; the description still adds real value beyond that: the check runs on a schedule in a real browser, alerts are confirmed by a rerun, the checkout flow never actually pays, and it consumes a slot in the plan's flow quota. It stops short of saying what happens on quota exhaustion or what the response returns.

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?

Dense and front-loaded, with the core behavior in the first sentence and constraints following. The opening phrase 'Watch a flow that makes money' is a bit of flourish, but the rest of the text earns its place.

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 100% schema coverage, no output schema, and annotations covering the write/destructive profile, the description supplies the missing operational context: scheduling, alert confirmation, auth requirement, and quota consumption. A note on what the tool returns or on how it differs from add_check would make it complete.

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 100%, so the baseline is 3. The description adds sequencing semantics the schema does not spell out (the first step must open a page on the app's own domain; a checkout flow terminates with expect_checkout and must not complete payment), but it leaves the kind/name/secret fields entirely to the schema.

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 description states a specific action (set up a scheduled synthetic browser check that walks a flow's steps and alerts on failure) and pins down scope: flow begins with an open on the app's own domain and checkout flows end with expect_checkout. It does not explicitly name a sibling such as add_check to distinguish a flow check from an uptime check, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Useful constraints are given (needs write access, counts toward the plan's flows, checkout flows must end with expect_checkout, step 1 must open on the app's own domain), which tell an agent when the tool is appropriate. However, there is no explicit comparison to alternatives like add_check or update_flow_check, and no statement about when not to use it.

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.

Resources