Skip to main content
Glama
step-security

stepsecurity-mcp

Official

preview_suppression_rule

Preview suppression rule impact: fetches recent detections, filters by proposed conditions, returns count and up to 20 sample alerts with dashboard URLs. Use before creating a rule to verify effectiveness.

Instructions

APPROXIMATE client-side preview of what creating a suppression rule would do. Fetches recent detections of the given detection_id and filters them against the proposed conditions, returning the count and up to 20 samples (with dashboard_url per sample). Use this BEFORE create_suppression_rule to show the user concrete impact. Preview uses exact + wildcard matching — the server's matcher is stricter (CIDR for ip_address, regex), so the final count after create may differ slightly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerNoStepSecurity customer/tenant identifier. Optional — falls back to STEP_SECURITY_CUSTOMER env var.
detectionIdYesDetection type the rule targets, e.g. 'New-Outbound-Network-Call', 'Secret-In-Build-Log', 'Action-Uses-Imposter-Commit'
conditionsYesMatch conditions. Keys: owner, repo, workflow, job (omit or '*' for wildcard), plus type-specific keys like endpoint, ip_address, process, host, file, file_path, secret_type, action.
Behavior5/5

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

Discloses it is approximate, client-side, and explains matching logic differences (exact/wildcard vs CIDR/regex). No annotations provided, so description fully carries the behavioral transparency burden.

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?

Concise, front-loaded with core purpose, each sentence adds value: preview action, output description, usage timing, and matching approximation note.

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?

Describes output (count and up to 20 samples with dashboard_url) despite no output schema. Covers approximation and matching differences. Complete for a preview tool.

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

Parameters5/5

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

Schema coverage is 100%, but description adds context by explaining detectionId as detection type and conditions as match keys with examples. Provides meaning beyond schema alone.

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?

Description clearly states it is a client-side preview of suppression rule impact, fetches recent detections, filters conditions, returns count and samples. Distinguishes from create_suppression_rule by advising use before creation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states to use this tool before create_suppression_rule to show concrete impact. Also warns that preview matching is approximate and server matching may differ, guiding proper usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/step-security/stepsecurity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server