Skip to main content
Glama

Create endpoint

create_endpoint

Create a monitor for a routine. Use cron, tz and grace_sec for a schedule, or interval_sec for a fixed check-in interval. Set max_duration_sec to detect an open run that exceeds its time limit. With check the monitor is a site: HookPulse calls check.url every interval_sec (default 300) and alerts when it goes down — two failed checks in a row, one minute apart, from a server whose own connection is proven — and when it answers again. {"check":{"url":"https://example.com/"}} is enough; the name defaults to the host. A site has no cron, no max_duration_sec and no ingest URL. This response is the only one that shows the monitor's token and the templates — keep them. A miss alerts at most once per 24h — or per alert_repeat_sec, or per interval, whichever is longer. Send cron+tz+grace_sec instead of interval_sec for a real schedule: a 03:00 backup is late at 03:01:30, not 24 hours later. max_duration_sec catches the other failure: a run that starts and hangs, which plain silence detection only notices at the next scheduled time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tzNoIANA time zone for cron, default UTC
cronNofive-field cron, e.g. 0 3 * * *
nameYeshow you will recognise the routine in an alert; required, trimmed, max 80 chars, punctuation alone is rejected
tagsNoup to 8 tags to group the monitor; lower-cased, [a-z0-9._-], max 32 chars each
alert_toNoE-mail to alert on a miss; without it, the account is alerted.
alert_urlNoPublic HTTPS URL that receives a POST on a miss (Slack Incoming, Discord, n8n).
grace_secNotolerance after the scheduled time, default 90, min 30
guest_tokenYes
interval_secNoTolerated silence, in seconds.
paused_untilNomaintenance window end (UTC ISO), max 30 days ahead
alert_repeat_secNogap before the same incident alerts again, 3600..2592000; null keeps the 86400 default
max_duration_secNoceiling for an open run in seconds, 60..86400; null or 0 turns it off

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / interval_sec / description
      Previous value: -"Tolerated silence, in seconds. Below the free minimum, it costs."New value: +"Tolerated silence, in seconds."
  2. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Name to recognise the monitor in the alert."New value: +"how you will recognise the routine in an alert; required, trimmed, max 80 chars, punctuation alone is rejected"
  3. Changed7 schema fields changed
    • addedInput schema / properties / alert_repeat_sec
      Added value: +{
      +  "description": "gap before the same incident alerts again, 3600..2592000; null keeps the 86400 default",
      +  "type": "number"
      +}
    • addedInput schema / properties / cron
      Added value: +{
      +  "description": "five-field cron, e.g. 0 3 * * *",
      +  "type": "string"
      +}
    • addedInput schema / properties / grace_sec
      Added value: +{
      +  "description": "tolerance after the scheduled time, default 90, min 30",
      +  "type": "number"
      +}
    • addedInput schema / properties / max_duration_sec
      Added value: +{
      +  "description": "ceiling for an open run in seconds, 60..86400; null or 0 turns it off",
      +  "type": "number"
      +}
    • addedInput schema / properties / paused_until
      Added value: +{
      +  "description": "maintenance window end (UTC ISO), max 30 days ahead",
      +  "type": "string"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "description": "up to 8 tags to group the monitor; lower-cased, [a-z0-9._-], max 32 chars each",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / tz
      Added value: +{
      +  "description": "IANA time zone for cron, default UTC",
      +  "type": "string"
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / alert_to / description
      Added value: +"E-mail to alert on a miss; without it, the account is alerted."
    • addedInput schema / properties / alert_url / description
      Added value: +"Public HTTPS URL that receives a POST on a miss (Slack Incoming, Discord, n8n)."
    • addedInput schema / properties / interval_sec / description
      Added value: +"Tolerated silence, in seconds. Below the free minimum, it costs."
    • addedInput schema / properties / name / description
      Added value: +"Name to recognise the monitor in the alert."
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.