Skip to main content
Glama

Create monitor

create_monitor

Create a new monitor. Requires name+url; add "port" for port checks, "dns_*" for DNS checks.

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": {
      "name": "<name>",
      "url": "<url>"
    },
    "name": "create_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTarget URL (http) or hostname (icmp/port/dns).
nameYesHuman-readable monitor name.
portNoTCP port — required when protocol is "port".
pausedNoStart the monitor in a paused state.
regionsNoProbe region codes, e.g. ["us-east","eu-west"]. Use ["*"] for all.
timeoutNoRequest timeout in seconds (default 30).
group_idNoGroup to place the monitor in.
protocolNoCheck protocol. Defaults to "http".
ip_versionNoIP version used to reach the target (default 4). 6 = checked over IPv6 only, for http/port/icmp, from the selected regions that have an IPv6 probe.
verify_sslNoHTTPS monitors: mark the monitor down when its certificate is invalid (expired, wrong hostname, untrusted chain). Off by default.
alerts_waitNoMinutes to wait before alerting. -1 disables, 0 is immediate.
http_methodNoHTTP verb. Defaults to GET.
request_bodyNoBody for http requests.
ssl_remindersNoAlso remind at 30, 15, 7, 3 and 1 days below the threshold.
dns_nameserverNoCustom nameserver for DNS checks.
ssl_alert_daysNoDays before the TLS certificate expires to alert. -1 = never.
check_frequencyNoCheck interval in seconds. Sub-30s requires a business plan.
dns_record_typeNoDNS record type (protocol="dns").
request_headersNoCustom request headers.
follow_redirectsNoFollow 3xx redirects on http monitors.
required_keywordNoBody must contain this keyword, else flagged down.
domain_alert_daysNoDays before the domain registration expires to alert. -1 = never.
escalation_policyNoUUID of an escalation policy to link.
dns_expected_answerNoExpected DNS answer to assert against.
expected_status_codeNoExpected response status: number (200), "2xx", or "1xx-3xx".
ssl_notify_on_changeNoNotify when the server starts serving a different certificate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / request_headers / items / properties / secret
      Added value: +{
      +  "description": "true = write-only header (API key, shared secret): its value is never returned. Omit for a regular header; a secret header sent without secret needs its value.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / request_headers / items / properties / value / description
      Previous value: -"Header value"New value: +"Header value. Secret headers are read back with value null: send them back as is (or without value) to keep the stored value, or with a new value to rotate it."
    • changedInput schema / properties / request_headers / items / properties / value / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / request_headers / items / required
      Previous value: -[
      -  "name",
      -  "value"
      -]New value: +[
      +  "name"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / verify_ssl
      Added value: +{
      +  "description": "HTTPS monitors: mark the monitor down when its certificate is invalid (expired, wrong hostname, untrusted chain). Off by default.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / ip_version
      Added value: +{
      +  "description": "IP version used to reach the target (default 4). 6 = checked over IPv6 only, for http/port/icmp, from the selected regions that have an IPv6 probe.",
      +  "enum": [
      +    4,
      +    6
      +  ],
      +  "type": "number"
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / domain_alert_days
      Added value: +{
      +  "description": "Days before the domain registration expires to alert. -1 = never.",
      +  "type": "number"
      +}
    • addedInput schema / properties / ssl_alert_days
      Added value: +{
      +  "description": "Days before the TLS certificate expires to alert. -1 = never.",
      +  "type": "number"
      +}
    • addedInput schema / properties / ssl_notify_on_change
      Added value: +{
      +  "description": "Notify when the server starts serving a different certificate.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / ssl_reminders
      Added value: +{
      +  "description": "Also remind at 30, 15, 7, 3 and 1 days below the threshold.",
      +  "type": "boolean"
      +}
  5. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the write/non-idempotent profile is covered. Beyond that the description adds essentially nothing behavioral: it does not say whether the monitor starts probing immediately, whether creation triggers alerting setup, what happens on duplicate names, or what identifier comes back. The protocol hints it does give duplicate the schema's own cross-field notes.

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?

Two short sentences, front-loaded with the verb and the mandatory inputs, with no filler. The "dns_*" glob shorthand is slightly imprecise against the actual dns_nameserver / dns_record_type / dns_expected_answer property names, which costs it a point.

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

Completeness2/5

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

This is a 26-parameter creation tool with no output schema, yet the description is only two sentences. It never covers what a successful call yields (monitor ID), how protocol selection changes the meaning of url, or notable constraints such as sub-30s frequencies requiring a business plan. The rich schema compensates for parameter meaning but not for the agent-facing behavioral picture of a complex write operation.

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 the baseline is 3. The description reinforces the required name+url pair and the port/dns conditional fields, but that information is already stated in the schema ("required when protocol is 'port'"), so it adds no new meaning for any of the other 23 parameters.

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 first sentence gives a specific verb and resource ("Create a new monitor"), which is unambiguous and clearly distinct from sibling read/mutation tools like get_monitor or update_monitor. It stops short of explicitly naming an alternative, so it lands at 4 rather than 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?

It states the two mandatory fields and hints at protocol-dependent fields ("add 'port' for port checks, 'dns_*' for DNS checks"), which is implied conditional guidance. It offers no when-to-use framing, no prerequisites (auth scopes, plan requirements), and no guidance on choosing among the four protocols beyond the parameter hints.

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.