Skip to main content
Glama

All's Well

Create monitor

create-monitor

Create an uptime monitor for the team. Call get-plan-usage first to confirm there is room and to find the shortest allowed interval. A heartbeat monitor returns the heartbeat_url your job must request after each run.

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>",
      "type": "<type>",
      "check_interval_minutes": "<check_interval_minutes>"
    },
    "name": "create-monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA full URL such as https://shop.example.com. tcp and icmp use only its host. Required unless type is heartbeat.
nameYesHuman-readable monitor name.
portNoRequired when type is tcp: port 1-65535.
typeYesMonitor type. http, ssl, keyword, tcp and icmp need a url; tcp also needs a port; heartbeat waits for your job to ping it. The type cannot change later.
projectNoKey or name of a project (from list-projects) to put the monitor in. Leave it out for none.
passwordNoHTTP basic-auth password. Stored encrypted and never returned.
usernameNoHTTP basic-auth user name.
is_activeNofalse creates the monitor paused (default true).
is_backupNoHeartbeat only: true marks it as the job that takes the backup, so find-updates can show when a backup last succeeded. Default false.
http_methodNoHTTP method (default GET).
request_headersNoExtra request headers, name to value, e.g. {"X-Env": "live"}.
expected_keywordNoRequired when type is keyword: text expected in the response body.
expected_status_codesNoHTTP status codes counted as up (default [200]).
check_interval_minutesYesCheck frequency in minutes. Must be allowed by the plan (free = 5 or more).
check_interval_secondsNoOptional exact interval in seconds, at least the plan minimum; overrides the minutes. For a daily heartbeat use about 90000.
request_timeout_secondsNoRequest timeout 1-60 seconds (default 30).
ssl_expiry_warning_daysNoWarn this many days before SSL expiry (default 14).
notification_contact_idsNoIDs from list-notification-contacts to alert when this monitor changes state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / is_backup
      Added value: +{
      +  "description": "Heartbeat only: true marks it as the job that takes the backup, so find-updates can show when a backup last succeeded. Default false.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / project
      Added value: +{
      +  "description": "Key or name of a project (from list-projects) to put the monitor in. Leave it out for none.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only supply title and destructiveHint=false, so the description adds real value: it reveals the plan-capacity prerequisite and the interval ceiling imposed by the plan. It also discloses that heartbeat monitors return a heartbeat_url the caller's job must request after each run, which is behavior not visible in the schema.

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?

Three short sentences, each earning its place: the action, the prerequisite, and the heartbeat-specific return contract. The prerequisite is front-loaded before any parameter discussion.

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 an 18-parameter creation tool with no output schema, the description covers the highest-risk gaps: plan limits and the heartbeat return value. It could say more about what a successful non-heartbeat creation returns (e.g., an id for follow-up with get-monitor/toggle-monitor), but nothing essential is missing.

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 coverage is 100% and the enum-constrained interval and type fields are fully documented, so the schema does the heavy lifting. The description adds only the plan-minimum constraint on intervals, which is useful but marginal against 18 well-described 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 description states a specific verb and resource ('Create an uptime monitor for the team'), which is unambiguous against siblings like update-monitor or delete-monitor. It does not explicitly name those alternatives, but the create/update distinction is clear from the verb.

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?

It gives explicit preconditions: call get-plan-usage first to confirm there is room and to determine the shortest allowed interval. There are no stated when-not-to-use cases or direct comparisons to sibling tools, which keeps it short of a 5.

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