Skip to main content
Glama
AIops-tools

observability-aiops

target_scrape_health_analysis

Read-only

Rank down/erroring Prometheus targets and classify each failure cause to pinpoint scrape issues and guide remediation.

Instructions

[READ][analysis] Rank down/erroring scrape targets and classify each cause.

Args: target: Prometheus target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.3/5.0
Behavior3/5

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

The [READ] tag and readOnlyHint annotation already establish the safety profile, so the bar is lower. The description adds what the analysis actually does (ranking and cause classification), which is useful, but says nothing about output shape or limitations.

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?

Two terse lines with a front-loaded [READ][analysis] tag indicating mode and category. Every element earns its place, though the args block is minimal rather than rich.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single optional read-only param with no output schema, the description covers purpose and parameter meaning but omits sibling differentiation and any hint of return structure, leaving the agent to infer how it relates to target_scrape_health.

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 description coverage is 0% and the schema only supplies a bare 'Target' title with default null, so the description carries the load: it identifies the param as a Prometheus target name from config and explains that omission yields the default. That is meaningful semantics 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?

States a specific verb+resource+scope: it ranks down/erroring scrape targets and classifies each cause. This is clear and substantive. However, it does not distinguish itself from the near-identical sibling 'target_scrape_health' (nor dropped_targets/list_targets), which the agent needs to route correctly.

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 only usage note is 'omit for the default' on the target arg. There is no guidance on when to pick this tool over the very similarly named target_scrape_health sibling, nor any context about prerequisites or exclusions.

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