Skip to main content
Glama

Diagnose why this quantum workflow failed and return bounded corrective actions.

diagnose_quantum_workflow
Idempotent

Diagnose why this quantum workflow failed and return bounded corrective actions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes
payment_railNo
idempotency_keyYes
max_total_priceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, readOnlyHint=false and openWorldHint=false, covering the safety profile. The description adds nothing on top: it never mentions that this appears to be a paid operation (max_total_price, payment_rail) or what 'bounded corrective actions' output looks like. With a lower bar due to annotations, a 2 reflects zero added behavioral context.

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, but not because it is efficient — it is a literal duplicate of the title, so the sentence earns no place. Conciseness here is under-specification rather than economy of language.

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?

For a tool with four required/near-required parameters, nested request objects, an enum-driven failure_stage, payment handling, and several overlapping diagnostic siblings, the description is completely inadequate. The existence of an output schema excuses return-value detail, but nothing else is covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 4 parameters (idempotency_key, max_total_price, payment_rail, and a deeply nested request object), so the description is the only place semantics could be supplied — and it supplies none. Notably the required payment parameters are never explained, leaving an agent unable to know how pricing or idempotency keys are meant to be formed.

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?

Tautological: description restates name/title.

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 use this tool, when not to, or which alternative to prefer. The implied context (a workflow already failed) is the only usage signal, and it is not expressed; nor does it distinguish itself from quantum_failed_workflow_diagnosis_v1 or diagnose_quantum_phase.

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