Skip to main content
Glama

Send a test message to an alert target

test_alert

Queues a signed test message (event "test") to one delivery target, or to every target of one of your key's own rules, and waits a few seconds for the result: status sent, retry or dead with the HTTP status or error. A target can be tested a few times every 10 minutes. Needs an API key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "test_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleIdNoOr: test every target of this rule.
targetIdNoThe delivery target to test (from `list_alerts` or the `webhook` block of `create_alert`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: discloses that the message is signed, that it is queued and that the call blocks a few seconds for the outcome, the possible statuses (sent, retry, dead) with HTTP status or error, the rate limit, and the API-key requirement. These are exactly the traits an agent needs before invoking a non-idempotent, open-world operation, and nothing contradicts destructiveHint=false or idempotentHint=false.

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?

A single front-loaded sentence carries the action, the two targeting modes, the result semantics, the rate limit and the auth requirement. It is dense and slightly run-on, but every clause earns its place and there is no boilerplate.

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 no output schema, the description still explains what comes back (sent/retry/dead plus HTTP status or error) and how long the call waits. Combined with the auth and rate-limit notes, an agent has everything needed to call this correctly and interpret the result.

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 the baseline is 3; the description adds real meaning by framing targetId and ruleId as alternatives ('one delivery target, or to every target of one of your key's own rules') and by scoping rule lookup to the caller's own key, which the schema's one-line property descriptions do not convey.

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: queues a signed test message (event "test") to one delivery target or all targets of a rule, and waits for the delivery result. This is unmistakably distinct from create_alert, list_alerts and delete_alert without needing to open any schema.

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?

Clear context for use: verifying delivery to a single target or to every target of one of the caller's own rules, plus the rate constraint (a few times every 10 minutes) and the API-key prerequisite. It does not state explicit when-not conditions or name the sibling to use for inspecting targets, which keeps it below 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