Skip to main content
Glama

generate_sast_pipeline

Generate Static Application Security Testing (SAST) CI pipeline with Semgrep, CodeQL, Snyk Code, or SonarQube configuration and reporting

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": {
      "platform": "<platform>"
    },
    "name": "generate_sast_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsNo
platformYes
languagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It says nothing about what gets produced (workflow YAML file? config fragment?), whether existing files are overwritten, or what the caller receives back — only that configuration and reporting are included.

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 front-loaded sentence that identifies the action, the domain, and the supported tool set with no filler or redundancy.

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

Completeness2/5

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

With no output schema and no annotations, the description should explain what artifact is generated and how the three parameters shape it. It leaves the required platform parameter unexplained and never states the output form, so an agent cannot predict the result of calling it.

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

Parameters2/5

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

Schema description coverage is 0%. The description names the four scanner values, which partially mirrors the 'tools' enum, but it says nothing about the required 'platform' choice (github-actions/gitlab-ci/jenkins) or what values 'languages' accepts and how they influence the generated config.

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?

States a specific verb ('Generate') plus a precisely scoped resource ('SAST CI pipeline') and names the supported scanners (Semgrep, CodeQL, Snyk Code, SonarQube). The SAST qualifier distinguishes it from generic pipeline siblings like generate_test_ci_pipeline, though it never names or routes to them.

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 SAST/CI framing implies when to reach for it (adding security scanning to a CI pipeline), but there is no explicit when-to-use, no prerequisites, and no guidance on choosing this over the many other generate_*_pipeline siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.