Skip to main content
Glama
blackduck-mcp

blackduck-mcp

analyze_component

Analyze a component name and version to confirm vulnerabilities and determine a recommended upgrade path.

Instructions

High-level analysis: given a component name and version, confirms vulnerabilities and identifies the safest upgrade path

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": {
      "componentName": "<componentName>",
      "currentVersion": "<currentVersion>"
    },
    "name": "analyze_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentNameYesThe name of the component to analyze (e.g. 'log4j')
currentVersionYesThe current version string to check (e.g. '1.2.17')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the two behaviors performed (vulnerability confirmation and upgrade-path selection), which is genuinely useful, but it says nothing about read-only nature, cost/latency of the analysis, whether it queries external sources, or what the response contains.

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?

A single sentence that front-loads the classification 'High-level analysis' and then enumerates both outputs. No filler, no restatement of the tool name.

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

Completeness3/5

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

For a two-parameter read tool with no output schema and no annotations, the description sketches what comes back (vulnerability confirmation, safest upgrade path) but gives no structure, confidence, or failure behavior. It is adequate to select and call the tool but leaves the agent guessing about result shape.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3; the description reinforces that the two inputs are a component name and a version and frames them as the minimum needed for the analysis. It adds little beyond the schema but does not leave ambiguity about what the inputs mean.

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 operation (high-level analysis of a component at a version) with two concrete outcomes: confirming vulnerabilities and identifying the safest upgrade path. This distinguishes it in spirit from the narrower siblings like get_version_vulnerabilities and get_upgrade_guidance, but it never explicitly states that it is a composite of those.

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

Usage Guidelines3/5

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

The phrase 'High-level analysis' implies this is the one-shot option versus the granular sibling tools, but there is no explicit when-to-use or when-not-to-use guidance and no named alternative. The agent must infer the tradeoff between this and calling the two narrower tools separately.

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