Skip to main content
Glama
@ansvar/supply-chain-security-mcp

@ansvar/supply-chain-security-mcp

get_slsa_level

Retrieve a specific SLSA framework requirement by requirement ID to view its level, description, evidence types, verification criteria, build guidance, and cross-mappings.

Instructions

Retrieve a specific SLSA framework requirement by its requirement ID. Use when you know the exact requirement ID to get full details: level, description, evidence types, verification criteria, build system guidance, and framework cross-mappings. Essential for understanding what a specific SLSA requirement demands.

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": {
      "requirement_id": "<requirement_id>"
    },
    "name": "get_slsa_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
requirement_idYesSLSA requirement ID (e.g., SLSA-L1-SOURCE-001, SLSA-L3-BUILD-002)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the disclosure burden and does so well by enumerating the returned payload: level, description, evidence types, verification criteria, build system guidance, and framework cross-mappings. It omits how it behaves on an unknown or malformed requirement ID (error vs empty result), which is the main remaining behavioral gap.

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 action and the ID condition, followed by the return inventory. The closing sentence ('Essential for understanding what a specific SLSA requirement demands') largely restates the already-listed return fields and could be dropped without loss.

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?

For a single-parameter lookup with no output schema, the description compensates by describing the response contents in useful detail, and the required parameter is fully covered by the schema. Only edge-case behavior (nonexistent ID, cross-framework ID formats) is left unexplained.

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 documents requirement_id with concrete example formats (SLSA-L1-SOURCE-001, SLSA-L3-BUILD-002). The description's 'by its requirement ID' restates rather than extends the schema, so the baseline of 3 applies.

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 uses a specific verb and resource ('Retrieve a specific SLSA framework requirement by its requirement ID') and scopes it to exact-ID lookups, which implicitly contrasts with the sibling search_slsa_requirements. It stops short of naming the search sibling explicitly, but an agent can still tell which one to pick.

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?

'Use when you know the exact requirement ID' provides a clear selection condition that separates this from keyword/browse-style lookups. It gives no explicit when-not case or fallback behavior when the ID is unknown, which keeps it out 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.