Skip to main content
Glama

reproleaf

check_rewrite_preservation

Read-onlyIdempotent

Check before/after text blocks for preserved numbers, URLs, formulas, code spans and negation/condition markers.

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": "check_rewrite_preservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
editsNo
beforeNo
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.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=false, so safety and repeatability are covered without the description. The description contributes real value by naming the categories it detects, but it says nothing about what the result looks like (pass/fail vs. list of violations) or how partial edits are reported, which matters for a verification tool with no output schema.

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?

A single front-loaded sentence that leads with the action and scope, then lists the checked categories. No filler, no repetition of the tool name, and nothing that could be trimmed without losing meaning.

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

Completeness2/5

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

For a tool with four parameters, a nested edits array, no output schema, and zero schema-coverage, the description is too thin: it never explains whether to supply top-level before/after or the edits array, how many edits are allowed, or what a failing check yields. It answers "what does this check" but not "how do I call it".

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the burden, yet it only gestures at the before/after string pair. The `edits` array (up to 50 objects with id/before/after/reason) and the top-level `reason` field get no explanation at all, leaving half the parameters with no semantic guidance anywhere.

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

Purpose4/5

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

States a specific verb ("check") and resource ("before/after text blocks") and enumerates exactly what is verified: numbers, URLs, formulas, code spans, and negation/condition markers. An agent can tell this is a preservation/fidelity check rather than a generic audit. It does not explicitly differentiate itself from the many audit_* siblings, so it falls short of a 5.

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 before/after framing implies the use case (verifying a rewrite did not drop critical content), but there is no explicit statement of when to use this versus the sibling checks, no prerequisites, and no guidance on which of the four parameters is required when. Usage is inferable but not stated.

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.