Skip to main content
Glama

Prometheus metrics

myio_metrics
Read-onlyIdempotent

Fetch and filter Prometheus-format metrics from a myIO controller to inspect uptime, memory, WiFi, sockets, storage, webhooks, and 1-Wire temperatures.

Instructions

The /metrics text (Prometheus format: uptime, loop rate, RAM, M4, link, WiFi RSSI, sockets, webhook counters, storage, usens values, 1-Wire temperatures). filter = only lines containing this text. GIGA/Opta 4.4.1+.

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

Input Schema

NameRequiredDescriptionDefault
filterNo
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.8/5.0
Behavior4/5

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

Read-only/idempotent behavior is already declared by annotations, so the description's extra value is the firmware-model gate (GIGA/Opta 4.4.1+) and the fact that the payload is raw Prometheus text rather than parsed values — both genuinely useful beyond the structured fields. It does not mention payload size or whether filtered output is line-scoped only, leaving a small gap.

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?

One dense sentence front-loads the resource and its format, then follows with the filter semantics and the version gate; every clause carries information. The long parenthetical metric list is slightly heavy but earns its place by telling the agent what fields come back in a tool with no output schema.

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?

With no output schema, the description takes on the job of describing return content and does so via the metric enumeration, plus it flags the hardware/firmware requirement. The only shortfall is the absence of any note on output volume or how filtered results are formatted, which matters for a raw-text dump.

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 only 50%: the server parameter is documented in the schema, but filter has no schema description, and the description fills that hole by defining it as 'only lines containing this text' — a substring/line filter rather than a metric-name selector. That clarification meaningfully prevents misuse, though it is tightly worded.

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 a concrete resource — the /metrics endpoint in Prometheus text format — and enumerates its contents (uptime, loop rate, RAM, link, WiFi RSSI, sockets, webhook counters, storage, 1-Wire temperatures), which lets an agent distinguish it from status-style siblings such as myio_get_status or myio_info. It stops short of explicitly contrasting itself with any sibling, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

It gives a real precondition ('GIGA/Opta 4.4.1+') and describes how to narrow output with filter, but never states when to prefer this over a structured status tool or what to do if the hardware/firmware is unsupported. Usage is implied rather than spelled out.

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

Deploy Server

Other Tools