Skip to main content
Glama

dedupe_text

Remove near-duplicate passages

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textsYesList of text passages
thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / args
      Removed value: -{
      -  "description": "Tool arguments",
      -  "properties": {
      -    "text": {
      -      "description": "Primary input text",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / texts
      Added value: +{
      +  "description": "List of text passages",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / threshold
      Added value: +{
      +  "default": 0.85,
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "texts"
      +]
  2. Added

TDQS

C2.9/5.0
Behavior2/5

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.

Conciseness4/5

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.

Completeness2/5

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.

Parameters2/5

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.

Purpose5/5

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.

Usage Guidelines2/5

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.