Skip to main content
Glama

linked.is

Remove Duplicate Lines

remove_duplicate_lines
Read-onlyIdempotent

Remove duplicate lines while keeping the first occurrence and the original order. Case sensitive and trim whitespace are on by default, matching the website tool. Empty lines are deduplicated when trimming is on. No API token.

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": {
      "text": "<text>"
    },
    "name": "remove_duplicate_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText with one entry per line, up to 100,000 characters.
caseSensitiveNoWhen false, Apple and apple are the same line.
trimWhitespaceNoTrim each line before comparing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/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 is covered. The description adds genuinely new behavior: the default state of both flags, the interaction where empty lines are only deduplicated when trimming is on, and that no API token is required. It does not describe the output shape, but for a pure text transform that is a minor omission.

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?

The retention rule is front-loaded, then defaults, then the edge case, then the auth note — a logical order with no filler. The final sentence ("No API token") is short and useful for setup, though it sits slightly apart from the rest of the content.

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?

A three-parameter pure transformation with full schema coverage, annotations covering the safety profile, and no output schema — the description covers everything an agent needs to call it correctly. Only the return format (whether the result is a string or a line count) is unstated, and that is trivially inferable.

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 description coverage is 100%, so the baseline is 3, and the description earns above baseline by documenting cross-parameter behavior the schema cannot express: empty lines being collapsed only when trimWhitespace is enabled. It also restates the defaults, which is mildly redundant with the schema default values.

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 ("Remove duplicate lines") plus the exact retention rule ("keeping the first occurrence and the original order"). That scope statement lets an agent know precisely what the output preserves, which is the distinguishing behavior of a dedup tool.

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?

There is no explicit when-to-use or when-not guidance, nor any named alternative. Given the sibling list contains only unrelated utilities (codecs, link builders, color conversion), there is little to disambiguate, but the description still leaves selection entirely implied.

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.