dedupe_text
Remove near-duplicate passages
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | List of text passages | |
| threshold | No |
Remove near-duplicate passages
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | List of text passages | |
| threshold | No |
Changes observed during successful MCP inspections.
Input schema / properties / argsRemoved value: -{
- "description": "Tool arguments",
- "properties": {
- "text": {
- "description": "Primary input text",
- "type": "string"
- }
- },
- "type": "object"
-}Input schema / properties / textsAdded value: +{
+ "description": "List of text passages",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}Input schema / properties / thresholdAdded value: +{
+ "default": 0.85,
+ "type": "number"
+}Input schema / requiredPrevious value: -[]New value: +[
+ "texts"
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It states the action but does not explain what 'near-duplicate' means, how the threshold parameter affects behavior, whether order is preserved, or what the output looks like. The mutation/destructive nature of 'remove' is not elaborated.
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?
The description is a single, efficient sentence that front-loads the core purpose. It is appropriately concise, though its brevity borders on under-specification, missing worthwhile behavioral details.
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?
Given two parameters, no annotations, and no output schema, the description is too sparse to fully equip an agent. The threshold behavior is not explained, and the return format is not indicated, making it incomplete for a tool that performs a specific algorithmic operation.
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 only 50%: 'texts' is described as 'List of text passages', but 'threshold' has no schema description and the tool description does not explain it. The phrase 'near-duplicate' hints at a similarity threshold but does not define units or interpretation, leaving the threshold parameter semantically underdocumented.
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 'Remove near-duplicate passages' uses a specific verb ('remove') and resource ('near-duplicate passages'), clearly distinguishing it from sibling tools like compare_texts or text_similarity, which likely compare or measure similarity rather than deduplicate.
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?
No guidance is provided about when to use this tool versus alternatives such as text_similarity or compare_texts. The description implies usage only by its name and phrase, but there is no explicit context, prerequisites, or exclusions.
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.