Skip to main content
Glama

Create a monitor

create_monitor

Create a monitor. kind=http (needs url), tcp (target "host:port"), tls (target host[:port] — cert-expiry watch), domain (target — registration-expiry via RDAP), dns (target + rtype A/AAAA/MX/... , optional expect_value), heartbeat (dead-man’s switch for cron jobs/agent loops: needs name; response includes ping_url to curl from the job, and a ping_email address). Common options: name, interval (seconds, min 60), tags. http options: expect ("2xx,301"), keyword, keyword_absent:"absent", slow_ms (number or "auto"), method, headers, body, json_path/json_expect, header_name/header_expect. heartbeat options: grace (seconds), cron ("0 3 * * *") + tz, max_duration_s. Any other documented field (see /llms.txt) also works — extra properties are passed through.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoFor kind=http: the URL to check
kindNoMonitor kind (default http; "mcp" monitors an MCP server via JSON-RPC initialize)
nameNoDisplay name (required for heartbeat, defaults to the target host otherwise)
targetNoFor tcp/tls/domain/dns: host[:port] or domain name
intervalNoCheck interval in seconds, min 60 (heartbeat: expected ping interval)

TDQS

A4.4/5.0
Behavior4/5

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

With empty annotations, the description carries the full burden of behavioral disclosure. It does a good job explaining side effects like the heartbeat's dead-man's switch and the fact that it returns a ping_url and ping_email. It details that domain checks use RDAP and tls watches cert expiry, giving agents insight into the underlying behavior. However, it does not describe error conditions, rate limits, or the general return structure beyond heartbeat, which is a notable gap for a creation tool.

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?

The description is long (about 150 words) but every sentence adds value given the tool's complexity. It front-loads the core purpose ('Create a monitor') and then systematically lists kinds and options. While it could be tightened, the structure is logical and covers the necessary variety without redundancy, making it acceptable for a multi-kind creation tool.

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?

Given the tool's complexity (7 kinds, many optional parameters) and the lack of an output schema, the description is fairly complete. It explains each kind's target, required fields, and response details for heartbeat. It even points to /llms.txt for additional fields. However, it does not describe the general creation response (e.g., monitor ID, status), error cases, or authentication requirements, which would improve completeness for an agent invoking this API.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though schema description coverage is 100%, the description significantly enhances parameter semantics. It maps each parameter to the kinds that use it (e.g., url for http, target for tcp/tls/domain/dns, name required for heartbeat) and introduces numerous additional properties (expect, keyword, slow_ms, etc.) that are not in the schema but are valid via additionalProperties. This provides crucial meaning that the schema alone lacks, especially for choosing the right combination of parameters based on kind.

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?

The description explicitly states 'Create a monitor' and then details the distinct kinds (http, tcp, tls, domain, dns, heartbeat) with their specific requirements, making the tool's purpose unambiguous. It clearly differentiates from sibling tools like update_monitor, delete_monitor, and check_url by focusing on creation and the monitor types it covers.

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?

The description provides strong guidance on how to construct a monitor for each kind, listing required parameters and common options. It does not explicitly state when not to use this tool or name alternatives, but the specificity of the kinds and their fields makes the intended usage clear. The note that extra properties pass through encourages flexible use but doesn't explicitly exclude alternatives.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource and action. There is no overlap between monitor lifecycle tools (create, get, update, delete, list), incident tools (list, ack, note), or utility tools (check_url, get_account, get_status_page). The descriptions explicitly differentiate check_url from create_monitor, eliminating confusion.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in lowercase snake_case: ack_incident, add_incident_note, check_url, create_monitor, delete_monitor, get_account, get_monitor, get_status_page, list_channels, list_incidents, list_monitors, update_monitor. No mixed conventions or inconsistent verb forms exist.

Tool Count5/5

12 tools is well within the ideal 3-15 range for a monitoring service. Each tool serves a purposeful function without redundancy, covering monitor management, incident handling, and account/status information.

Completeness4/5

Monitor lifecycle is complete with CRUD plus list. Incidents have list, acknowledge, and note tools, which covers the core incident workflow. Minor gaps include no channel management (only list_channels) and no way to discover status pages (get_status_page requires a known slug), but these are peripheral and workable for most use cases.

Resources