Skip to main content
Glama

Describe monitor assertions

describe_monitor_assertions
Read-onlyIdempotent

Use before writing assertions. Returns supported selectors, operators, value syntax, and examples generated from the monitor assertion parser's definitions.

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": "describe_monitor_assertions"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoRestrict to this monitor type.

Output Schema

NameRequiredDescriptionDefault
assertionsYes
custom_metricsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and closed-world, so the safety profile is fully covered. The description adds the useful provenance detail that results are generated from the parser's own definitions (i.e., authoritative, not hand-written docs), but says nothing about response size, pagination, or caching for what could be a large documentation payload.

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?

Two sentences, with the imperative usage instruction front-loaded before the description of contents. Every clause carries information; nothing is redundant.

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?

This is a simple read-only discovery tool with one optional enum parameter and an output schema, so return-value detail is not required. The definition covers purpose, timing, and content adequately; only the meaning of the type filter is left entirely to the schema.

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% and the single optional 'type' enum is fully documented in the schema, so the baseline is 3. The description never mentions the type filter or how narrowing to job/heartbeat/check/site changes the returned material, so it adds no meaning beyond the schema.

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 names the resource (monitor assertion parser definitions) and the concrete payload: supported selectors, operators, value syntax, and examples. This clearly separates it from monitor-mutation siblings like update_monitor or create_monitors, though it never names a specific sibling or closest alternative such as describe_site_query.

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?

"Use before writing assertions" gives an explicit triggering condition, which is exactly the context an agent needs for a discovery tool. It stops short of stating when-not to use it or which sibling to prefer for adjacent query-syntax needs.

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