Skip to main content
Glama

Triage Dependencies

triage_dependencies
Read-onlyIdempotent

Run a first-pass screen of a dependency list: resolve each component's license, rate risk for a scenario, and flag HIGH, BLOCK, or UNKNOWN to set a pass/fail gate.

Instructions

A first pass over a dependency list: each component's license resolved and rated for the scenario (SPDX expressions: OR takes the least risky choice, AND the most). gate is "fail" if anything is HIGH, BLOCK or UNKNOWN. A first pass only, not a compliance review.

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": {
      "components": "<components>"
    },
    "name": "triage_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
scenarioNoHow the product is used.distribute
componentsYesOne license or SPDX expression per line, or CSV/TSV text with a license column (and optionally name or component). At most 500 rows.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.14.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description still adds substantive behavior: SPDX OR takes the least risky choice, AND the most, and `gate` is "fail" when anything is HIGH, BLOCK or UNKNOWN. Those rules materially change how an agent interprets the result and are not derivable from the annotations or schema.

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?

Three short sentences, front-loaded with the core purpose and followed by the resolution rule and the gate rule. No filler or restatement of the name, and the scope caveat closes it cleanly.

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

Completeness5/5

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

With an output schema present, the description needn't document return shape, yet it still explains the one output field that matters for decisions (`gate`). Both parameters are schema-documented, and the 500-row cap lives in the schema, so nothing an agent needs to call this correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description goes further by explaining how license expressions in `components` are evaluated (OR = least risky, AND = most risky). That adds interpretive meaning beyond the schema's format description, though it says nothing extra about `scenario` values.

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?

The description names a specific verb and resource — 'a first pass over a dependency list' where each component's license is 'resolved and rated for the scenario'. It also bounds the scope against a full compliance review, which separates it from a heavier sibling such as license_obligations, though it never names an alternative directly.

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?

There is a clear usage frame: use this for an initial pass over a dependency list, not for a compliance review. That gives an exclusion, but no named alternative tool is offered for the compliance-review case, so the routing guidance stops short of the top band.

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