Skip to main content
Glama

Diagnose monitoring

diagnose_monitoring
Read-only

Read observable configuration problems and recorded counters from the latest available report. Counter scope and period are explicit; missing historical counters remain unknown. This read makes no corrections.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "monitoring_group_id": "<monitoring_group_id>"
    },
    "name": "diagnose_monitoring"
  }
}

Input Schema

NameRequiredDescriptionDefault
monitoring_group_idYesMonitoring group ID returned by get_workspace_context or list_monitoring_groups.

Output Schema

NameRequiredDescriptionDefault
findingsYes
statisticsYes
limitationsYes
observed_atYes
counter_statusYes
rejected_countYes
collected_countYes
monitoring_group_idYes
email_delivery_enabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds context that matters beyond the annotations: data comes from the latest available report, not live state, and missing historical counters stay unknown rather than being backfilled, which warns the agent against treating absences as zeros.

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?

Three short sentences, each carrying distinct information: what is read, the scope and period caveat, and the read-only guarantee. The most important qualifier, 'from the latest available report', appears early.

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?

An output schema exists, so return values need not be explained, and the annotations plus the single fully documented parameter keep the surface small. The description covers the data-source and completeness caveats well but says nothing about what happens when no report exists, which is the one failure mode an agent would want to know about.

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?

There is one parameter and the schema description already covers it fully at 100%, including where to obtain the monitoring group ID from get_workspace_context or list_monitoring_groups. The description adds no parameter-level detail, so the baseline of 3 applies.

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 specific verb and resource: it reads configuration problems and recorded counters from the latest report. That clearly separates it from the sibling write paths apply_monitoring_changes and preview_monitoring_changes, but it never names get_monitoring_configuration or explains how a diagnosis differs from reading the raw configuration.

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?

The statement 'This read makes no corrections' implies this tool is the inspection step before apply_monitoring_changes, but the description never states an explicit when-to-use rule or names the alternative. The agent has to infer the ordering from the phrase itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.