x402-dedupe
Dedupe: Remove duplicate values from an array. Provide values; returns the array with unique elements preserved in order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Dedupe: Remove duplicate values from an array. Provide values; returns the array with unique elements preserved in order.
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Changes observed during successful MCP inspections.
Input schema / properties / valuesAdded value: +{
+ "description": "Values to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It does disclose one meaningful behavioral trait beyond the name — that unique elements are 'preserved in order' — and states the return shape, which helps. But it omits how the input string is delimited/parsed into values and whether comparison is case-sensitive, both of which materially affect results for a dedupe operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences that are front-loaded with the operation and followed by the input/output contract; no padding. It loses a point only for restating the tool name ('Dedupe:') before the actual explanation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial one-parameter utility with no annotations and no output schema, the description is adequate but incomplete: the input delimiter/format and the uniqueness comparison rules are unspecified, and sibling overlap is left unaddressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline of 3 applies. The description says only 'Provide values', mirroring the equally vague schema text ('Values to process'), and adds nothing about how the single string parameter is split into array elements — a notable ambiguity given the mismatch between the string type and the 'array' wording.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('Remove duplicate values from an array') and describes the transformation unambiguously. However, it does nothing to distinguish this from near-identical siblings such as x402-remove-duplicates, x402-unique-array, and x402-remove-duplicates-words, so an agent cannot tell them apart from the text alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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-to-use guidance, and no alternative sibling is named. With several duplicate-removal and uniqueness tools in the catalog, the absence of routing guidance is a real gap rather than a minor omission.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.