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

@ansvar/supply-chain-security-mcp

search_attack_patterns

Search supply chain attack patterns by topic with MITRE ATT&CK mapping, then filter by ecosystem to investigate dependency confusion, typosquatting, or build compromise.

Instructions

Full-text search across supply chain attack patterns with MITRE ATT&CK mapping. Use to find attacks about a topic (e.g., "dependency confusion", "typosquatting", "build compromise"). Supports filtering by ecosystem (npm, PyPI, Maven, etc.).

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": {
      "query": "<query>"
    },
    "name": "search_attack_patterns"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch text (e.g., "dependency confusion", "typosquatting", "malicious package", "CI/CD")
ecosystemNoFilter by package ecosystem (e.g., "npm", "PyPI", "Maven", "RubyGems", "Go")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that this is a full-text search with MITRE ATT&CK mapping and ecosystem filtering, which reasonably implies a non-destructive read operation. However, it omits result format, ranking behavior, pagination, and rate-limit information.

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?

The description is three compact sentences with no filler. It front-loads the tool's core operation and follows with use cases and filtering support.

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 simple two-parameter search tool with no output schema, the description covers purpose, use cases, and the optional filter. The main remaining gap is that it does not describe what search results contain or how they are ordered or paginated.

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 description coverage is 100%, so the schema already documents both the query and ecosystem parameters with examples. The description does not add materially beyond what the schema provides; its query and ecosystem examples mirror the schema examples.

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 states a specific verb and resource: full-text search across supply chain attack patterns. It also names MITRE ATT&CK mapping and topic examples, making the tool's role clear. It does not explicitly distinguish itself from the sibling get_supply_chain_attack, but the name and verb imply search-versus-retrieve.

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?

It gives clear when-to-use guidance: to find attacks about a topic such as dependency confusion or typosquatting. It also explains that results can be filtered by ecosystem. It does not state when not to use it or explicitly point to alternatives for exact-attack lookup.

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