Skip to main content
Glama

make_baseline

Read-onlyIdempotent

Generates baseline ignore entries for current secret-scan findings so future scans report only new issues; copy fingerprints into .secretscan-ignore after verifying false positives or rotation.

Instructions

Return the lines to put in /.secretscan-ignore so the CURRENT findings are accepted (a baseline) and only new ones are reported later. Only fingerprints are listed, never values. This server does not write the file: copy the text into it yourself, after checking each finding really is a false positive or already rotated. Accepting a live secret hides it; rotate real ones instead.

Args: path: project directory. include_history: also include secrets found in git history. max_commits: history depth if include_history is true.

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": {
      "path": "<path>"
    },
    "name": "make_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
max_commitsNo
include_historyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it states the server does not write the file, that only fingerprints (never values) are emitted, and that accepting a live secret will hide it. Those are the exact behavioral risks an agent needs to know before calling.

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?

Front-loads the primary outcome, then the safety caveat, then a clean Args block. Minor redundancy between "lines to put in <repo>/.secretscan-ignore" and "This server does not write the file: copy the text into it yourself," but every sentence still carries information.

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?

An output schema exists, so return values need no explanation; the description instead covers the workflow (generate, review, copy manually) and the risk of misuse. Nothing an agent needs to invoke this correctly is missing.

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

Parameters4/5

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

Schema coverage is 0%, and the description compensates by documenting all three args, including the dependency that max_commits only applies when include_history is true. It omits the default values (500/false) and the expected form of `path`, so it is strong but not exhaustive.

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 concrete verb and output ("Return the lines to put in <repo>/.secretscan-ignore") plus the effect of using it (current findings accepted, only new ones reported). That framing distinguishes it from scanning siblings like scan_tree/scan_history without needing to name them.

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?

Gives clear preconditions and a caution: verify each finding is a false positive or already rotated before copying the text in, and rotate real secrets instead of accepting them. It does not explicitly route to an alternative tool (e.g., suggest_remediation) when secrets are live, but the when-to-use context is unambiguous.

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