Skip to main content
Glama
devhelmhq

DevHelm MCP Server

Official
by devhelmhq

list_monitor_versions

Retrieve the version history of a monitor to track changes over time. Specify the monitor ID and optionally paginate results.

Instructions

List version history for a monitor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monitor_idYes
pageNo
sizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The actual handler function for list_monitor_versions tool. Calls get_client(api_token).monitors.versions(monitor_id, page=page, size=size) and serializes the result with data and hasNext fields.
    @mcp.tool()
    def list_monitor_versions(
        monitor_id: str,
        page: int = 0,
        size: int = 20,
        api_token: str | None = None,
    ) -> ToolResult:
        """List version history for a monitor."""
        try:
            result = get_client(api_token).monitors.versions(
                monitor_id, page=page, size=size
            )
            return serialize({"data": result.data, "hasNext": result.has_next})
        except DevhelmError as e:
            raise_tool_error(e)
  • The tool is registered via the @mcp.tool() decorator on the list_monitor_versions function. The parent function register(mcp: FastMCP) uses FastMCP's decorator pattern to register all tools.
    @mcp.tool()
    def list_monitor_versions(
        monitor_id: str,
        page: int = 0,
        size: int = 20,
        api_token: str | None = None,
    ) -> ToolResult:
        """List version history for a monitor."""
        try:
            result = get_client(api_token).monitors.versions(
                monitor_id, page=page, size=size
            )
            return serialize({"data": result.data, "hasNext": result.has_next})
        except DevhelmError as e:
            raise_tool_error(e)
  • The input schema for list_monitor_versions is defined by the function signature: monitor_id (str, required), page (int, default 0), size (int, default 20), and api_token (str | None, optional).
    def list_monitor_versions(
        monitor_id: str,
        page: int = 0,
        size: int = 20,
        api_token: str | None = None,
    ) -> ToolResult:
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It only states the action without mentioning side effects, permissions, pagination behavior, or rate limits. For a list operation, the minimal read-only aspect is implied but not explicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short (one sentence) but lacks necessary detail. It is concise but under-specified, so it does not earn high marks for appropriate sizing.

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?

Given the tool's complexity (3 params, no schema descriptions, no annotations), the description is incomplete. It does not cover pagination, required permissions, or output interpretation, even though an output schema exists.

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

Parameters1/5

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

Input schema has 0% description coverage, so the description should compensate. However, it does not explain any parameter (monitor_id, page, size), leaving the meaning of monitor_id and pagination details unclear.

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 clearly states the tool lists version history for a monitor, which is a specific and distinct action among sibling tools like list_monitors, list_monitor_results, and list_monitor_transitions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives such as list_monitor_results or list_monitor_transitions. No context about typical use cases or exclusions is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devhelmhq/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server