Skip to main content
Glama

analyze_workflow

Analyze a workflow by ID to uncover its member nodes, inference signals, top risk members with score breakdowns, and runtime-risk hypotheses. Use after listing workflows for a focused deep-dive.

Instructions

Deep-dive on one workflow by id: member nodes (up to 500), the inference signals that placed each member there with their weights, the top 5 members by risk with full score breakdowns, and runtime-risk hypotheses. Use after list_workflows identifies the workflow you care about.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdYesWorkflow identifier from list_workflows (e.g. 'payments', 'authentication').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • changedInput schema / properties / workflowId / description
      Previous value: -"Workflow identifier from list_workflows (e.g., 'payments', 'authentication', 'webhooks')."New value: +"Workflow identifier from list_workflows (e.g. 'payments', 'authentication')."
  2. Changed1 schema field changedv2.1.10
    • addedInput schema / properties / workflowId / description
      Added value: +"Workflow identifier from list_workflows (e.g., 'payments', 'authentication', 'webhooks')."
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It lists the output components (useful) but does not state whether the operation is read-only, potential side effects, or error behavior. This is a partial disclosure for an analysis tool.

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 with no redundancy. The first sentence front-loads the core purpose and outputs; the second gives a clear usage directive. Every word earns its place.

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 one parameter and a clear description of the tool's returns, the essential usage is covered. It lacks error handling and side-effect disclosure, but for a deep-dive analysis tool, it's fairly complete.

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 schema already describes workflowId as a workflow identifier from list_workflows. The description reinforces this but adds no new semantics beyond the schema, so baseline 3 is appropriate.

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 'Deep-dive' on 'one workflow by id' and enumerates the returned data (member nodes, signals with weights, top 5 risk members, runtime-risk hypotheses). Clearly distinguishes from list_workflows which lists workflows, and from other analyze_* siblings.

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

Usage Guidelines4/5

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

Explicitly instructs to use after list_workflows identifies the workflow, providing a clear prerequisite and sequencing. However, it doesn't mention alternatives or when not to use this tool, so it misses the 'when-not' aspect.

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