Skip to main content
Glama

Create check

create_check

Create a new uptime monitoring check for HTTP, TCP, DNS, SSL, databases, or other services and return its UID, slug, placement, and resolved periods.

Instructions

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.

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".
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. Changed8 schema fields changedv0.42.0
    • 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
  2. Changed2 schema fields changedv0.41.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedOutput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changedv0.40.1
    • changedInput schema / properties / type / description
      Previous value: -"Check 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. Inferred from config if omitted."New value: +"Check 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."
  4. Changed8 schema fields changedv0.38.5
    • changedInput schema / properties / config / description
      Previous value: -"Check-specific config. Shape depends on type. Example for http: {\"url\": \"https://example.com\", \"method\": \"GET\"}. Use get_check_type_samples to discover the shape for other types."New value: +"Check-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."
    • addedInput schema / properties / failQuorum
      Added value: +{
      +  "description": "Multi-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.",
      +  "type": "string"
      +}
    • addedInput schema / properties / placement
      Added value: +{
      +  "description": "\"pinned\" or \"auto\". Omit to infer it: regions given means pinned, otherwise auto. \"auto\" cannot be combined with regions. Private (@) regions are pinned-only.",
      +  "type": "string"
      +}
    • addedInput schema / properties / regionCount
      Added value: +{
      +  "description": "Automatic 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.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / regionPool
      Added value: +{
      +  "description": "Automatic placement only: the cloud region slugs the scheduler may choose from, e.g. [\"paris\",\"gravelines\"]. Omit for any cloud region. Implies placement auto.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / regions / description
      Previous value: -"Region slugs to run the check from, e.g. [\"eu-west-1\",\"us-east-1\"]. Defaults to all org regions when omitted."New value: +"Region 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.)"
    • changedInput schema / properties / type / description
      Previous value: -"Check type. Allowed: http, tcp, icmp, dns, ssl, heartbeat, domain. Inferred from config if omitted."New value: +"Check 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. Inferred from config if omitted."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "checkGroupUid": {
      +      "description": "Check group UID, when the check belongs to a group.",
      +      "type": "string"
      +    },
      +    "config": {
      +      "description": "Check-specific configuration for the type.",
      +      "type": "object"
      +    },
      +    "createdAt": {
      +      "description": "RFC3339 creation timestamp.",
      +      "type": "string"
      +    },
      +    "description": {
      +      "description": "Free-text description.",
      +      "type": "string"
      +    },
      +    "enabled": {
      +      "description": "Whether the check runs.",
      +      "type": "boolean"
      +    },
      +    "labels": {
      +      "description": "Key-value labels.",
      +      "type": "object"
      +    },
      +    "lastResultAt": {
      +      "description": "RFC3339 timestamp of the newest real result.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Human-readable name.",
      +      "type": "string"
      +    },
      +    "period": {
      +      "description": "Check interval as HH:MM:SS.",
      +      "type": "string"
      +    },
      +    "placement": {
      +      "description": "\"pinned\" or \"auto\".",
      +      "type": "string"
      +    },
      +    "regions": {
      +      "description": "Regions the check runs from.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "slug": {
      +      "description": "URL-friendly slug.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "Synthesized status: up, down, validating, created or degraded.",
      +      "type": "string"
      +    },
      +    "statusChangedAt": {
      +      "description": "RFC3339 timestamp of the last status change.",
      +      "type": "string"
      +    },
      +    "type": {
      +      "description": "Check type, e.g. \"http\".",
      +      "type": "string"
      +    },
      +    "uid": {
      +      "description": "Check UID.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "uid"
      +  ],
      +  "type": "object"
      +}
  5. First observedv0.32.1

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: explains that an enabled check starts on its next tick and opens an incident after the confirmation period, that enabled:false creates it paused, that duplicate slugs are rejected with a conflict rather than merged, and that the call counts against a quota and needs a specific scope/role. Annotations only declare the generic non-read-only, non-idempotent profile.

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?

Leads with the core action and return shape, then layers prerequisites, alternatives, and side effects. Given 16 parameters and several side effects, the density is justified and no sentence is filler.

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?

With an output schema present the description needn't explain return values, and it still names the salient ones. For a complex multi-param mutation it covers prerequisites, alternatives, quota, and reversibility, leaving nothing an agent needs before calling it.

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%, so baseline is 3, but the description adds real meaning beyond the schema: enabled:false semantics (create paused), config-shape discovery via list_check_types, and the create-vs-update conflict behavior. It does not restate the many placement/period parameters, leaving those to the schema.

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 even names the key return fields (uid, slug, placement, resolved periods). It clearly distinguishes itself from update_check, delete_check, validate_check and list_check_types by naming them with their 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 routing: call list_check_types to discover config shapes, validate_check to dry-run before creating, update_check for existing checks rather than re-creating, delete_check to reverse. Exclusions and prerequisites (mcp scope, user role, MaxChecks quota) are spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.