Skip to main content
Glama

Add an extra check

add_check
Destructive

Check another URL next to the main one, on the same schedule and two-of-three-regions rule: an API, a health endpoint, the checkout. Up to 3 extra per app on Starter, 10 on Builder and Pro. Returns the check id and whether it passes now. 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>",
      "url": "<url>"
    },
    "name": "add_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
urlYesFull public URL, or a path on the app like /api/health
bodyNoPOST only: the request body, sent as-is (JSON must parse)
nameYesLike “Checkout API” or “Health”
methodNoDefault GET
enabledNoDefault true
headersNoExtra request headers, e.g. { "Authorization": "Bearer …" }. Saved encrypted and never shown again. On update, replaces all saved headers; leave out to keep them.
json_pathNoJSON field that must exist, like status or checks[0].ok
expect_textNoText the response must contain, from one line of the page
json_equalsNoValue json_path must equal (true, 42, "ok")
content_typeNoPOST only: default application/json
expect_statusNoExact status code that counts as up, e.g. 200. Omit: any 2xx or 3xx.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true; the description adds genuinely new context: the sharing of the main check's schedule, the 'two-of-three-regions' verification rule, per-plan quotas, the write-access requirement, and the return payload (check id + current pass state). It says nothing about what happens on quota exhaustion or how failures surface, so it goes beyond the annotations but not far.

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 action and scope, followed by limits, return value and access requirement. The 'an API, a health endpoint, the checkout' illustration is slightly decorative but earns its place by showing typical use.

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 12-parameter mutation tool with nested header objects and no output schema, the description supplies the missing return shape, quota ceilings and auth requirement. Remaining gaps (error behavior when limits are hit, interaction with the main check's monitoring) are minor but present.

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 description coverage is 100%, so every one of the 12 parameters is already documented in the schema, including method, headers, json_path and expect_status. The description adds only indirect meaning ('same schedule', example URL kinds) and no parameter-level guidance, which is the correct baseline of 3.

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?

States a concrete verb and resource: adds an extra URL check alongside the app's main check, with examples ('an API, a health endpoint, the checkout'). An agent can tell this creates a new check rather than updating one, though it never names update_check or add_flow_check as the alternative.

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 when-to-use context ('check another URL next to the main one'), plus plan-based limits (3 on Starter, 10 on Builder/Pro) and a write-access prerequisite. It stops short of explicit exclusions, e.g. that existing checks should be changed with update_check.

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