Skip to main content
Glama

Create check

create_check

Create a new monitoring check and return it (uid, slug, placement, resolved periods). If you don't know what config shape a given type expects, call list_check_types with type first to fetch a working starting config, then use validate_check to dry-run before creating. An enabled check starts running on its next tick and opens an incident after its confirmation period; pass enabled:false to create it paused. A duplicate slug is rejected with a conflict, never merged — use update_check to change an existing check. Counts against the organization's MaxChecks quota (an over-quota create is refused); reversible with delete_check. Requires the mcp scope (mcp:read tokens are refused) and at least the user role in the organization.

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": {
      "config": "<config>"
    },
    "name": "create_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoHuman-readable name, e.g. "API production". Auto-generated from URL if omitted.
slugNoURL-friendly slug (3-20 lowercase letters/digits/hyphens), e.g. "api-prod". Auto-generated if omitted.
typeNoCheck type. Allowed: http, tcp, icmp, dns, heartbeat, email, domain, ssl, smtp, udp, ssh, pop3, imap, websocket, postgresql, ftp, sftp, js, mysql, redis, mongodb, mssql, oracle, clickhouse, grpc, kafka, mqtt, a2s, minecraft, rabbitmq, snmp, docker, browser, freebox_line, dnsbl, sip, kubernetes, ntp, rdp, vnc, prometheus, private-location, crawl, health, vendor-status. Inferred from config if omitted.
configYesCheck-specific config. Shape depends on type. Example for http: {"url": "https://example.com", "method": "GET"}. Use list_check_types with type to discover the shape for other types.
labelsNoKey-value labels for organization and filtering, e.g. {"env":"production","team":"api"}.
periodNoCheck interval as HH:MM:SS, e.g. "00:00:30" for 30 seconds, "00:01:00" for 1 minute (default).
enabledNoWhether the check should run. Default true.
regionsNoRegion slugs to pin the check to, e.g. ["eu-west-1","us-east-1"]. An explicit list means placement "pinned": the check runs from exactly these regions and is never moved. When omitted, the check is placed automatically (placement "auto"): the scheduler picks regionCount healthy regions from the org's default_regions, then the system default, then every other declared region, and moves the check off a region that goes dark. (An org whose own default_regions names a private location keeps pinned checks on those defaults.)
placementNo"pinned" or "auto". Omit to infer it: regions given means pinned, otherwise auto. "auto" cannot be combined with regions. Private (@) regions are pinned-only.
failQuorumNoMulti-region quorum: how many of the check's regions must be failing, for the confirmation period, before it is down and an incident opens. "all", "majority" or a whole number such as "2" (clamped to the region count). The default is all regions for 1-2 regions and a majority for 3+. Fewer failing regions than the quorum is a "regional issue": the check shows warning and no incident opens. "all" keeps the per-result rule: any passing region resets the confirmation. Omit for the default.
regionPoolNoAutomatic placement only: the cloud region slugs the scheduler may choose from, e.g. ["paris","gravelines"]. Omit for any cloud region. Implies placement auto.
descriptionNoFree-text description shown in the UI.
regionCountNoAutomatic placement only: how many regions run the check (default 2, capped by the eligible regions and the org's checks-per-minute limit; the response carries a PLACEMENT_REGION_COUNT_REDUCED warning when reduced). Implies placement auto.
checkGroupUidNoAssign the check to a check group (UID or slug), e.g. "core-services".
sealedSecretsNoCheck secrets sealed for the org's agents (private regions only): {"keys":["basicAuth"],"fingerprints":["…"],"ct":"<base64 age file>"}. Fetch the recipients from GET /api/v1/orgs/{org}/sealing-recipients and seal with the age CLI or dash0. Prefer it to plaintext secrets: an org in browser sealing mode `required` refuses plaintext ones. Seal a `_binding` (type and target digest) next to the secrets and send "bound":true, or use `solidping seal --type --config-json`: the agents refuse the secrets once the check's URL, host or port changes (409 SEALED_TARGET_CHANGED).
recoveryPeriodSecondsNoWall-clock seconds the check must stay UP before auto-resolving an incident. Any failure inside the window resets the recovery clock. 0 = resolve immediately. Range 0–86400. Default 120.
confirmationPeriodSecondsNoWall-clock seconds to wait after the first failure before opening an incident. 0 = open immediately on the first failure. Range 0–86400 (one day). Default 120.

Output Schema

NameRequiredDescriptionDefault
uidYesCheck UID.
nameNoHuman-readable name.
slugNoURL-friendly slug.
typeNoCheck type, e.g. "http".
configNoCheck-specific configuration for the type.
labelsNoKey-value labels.
periodNoCheck interval as HH:MM:SS.
statusNoSynthesized status: up, down, validating, created or degraded.
enabledNoWhether the check runs.
regionsNoRegions the check runs from.
createdAtNoRFC3339 creation timestamp.
placementNo"pinned" or "auto".
descriptionNoFree-text description.
lastResultAtNoRFC3339 timestamp of the newest real result.
checkGroupUidNoCheck group UID, when the check belongs to a group.
statusChangedAtNoRFC3339 timestamp of the last status change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sealedSecrets
      Added value: +{
      +  "description": "Check secrets sealed for the org's agents (private regions only): {\"keys\":[\"basicAuth\"],\"fingerprints\":[\"…\"],\"ct\":\"<base64 age file>\"}. Fetch the recipients from GET /api/v1/orgs/{org}/sealing-recipients and seal with the age CLI or dash0. Prefer it to plaintext secrets: an org in browser sealing mode `required` refuses plaintext ones. Seal a `_binding` (type and target digest) next to the secrets and send \"bound\":true, or use `solidping seal --type --config-json`: the agents refuse the secrets once the check's URL, host or port changes (409 SEALED_TARGET_CHANGED).",
      +  "type": "object"
      +}
  2. Changed8 schema fields changed
    • addedInput schema / properties / checkGroupUid / maxLength
      Added value: +2048
    • addedInput schema / properties / description / maxLength
      Added value: +2048
    • addedInput schema / properties / failQuorum / maxLength
      Added value: +2048
    • addedInput schema / properties / name / maxLength
      Added value: +2048
    • addedInput schema / properties / period / maxLength
      Added value: +2048
    • addedInput schema / properties / placement / maxLength
      Added value: +2048
    • addedInput schema / properties / slug / maxLength
      Added value: +2048
    • addedInput schema / properties / type / maxLength
      Added value: +2048
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false): duplicate slugs are rejected with a conflict and never merged, the call counts against MaxChecks quota, and over-quota creates are refused. It also discloses auth requirements (mcp scope, mcp:read tokens refused, user role) and runtime side effects (enabled checks start on next tick and open an incident after the confirmation period).

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

Conciseness5/5

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

The purpose and return values are front-loaded, and each subsequent sentence adds a distinct operational fact (config discovery, dry-run, pause semantics, slug conflict, quota, auth). No filler or restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 17-parameter mutation tool with an output schema and annotations, the description covers the remaining gaps an agent needs: side effects, quota, auth scope/role, conflict behavior, and reversibility via delete_check. Nothing material is missing for correct invocation.

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 100% and the schema is itself very detailed (regions, placement, failQuorum), so the baseline is 3. The description still adds meaning by explaining that enabled:false creates a paused check and that config shape is type-dependent, but it does not elaborate most of the 17 parameters beyond what the schema already says.

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 resource ("Create a new monitoring check") and immediately names the return payload (uid, slug, placement, resolved periods). It clearly differentiates itself from siblings by naming update_check, delete_check, validate_check, and list_check_types with their respective roles.

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

Usage Guidelines5/5

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

Gives explicit when-to-use routing: call list_check_types with type first when the config shape is unknown, then validate_check to dry-run before creating. It also states when not to use it (use update_check to change an existing check) and how to create paused via enabled:false.

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.