Skip to main content
Glama

Diagnostic Investigation Status

get_diagnostic_investigation
Read-only

Get one diagnostic investigation: status, current phase, and — once completed — the explanation. Poll this after request_diagnostic_investigation when the surface has no push channel.

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": {
      "investigationId": "<investigationId>"
    },
    "name": "get_diagnostic_investigation"
  }
}

Input Schema

NameRequiredDescriptionDefault
investigationIdYesInvestigation id (GUID) from request_diagnostic_investigation.

Output Schema

NameRequiredDescriptionDefault
okNo
investigationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description earns credit for disclosing that results are progressive — status and phase while running, explanation only once completed — which drives the polling behavior. It stops short of stating polling intervals, retention, or error semantics.

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?

Two sentences, front-loaded with the return payload and followed by the call condition. No redundant restatement of the title or annotations.

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 shape needs no explanation, and the single parameter is fully covered. Minor gap: nothing about polling cadence, expiry, or behavior when the investigation id is unknown or the investigation was never started.

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 single investigationId parameter is already documented as a GUID from request_diagnostic_investigation, so the description adds no meaning beyond the schema. Baseline 3 applies since the schema does the heavy lifting.

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 ('Get one diagnostic investigation') and enumerates what is returned: status, current phase, and the explanation once complete. The 'one' framing implicitly separates it from list-style siblings such as list_diagnostic_investigations, though no sibling is named explicitly.

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

Usage Guidelines5/5

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

It gives an explicit lifecycle position ('Poll this after request_diagnostic_investigation') and a concrete condition that selects the pattern ('when the surface has no push channel'). An agent knows both when to call it and what precedes it.

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.

Resources