Skip to main content
Glama

content_deduplication

Removes duplicate structured content items by canonical URL and title similarity, returning surviving objects and a mergedFrom list as JSON.

Instructions

Deduplicate structured {title, url, snippet} items by canonical URL and title similarity; returns surviving objects plus a mergedFrom list as JSON

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": {
      "content": "<content>"
    },
    "name": "content_deduplication"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesArray of content items to deduplicate
similarityThresholdNoSimilarity threshold (0-1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.3

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 burden; it does disclose the matching strategy and the return shape (surviving objects plus a mergedFrom list), which is genuinely useful. It does not state which duplicate wins, whether the input array is mutated, or that the operation has no side effects, so the mutation-safety profile is left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the verb first, the matching criteria second, and the return contract last. Every clause adds information and nothing is redundant.

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 tool with no output schema, the description does the important work of sketching the return value (surviving objects plus mergedFrom) so the agent knows what to expect. The remaining omission is which item survives a merge and how the threshold affects results, which matters for interpreting output.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented in the schema, including the 0-1 bounds and default of 0.8. The description implies the threshold governs title similarity, but never states that connection explicitly or explains what a lower or higher threshold does to recall.

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 (deduplicate), the exact resource shape ({title, url, snippet} items), and the matching method (canonical URL plus title similarity). No sibling in the list performs deduplication, so the absence of explicit sibling routing is not a real gap.

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 only implied: an agent can infer this is a post-processing step to run on collected results before summarization or export. There is no explicit statement of when to call it, when not to, or what to do with the mergedFrom output.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.