Skip to main content
Glama

Human Creative AI Workflow & Eval Lab

diagnose_ai_workflow

Read-onlyIdempotent

FREE live 3-stage cross-family AI workflow and JD diagnostic executed immediately on Cloudflare Workers AI (Mistral 24B intake -> Llama 3.3 70B 4-node DAG architect + Qwen 2.5 32B independent quality gate). Returns structured bottlenecks, silent failure modes, a 4-node DAG with human checkpoints, a 30-day rollout plan, and matched portfolio receipts.

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": {
      "input": "<input>"
    },
    "name": "diagnose_ai_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoSelect 'workflow' for an operational pipeline audit or 'jd' for a role/enablement blueprint.workflow
inputYesWorkflow bottleneck, SOP description, or job description text (at least 20 characters).
org_hintNoOptional organization or team name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description is free to add operational context — it does, disclosing the three-model pipeline, the specific vendors, and the immediate synchronous execution on Cloudflare Workers AI. Missing latency, rate-limit, or cost caveats for what is clearly a heavy multi-model inference call, but the architecture disclosure is genuinely useful.

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

Conciseness3/5

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

One very dense sentence that front-loads the value proposition, but marketing tokens like 'FREE', 'live', and 'matched portfolio receipts' consume space without helping an agent decide or invoke. The parenthetical model chain is informative but could be trimmed.

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?

With only three fully documented parameters and no output schema, the description sensibly enumerates what comes back — structured bottlenecks, failure modes, a 4-node DAG, a 30-day plan — which compensates for the absent return schema. It is nearly complete; only selection guidance against sibling audit tools is absent.

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%, with all three parameters and the mode enum documented in the schema itself, so the baseline of 3 applies. The description's mention of 'workflow and JD' merely echoes the enum and adds nothing about org_hint or input formatting beyond what the schema states.

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?

Names a specific resource and scope: a 'workflow and JD diagnostic' returning bottlenecks, failure modes, a DAG, and a rollout plan. That is far more specific than the bare name and distinguishes it from compile_sop_to_scorm_qti or build_rea_har_agent_sandbox, though it never explicitly contrasts itself with audit_workflow_guardrails_50v, which sounds adjacent.

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 when-to-use or when-not-to-use guidance in the description. The workflow-vs-JD distinction exists only inside the mode parameter's schema description, and nothing tells the agent how to choose between this tool and the similarly scoped audit_workflow_guardrails_50v.

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.