Skip to main content
Glama

angular::runtime.diagnose

MediaSFU Angular :: runtime.diagnose (diagnostic).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorTextYesSanitized error or log excerpt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden and discloses none of it: not whether the call is read-only, whether it consumes the error text for analysis only, what it returns, or any size/rate constraints. A single word, 'diagnostic', is all the agent gets.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded, but the brevity is under-specification rather than concision — the single sentence earns its place only by naming the namespace. There is no second sentence of substance that was trimmed.

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

Completeness1/5

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

With no annotations, no output schema, and a description that explains nothing about the diagnosis result, an agent lacks everything needed to call this confidently and interpret the response. The tool clearly expects a sanitized error excerpt but never explains the expected format, source, or downstream use.

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 description coverage is 100% and there is only one parameter (errorText, 'Sanitized error or log excerpt'), so the schema already documents the input fully. The description adds nothing beyond it, which lands at the baseline 3 for a high-coverage single-parameter schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially a restatement of the tool name plus the synonym 'diagnostic', which is a tautology rather than a statement of what the tool does. It never says what a runtime diagnosis actually produces (root cause, fix suggestion, log analysis), so an agent cannot distinguish it from sibling fix.suggest or runtime.readiness.diagnose.

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

Usage Guidelines1/5

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

There is no when-to-use, when-not-to-use, or alternative reference anywhere in the description. Candidates like fix.suggest, runtime.readiness.diagnose, and env.preflight are plausible competitors for the same request, yet nothing routes the agent between them.

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.