Skip to main content
Glama
This connector has been deprecated

This connector has been replaced by https://glama.ai/mcp/connectors/io.phas/phasio

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")). Needs a subscription to the PRO module.

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": {
      "partRevisionId": "<partRevisionId>"
    },
    "name": "findSimilarParts"
  }
}

Input 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. Changed6 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / limit / default
      Added value: +5
    • addedInput schema / properties / limit / maximum
      Added value: +20
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / partRevisionId / format
      Added value: +"uuid"
    • addedInput schema / properties / partRevisionId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world behavior, and the description adds substantially more: the distance scale (0 to ~1.414), the cosine relationship, rotation/scale invariance, the near-duplicate cutoff, and a PRO module subscription prerequisite. The subscription requirement in particular is behavior an agent cannot infer from any structured field.

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?

Front-loaded with the core purpose, then escalates to metric semantics, invariance caveats, threshold, and prerequisites in a logical order with zero filler. The parenthetical cosine formula is slightly dense but genuinely useful for interpreting scores, so it earns its place.

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 carries the burden of explaining return values and does so via the distance scale, the cosine relation, and the near-duplicate cutoff. It also covers the prerequisite subscription and how to source the required UUID, leaving nothing material an agent needs before calling.

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 baseline is 3; the description earns above that by giving the numeric meaning of maxDistance (omit for nearest N, pass ~0.05 for near-duplicates) and the overall distance scale an agent needs to interpret it. The limit parameter is left to the schema, which is fine given its inline 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?

States a specific verb and resource ('Find the part revisions most similar in shape to a given one') and immediately characterizes the similarity as a geometric shape-descriptor distance, which distinguishes it from inspectPartRevision and query. An agent can tell exactly what it returns without opening the schema.

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?

Explicitly routes the agent: use inspectPartRevision for real dimensions because this tool ignores absolute size and orientation, and obtain the required UUID via query(entity="partRevision"). It also gives a decision threshold (distance < 0.05 for near-duplicates) that governs the maxDistance parameter.

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