Skip to main content
Glama

DropSlop

Check a draft's changes before publishing

dropslop_diff_gate
Read-onlyIdempotent

CI/CD & CMS Pre-Publish Diff Gate (PASS | WARN | BLOCK). Accepts a unified git diff (diff_text) or before_text + after_text, extracts only added/modified prose blocks (>= 18 words, skipping fenced code, YAML frontmatter, and raw tables), batch-scores AI probability + Brand Voice + banned terms + AI tells + broken markdown links [text](), and returns file/line-anchored annotations.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dropslop_diff_gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
diff_textNoUnified `git diff` string (supports multi-file diffs).
file_pathNodocument.md
after_textNoOptional updated text when not passing `diff_text`.
before_textNoOptional baseline text when not passing `diff_text`.
banned_termsNo
min_block_wordsNo
max_ai_prob_warnNo
voice_profile_idNo
max_ai_prob_blockNo
min_voice_score_warnNo
min_voice_score_blockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare it is a read-only, idempotent, non-destructive, closed-world call; the description goes well beyond that by disclosing the block extraction rules (skip fenced code, YAML frontmatter, raw tables; 18-word floor), the bundled check suite, the PASS/WARN/BLOCK verdict vocabulary, and the annotated return shape. It stops short of saying what happens when neither diff_text nor before/after is supplied, which matters given zero required parameters.

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?

A single dense sentence that front-loads the verdict scheme and the input contract before the processing detail, with no filler. It is information-rich but heavily parenthetical, which makes it a little harder to scan than it needs to be.

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

Completeness3/5

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

For an 11-parameter, no-output-schema tool this covers a lot, but leaves real gaps: no explanation of how numeric thresholds map to WARN vs BLOCK, no guidance on source precedence, and no indication of what the annotation payload contains beyond 'file/line-anchored'.

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?

With only 27% schema description coverage across 11 parameters, the description partially compensates by explaining diff_text, the before_text/after_text pairing, the 18-word floor, and that banned terms and brand voice are evaluated. It leaves the threshold parameters (max_ai_prob_warn/block, min_voice_score_warn/block), voice_profile_id, and file_path's role unexplained, so several inputs remain opaque.

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?

Names a concrete verb+resource ('Pre-Publish Diff Gate') and immediately specifies the accepted inputs (unified git diff or before/after), the extraction filter (added/modified prose >= 18 words), the scoring dimensions, and the returned file/line-anchored annotations. The diff-centric, multi-check gating framing makes it distinguishable from a general detector or critique tool without opening a schema.

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 'CI/CD & CMS Pre-Publish' framing implies when to reach for it, and naming both diff_text and before/after inputs clarifies the two usage modes. However, no sibling alternative (e.g. a single-document detect or critique call) is named, and there is no stated when-not-to-use condition.

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