Skip to main content
Glama

BlackVeil DNS & Email Security Scanner

compare_baseline

Read-onlyIdempotent

Compare a domain's current security configuration against a fixed policy baseline to determine compliance. Use to check whether a domain meets a policy requirement — not for tracking improvement/regression over time (use analyze_drift) and not for comparing multiple domains (use compare_domains).

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": {
      "domain": "<domain>",
      "baseline": "<baseline>"
    },
    "name": "compare_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to scan and compare.
formatNocompact: less text
baselineYesRequired-controls policy (grade/score floors, require_* flags). Not a prior scan; see analyze_drift.
force_refreshNoSkip cache.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / force_refresh / description
      Previous value: -"Bypass the cache."New value: +"Skip cache."
    • changedInput schema / properties / format / description
      Previous value: -"Output verbosity."New value: +"compact: less text"
  2. Changed3 schema fields changed
    • changedInput schema / properties / baseline / description
      Previous value: -"Policy/requirements baseline OBJECT for compliance enforcement — \"does this domain meet these required controls?\" (grade/score floors, require_* flags, max_*_findings). NOT a prior scan. For drift-over-time vs a previous ScanScore (or the literal \"cached\"), use analyze_drift instead."New value: +"Required-controls policy (grade/score floors, require_* flags). Not a prior scan; see analyze_drift."
    • changedInput schema / properties / force_refresh / description
      Previous value: -"Bypass cache and run a fresh check. Useful after DNS changes."New value: +"Bypass the cache."
    • changedInput schema / properties / format / description
      Previous value: -"Output verbosity. Auto-detected if omitted."New value: +"Output verbosity."
  3. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / baseline / additionalProperties
      Previous value: -{}New value: +false
  4. Changed2 schema fields changed
    • changedInput schema / properties / baseline / description
      Previous value: -"Policy baseline requirements."New value: +"Policy/requirements baseline OBJECT for compliance enforcement — \"does this domain meet these required controls?\" (grade/score floors, require_* flags, max_*_findings). NOT a prior scan. For drift-over-time vs a previous ScanScore (or the literal \"cached\"), use analyze_drift instead."
    • addedInput schema / properties / force_refresh
      Added value: +{
      +  "description": "Bypass cache and run a fresh check. Useful after DNS changes.",
      +  "type": "boolean"
      +}
  5. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds that the comparison target is a fixed policy baseline rather than a prior scan, which is useful, but it says nothing about caching/force_refresh behavior or what a compliance result looks like.

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?

Two sentences, front-loaded with the core comparison and outcome, followed by the exclusion guidance. No redundant or filler wording.

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 read-only, idempotent comparison tool with a fully documented schema and annotations covering safety, the definition covers purpose, alternatives and comparison target. The only gap is the shape of the compliance result, which is minor given there is no output schema.

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%, and the nested baseline object already documents grade/score floors and require_* flags, including the 'not a prior scan' note. The description adds little beyond that beyond reinforcing the policy-vs-scan distinction, 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 comparison (current configuration vs. a fixed policy baseline) plus the outcome (determine compliance). It also names the two siblings it is not (analyze_drift, compare_domains), so an agent can distinguish it without opening any schema.

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 gives the when-to-use condition ('check whether a domain meets a policy requirement') and two when-not cases with named alternatives: analyze_drift for time-based tracking and compare_domains for multi-domain comparison. No inference is required.

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.