Skip to main content
Glama

dedupe_against_section

Compare newly generated test cases with existing ones in a TestRail section to flag duplicates using token overlap analysis.

Instructions

Check generated cases against what's already in a TestRail section.

Uses title-token overlap (no embeddings) — fast, deterministic. Returns:

  • kept: list of {case, reason} that look new

  • duplicates: list of {case, existing_id, existing_title, overlap} threshold is the minimum token-overlap (0..1) to flag as duplicate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
casesYes
suite_idNo
thresholdNo
project_idNo
section_idYes
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 explains the algorithm (token overlap, no embeddings) and the output format. It does not explicitly state that the tool is read-only or describe side effects, but the behavior is reasonably transparent for a deduplication function.

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 concise, with two short paragraphs. The purpose is stated first, followed by algorithmic details and output structure. No superfluous text. It could be slightly more compact, but it is well-organized.

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?

Given the absence of an output schema, the description adequately explains the return format. It covers the algorithm, threshold parameter, and lists the output fields. It omits details about the required fields in `cases` and the exact role of `section_id`, but overall it is complete enough for an AI agent to use correctly.

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 0%, so the description must compensate. It explains `threshold` (with range and purpose) and implies the purpose of `cases` and `section_id`. However, `suite_id` and `project_id` are not mentioned, leaving gaps. The description adds value for some parameters but is incomplete.

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 clearly states the tool checks generated cases against existing ones in a TestRail section using title-token overlap. The verb 'check' is somewhat generic, but the context makes the purpose clear. It does not explicitly differentiate from sibling tools like search_test_cases, but the purpose is distinct enough.

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?

The description implies usage when you have generated cases and need to deduplicate against a section. However, it offers no guidance on when not to use it or alternatives among siblings. The context is clear but lacks exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sergey-Bl/testrail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server