Skip to main content
Glama

Get Diagnostics

get_diagnostics
Read-only

Reports runtime state without calling UCSC, including build, daily request-budget usage, cache hits, latency metrics, and live BLAT/isPcr availability per assembly.

Instructions

Report runtime state without calling UCSC: build, upstream request budget (today's usage vs the daily cap), cache hits, tool latency metrics and live BLAT/isPcr availability per assembly (local gfServer status). 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.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=true; the description adds meaningful context that no UCSC call is made, that the budget is compared against the daily cap, and that availability reflects local gfServer status per assembly. It does not flag whether any local state is mutated or how fresh the latency metrics are, so it falls short of a 5.

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?

Content is front-loaded in one dense sentence that enumerates exactly what is returned with no filler prose. However, the appended 'Signature: get_diagnostics().' is redundant given the empty input schema and could be dropped.

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?

With no output schema, the description carries the burden of describing return content and does so item by item, including the comparison basis for budget and the per-assembly granularity of availability. Nothing an agent needs in order to call a zero-argument status tool correctly is missing.

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 description correctly adds no invented parameter semantics. The trailing 'Signature: get_diagnostics()' merely restates the empty schema.

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 ('Report') and resource ('runtime state'), then enumerates the exact contents: build, upstream request budget, cache hits, latency metrics, and per-assembly BLAT/isPcr availability. This makes it unmistakably a self-diagnostics tool rather than a genome-data sibling like get_reference_sequence or find_blat_alignments.

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 phrase 'without calling UCSC' implies usage for cheap health/status checks when you don't want an upstream request, but the description never states when to prefer this tool over siblings such as get_server_capabilities, nor any exclusions. Usage is left to be inferred.

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