Skip to main content
Glama

list_service_monitors

List all ServiceMonitors in a namespace to view Prometheus scrape targets on OpenShift clusters.

Instructions

List all ServiceMonitors in a namespace (Prometheus scrape targets).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNodefault
cluster_aliasNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries full transparency burden. It only says 'List all ServiceMonitors in a namespace' and adds a parenthetical definition; it does not disclose behavioral details such as pagination, cluster selection via cluster_alias, error handling, or whether the list includes full objects or names only.

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?

The description is one concise sentence with a clarifying parenthetical. It front-loads the action and resource, and every word adds value with no redundancy or filler.

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 two parameters, no annotations, and an output schema present, the description should at least explain parameter roles and selection context. It only identifies the resource type and namespace scope; it leaves cluster_alias unexplained and provides no guidance for effective use. The output schema covers return values, but this is still insufficient for complete context.

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?

Schema description coverage is 0% and the description fails to explain either parameter. The phrase 'in a namespace' loosely hints at namespace, but cluster_alias is completely undocumented. The description does not compensate for the missing parameter descriptions.

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 verb 'list', the resource 'ServiceMonitors', and the scope 'in a namespace', with a parenthetical clarifying they are 'Prometheus scrape targets'. This distinguishes it from similar tools like list_pod_monitors by naming the specific resource type and adding domain context.

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?

No explicit guidance is provided on when to use this tool versus alternatives like list_pod_monitors or list_prometheus_rules. The description only implies a use case by naming the resource, but does not mention exclusions, prerequisites, or alternative tools.

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/badin017/ocp-mcp'

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