Skip to main content
Glama
deep-agentic-core-mcp

deep-agentic-core-mcp

Official

Analyze Workflow

lens.analyze_workflow
Destructive

Analyze an AgenticLens-compatible workflow artifact to review recommendations with provenance details and see how many resolve.

Instructions

Analyze an AgenticLens-compatible workflow artifact. Each recommendation carries a provenance block (artifact digest, workflow step, evidence span IDs, producer) and the response summarizes how many resolve.

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": {
      "artifact": "<artifact>"
    },
    "name": "lens.analyze_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
artifactYes
session_idNoSession to read/write shared state under. Defaults to 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, yet the description frames the operation purely as "Analyze" with no disclosure of what is written, mutated, or destroyed. The only real behavioral content added is the shape of the provenance block and a count summary; the mutation implication of session_id "read/write shared state" is never addressed, so an agent could easily mistake this for a safe read.

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

Conciseness4/5

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

Two sentences, front-loaded with the operation and followed by output characteristics; nothing is padded. The phrase 'how many resolve' is slightly opaque, but the structure is efficient.

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?

Given the tool has no output schema, the description usefully characterizes the return (recommendations with provenance fields, plus a resolution summary). For a destructive, nested-object tool with 50% schema coverage, this is reasonably complete at the output end, though it omits what the analysis actually evaluates and the mutation side effects.

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 50% and the two-sentence description adds little: 'AgenticLens-compatible workflow artifact' gives a loose type hint for the undescribed, nested `artifact` parameter but no structure, required fields, or digest expectations. `session_id` is fully documented in the schema, so the description neither compensates for the gap nor misleads.

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

Purpose3/5

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

The description gives a verb+resource ("Analyze an AgenticLens-compatible workflow artifact") and hints at the output (recommendations with provenance blocks), but "analyze" is vague about what analysis actually happens and no sibling tool is named or contrasted. An agent cannot tell from this text how it differs from lens.optimization_analyze, lens.score_analysis, or evals.validate_artifact.

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 guidance, no prerequisites (what makes an artifact 'AgenticLens-compatible'), and no mention of alternatives in a crowded sibling set. The agent must infer selection from the name alone.

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