Skip to main content
Glama

Get Diagnostics

get_diagnostics
Read-only

Reports runtime state including build details, bundled snapshot release, commit, sha256 checksum, and tool latency metrics to help verify environment health and data version.

Instructions

Report runtime state: build, the bundled snapshot's release, commit and sha256, and tool latency metrics. Signature: get_diagnostics().

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_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing exactly what the report contains (build, snapshot release, commit, sha256, latency metrics), but it says nothing about whether latency metrics are cumulative or per-call, or the cost/format of the response.

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 short sentences, front-loaded with the payload contents. The trailing signature line is redundant given the empty input schema, but the overall text is efficient and easy to scan.

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?

With no output schema, the description must carry the return-value burden, and it does so by enumerating the reported fields. It is nearly complete for a simple no-argument diagnostic tool; only the shape of the latency metrics and output format are unspecified.

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?

The tool takes zero parameters, so the baseline is 4. The 'Signature: get_diagnostics()' line reinforces that no arguments are accepted, consistent with the empty schema, though it is not strictly necessary.

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 ('Report') and resource ('runtime state') and enumerates the contents: build, bundled snapshot release, commit, sha256, and tool latency metrics. It does not explicitly distinguish itself from get_server_capabilities, which is the nearest sibling, so it stops short of a 5.

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?

There is no statement of when to call this tool, when not to, or which alternative to prefer for related information (e.g., get_server_capabilities). The name and enumerated payload imply a troubleshooting/verification use, but the agent must infer that entirely.

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