Skip to main content
Glama

Get Diagnostics

get_diagnostics
Read-only

Report runtime health without querying CIViC, including build details, daily upstream request usage against the cap, cache hits, and tool latency metrics.

Instructions

Report runtime state without calling CIViC: build, upstream request budget (today's usage vs the daily cap), cache hits 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.1.2

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the description adds meaningful behavior: the call does not touch the upstream CIViC API, so it costs no request budget and presumably returns instantly, and it surfaces budget consumption against a daily cap. It does not describe the shape of the returned report, and openWorldHint=true is slightly at odds with a tool that reports only local runtime state, though the upstream-budget metric makes the open-world framing defensible rather than contradictory.

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 with the substance front-loaded; the enumerated metrics are the most useful part and come first. The signature sentence is redundant filler given the empty input schema.

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?

There is no output schema, so the description must convey what comes back, and it does list the report's main sections. It stops short of describing metric units or formatting (percentages, timestamps, reset windows), which would remove the last ambiguity for an agent interpreting the budget line.

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?

Zero parameters, so the baseline is 4; the schema already forbids additional properties. The trailing "Signature: get_diagnostics()" adds nothing an agent can't infer from the empty schema, but it does no harm.

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?

States a specific verb and resource ("Report runtime state") and enumerates the exact contents: build, upstream request budget with daily cap, cache hit and latency metrics. The clause "without calling CIViC" cleanly separates it from the neighboring CIViC data-fetch tools, so an agent can pick it without inspecting the schema.

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?

Usage is implied rather than stated: the mention of budget and cache metrics signals a health/consumption check, and "without calling CIViC" hints it is the cheap option when you don't need data. There is no explicit when-to-use or when-not-to-use sentence, and no named alternative for cases where the agent actually needs CIViC content.

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