Skip to main content
Glama

mechacut

list_dedupe

Dedupe a list keeping the first occurrence and the original values: modes exact | text (NFC, whitespace, casefold) | url (scheme/host case, default ports, trailing slash, fragment, sorted query) | email (lowercase local@domain). Free.

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": {
      "items": "<items>"
    },
    "name": "list_dedupe"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNotext
itemsYesthe list to dedupe

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does state the important semantics: first occurrence wins, original values are preserved, and each mode's normalization scope is spelled out. It stops short of error behavior, empty lists, unhashable items, and whether 'Free' means no rate limit or cost, which matter for an unannotated tool.

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?

One front-loaded sentence with no filler; the retention rule comes before mode detail. The four-mode catalog is compressed into nested parentheticals, which is dense but still scannable and every clause carries semantic weight.

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 two-parameter pure transformation with no output schema, the definition supplies what an agent needs: what is deduped, what is preserved, and how each mode normalizes. Output shape (a reduced list, original order) is only implied, which is the one small gap.

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 coverage is only 50%: items is described but mode carries no schema description. The description compensates well, defining each enum value's normalization rules (NFC, whitespace, casefold; scheme/host case, default ports, trailing slash, fragment, sorted query; lowercase local@domain), far beyond what the enum alone conveys. It omits the 'default: text' detail, which is already in the schema.

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?

The description names a specific verb (dedupe) and resource (list) and immediately qualifies the retention rule: 'keeping the first occurrence and the original values.' That is more precise than the bare name. It does not differentiate against a sibling tool, but no sibling in the supplied list offers competing dedupe behavior, so there is little to disambiguate.

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?

Usage is implied through the mode catalog rather than stated: an agent can infer that url mode is for URLs and email mode for addresses, but the description never says when to pick text versus exact, nor does it state exclusions or preconditions. The 'Free' tag hints at cost/rate concerns without explaining them.

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.