Skip to main content
Glama

findSimilarParts

Read-onlyIdempotent

Find the part revisions most similar in shape to a given one. Similarity is a geometric shape-descriptor distance: 0 = identical shape, up to ~1.414 = unrelated (cosine ~= 1 - d^2/2). It is rotation- and scale-invariant, so it matches shape/proportion and ignores absolute size and orientation — two parts of the same shape at different sizes score as very similar; use inspectPartRevision for real dimensions. As a rule of thumb distance < 0.05 is a near-duplicate. Requires the part revision's UUID (find one via query(entity="partRevision")).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax neighbours to return (1-20, default 5).
maxDistanceNoOptional distance cut-off. Omit for the nearest N regardless of distance; pass ~0.05 to restrict to near-duplicates only.
partRevisionIdYesUUID of the part revision to find neighbours for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds meaningful behavioral context beyond the readOnlyHint and idempotentHint annotations: it explains rotation/scale invariance, the numeric distance scale (0 to ~1.414), and a rule of thumb for near-duplicates. No contradictions with annotations.

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?

Well-structured with the purpose stated first, followed by the similarity metric, threshold guidance, and prerequisite. Every sentence provides essential information without fluff, making it easy for an agent to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description sufficiently explains what to expect (similar parts) and how to interpret distances, plus provides a threshold. It covers the input requirement and the core semantics, making it complete for a read-only tool. The annotations already handle safety.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description enriches parameter semantics by explaining the meaning of maxDistance (distance cut-off, with ~0.05 for near-duplicates) and ties it to the distance scale. It also gives guidance for obtaining partRevisionId via query, which is beyond the schema's simple 'UUID' description.

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?

Clearly states it finds part revisions most similar in shape, with a precise definition of similarity as a geometric distance. It also explicitly distinguishes itself from inspectPartRevision by noting that real dimensions are covered there, so an agent can tell them apart.

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

Usage Guidelines5/5

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

Provides concrete guidance on when to use it (shape/proportion matching) and when not to (if real dimensions are needed, use inspectPartRevision). Also explains the prerequisite (UUID) and how to obtain it via query(entity='partRevision').

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.

Resources