Skip to main content
Glama

diagnostics

Read-onlyIdempotent

Inspect read-only startup and runtime status to troubleshoot issues: view stage, log tail, versions, CUDA state, viewer URL/port, and bug-report link.

Instructions

Read-only startup/runtime diagnostics, available even while starting: stage/substage/waiting_for, startup.log tail, versions, CUDA state (if probed), viewer URL/port and log tail, and issue_url for bug reports. No secrets or environment values.

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": {
      "request": "<request>"
    },
    "name": "diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesTool arguments object (all fields documented; Z is positive upward).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds operational details beyond them: availability during startup, optional CUDA probing, included log tails, and a no-secrets/environment-values guarantee. It does not cover auth, rate limits, or failure modes, but those are minor gaps for a diagnostic read.

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?

The definition is a single front-loaded sentence with a colon-delimited inventory of returned data, and every clause carries operational information. It is dense but not padded, with the availability and privacy caveats placed after the core purpose.

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

Completeness5/5

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

No output schema exists, so the description must establish what comes back; it enumerates stage/substage/waiting_for, log tails, versions, CUDA state, viewer URL/port, and issue_url. That is complete enough for a one-parameter diagnostic tool, and the 'if probed' caveat acknowledges optional fields.

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% and the sole 'lines' parameter is fully documented there, so the baseline is 3. The description only alludes to 'startup.log tail' without explaining the line-count control or adding format details 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 states a specific resource and scope, 'Read-only startup/runtime diagnostics,' and enumerates the exact artifacts returned. It clearly carves out a startup/runtime diagnostic domain, but it does not explicitly name an alternative for overlapping troubleshooting or log tasks.

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

Usage Guidelines4/5

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

It provides clear usage context: the tool is available even while starting, and issue_url is intended for bug reports. It does not give explicit when-not guidance or name sibling alternatives, so routing remains implied rather than exhaustive.

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