Skip to main content
Glama

ScorpTech x402 Tools

Gha Workflow Lint

gha_workflow_lint
Read-onlyIdempotent

Security audit of a GitHub Actions workflow YAML (zizmor / actionlint style): pwn-request checkouts under pull_request_target / workflow_run, script injection from attacker-controlled ${{ github.event.* }} contexts in run: and github-script, actions not pinned to a commit SHA, missing or write-all permissions, toJSON(secrets), secrets in workflow-wide env, self-hosted runners on PR triggers, persisted checkout credentials, disabled ::set-env / ::add-path commands, curl | bash, cache poisoning in release workflows, artifact poisoning, spoofable bot-actor conditions and hard-coded credentials. Findings carry line numbers, severity and the fix. Returns JSON with: name, triggers, jobs, steps, score, counts, findings, actions. Price: $0.003 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/gha-workflow-lint

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": {
      "workflow": "<workflow>"
    },
    "name": "gha_workflow_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflowYesWorkflow file content (.github/workflows/*.yml)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive safety profile, and the description adds substantive context beyond them: findings carry line numbers, severity and a fix; the response shape is enumerated; and the billing model ($0.003 USDC per successful call via x402, Base or Solana) plus an HTTPS endpoint are disclosed. It does not mention rate limits or failure/error behavior for malformed YAML, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and return shape are front-loaded, but the check taxonomy is delivered as one very long comma-delimited sentence that is hard to scan. Every item is informative yet the list could be grouped or trimmed without losing meaning.

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 one-parameter, no-output-schema tool, the definition supplies the return fields, severity/fix semantics, and payment/auth context an agent needs to call it and interpret results. A note on behavior with invalid or non-Actions YAML is the main remaining gap.

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% with a single required 'workflow' string already documented as workflow file content, so the schema does the heavy lifting. The description adds nothing about acceptable input (size limits beyond the schema's maxLength, encoding, whether partial fragments are valid), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Security audit of a GitHub Actions workflow YAML' — and names the concrete detector families (pwn-request, script injection, unpinned actions, permissions). The resource type alone separates it from dockerfile_lint and k8s_manifest_lint, which target different manifest types.

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 enumerated check list makes the tool's scope implicit (use it on .github/workflows/*.yml before merging), but there is no explicit when-to-use / when-not-use statement and no routing to alternatives such as actionlint-style tools or the sibling linters. The agent must infer applicability from the resource description.

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.

Resources