Skip to main content
Glama
echo-check-mcp

echo-check-mcp

check_duplicates

Find duplicate records in fixed-width files and return structured groups with line numbers, masked keys, and counts per rule; read-only with configurable max groups.

Instructions

Find duplicate records in a fixed-width file and return structured results.

Use this when you need the actual duplicate groups: line numbers, masked keys, counts per rule. Use check_and_summarize instead when the user wants a plain-English overview. Do not call both for the same question. Read-only; sensitive values are masked. Up to max_groups groups per rule; truncated is true when more exist.

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": {
      "file_path": "<file_path>",
      "config_name": "<config_name>"
    },
    "name": "check_duplicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes
max_groupsNo
config_nameYes

Output Schema

NameRequiredDescriptionDefault
fileYes
rulesYes
statsYes
configYes
batchesYes
bad_linesYes
total_linesYes
bad_line_countYes
records_checkedYes
bad_lines_truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description still discloses the safety profile (read-only, sensitive values masked) and the truncation contract (max_groups groups per rule, truncated=true when more exist). It stops short of noting input limits such as file size or error behavior on a malformed file, so it is strong but not exhaustive.

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?

Four short sentences, all load-bearing: purpose first, routing second, safety third, output contract last. No restatement of the name and no filler.

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?

An output schema exists, so return values need no prose, and the description covers routing, safety, and truncation for a moderate-complexity read tool. The remaining gap is practical setup: nothing says how to obtain a valid config_name or what happens on a nonexistent file.

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 coverage is 0%, so the description must carry parameter meaning; it partially does by explaining max_groups ('up to max_groups groups per rule') and what truncated signals. file_path and config_name get no explanation at all, and there is no hint that config_name must come from list_configs, leaving half the surface undocumented.

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 resource ('Find duplicate records in a fixed-width file') plus the result shape ('structured results'). It also contrasts itself with the sibling check_and_summarize, so an agent can pick between them without opening either 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?

Explicit when-to-use ('when you need the actual duplicate groups'), an explicit alternative with its own selection condition ('plain-English overview'), and an explicit exclusion ('Do not call both for the same question'). This is the full when/when-not/alternative triad.

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