Skip to main content
Glama
Tetragon
by wckdboy

find_repeated_elements

Find repeated elements by type across a project or workspace as candidates for one reusable family, grouping member IDs and suggesting save_family parameters while ignoring specified dimensions.

Instructions

Find elements that share one type, in one project or across the workspace: candidates to save once as a family and reuse. Groups list member IDs per project, the families already in use, saved families or presets the type already matches, and suggested_parameters (the values that differ from schema defaults) ready for save_family. ignore_parameters (e.g. width_mm, height_mm) leaves those to each instance, so one family covers several sizes. Placement and joins never split a group.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_repeated_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNo
limitNo
min_countNo
project_idNo
ignore_parametersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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, and it does disclose a lot: what each group contains (member IDs per project, families in use, matching saved families/presets, suggested_parameters) and the rule that placement and joins never split a group. However it never states that the operation is read-only/non-mutating, nor how limit or min_count affect results, so significant behavioral gaps remain for an unannotated tool.

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?

Four dense sentences, front-loaded with the purpose before the output shape and the ignore_parameters tip. Every clause carries information; nothing is padding, though the middle sentence packing five return fields is somewhat heavy.

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?

There is no output schema, and the description compensates by describing the contents of each group, which is the most important thing an agent needs to consume results. Remaining gaps are the undocumented limit/min_count semantics and the absence of an explicit read-only statement.

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 description coverage is 0%, so the description must compensate. It explains ignore_parameters with concrete examples (width_mm, height_mm) and its effect, and implies project_id via 'one project or across the workspace', but kinds, limit, and min_count are left entirely undocumented in both schema and description.

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?

States a specific verb and resource ('Find elements that share one type') plus scope ('in one project or across the workspace') and the downstream goal ('candidates to save once as a family and reuse'). It is clearly distinguishable from siblings such as get_family_usage or save_family, though it does not name an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is well framed: use it to identify reuse candidates, and it explicitly hands off to save_family via suggested_parameters. It also explains the ignore_parameters tactic for covering multiple sizes with one family. No explicit exclusions or when-not guidance are given.

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