Skip to main content
Glama
io.github.ryanmat/logicmonitor

io.github.ryanmat/logicmonitor

by ryanmat

get_otlp_metric_labels

Read-onlyIdempotent

Lists label names on native OTLP metrics, optionally filtered to a specific metric or label-name substring, to help identify available dimensions for metric queries and analysis.

Instructions

List the label names on native OTLP metrics, optionally narrowed to one metric or to names containing a substring

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

Input Schema

NameRequiredDescriptionDefault
endNoWindow end, unix epoch seconds
limitNoMax results
startNoWindow start, unix epoch seconds
metricNoNarrow to labels present on this metric name
label_nameNoSubstring filter on label names

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds the scope that it reads native OTLP metrics only, but says nothing about pagination, default result count, or behavior when the window is omitted, which matters for a list endpoint with a limit.

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 with no filler; the resource and its optional narrowing are stated immediately. The clause 'optionally narrowed to one metric or to names containing a substring' is slightly compressed but still readable.

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?

For a five-parameter, zero-required read tool with full schema descriptions and no output schema, the description plus schema covers what an agent needs to invoke it. It could still note the default limit of 50 or the unbounded behavior when no metric filter is supplied, but those gaps are minor.

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 coverage is 100%, so the schema already defines all five parameters including the 50 default limit and epoch-second windows. The description restates the two filter intents (metric and substring) without adding format, default, or interaction detail 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 gives a specific verb and resource: 'List the label names on native OTLP metrics'. The 'native OTLP' qualifier and the label-names-vs-label-values distinction implicitly separate it from siblings like get_otlp_label_values and get_otlp_metric_names, though no sibling is named explicitly.

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 states the optional narrowings available (by metric or by substring) but gives no explicit when-to-use versus get_otlp_label_values or query_otlp_metrics, and no when-not-to-use conditions. Usage is implied by the filter description 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