Skip to main content
Glama

Xem Studio: Part Dimensions & CAD

Identify an object from measured sizes

find_by_dimensions
Read-onlyIdempotent

Identify what an object is from one to four sizes you measured (an outline, a bore, a pin, a flange) when you do not know its name; use find_geometry when you do. Each size is compared, within tolerance_mm, against every object's overall size in any order and against its exact feature sizes (bores, slots, pins, size-table rows). Results are ranked with all overall sizes matching first, then by the number of matching features, and each says which of your numbers matched where. No match is not an error: widen tolerance_mm (0.2 suits caliper readings of machined parts, 1 suits rough measurements) or file request_object. Read-only, no auth, no charge; same catalog snapshot as find_geometry.

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": {
      "sizes_mm": "<sizes_mm>"
    },
    "name": "find_by_dimensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryNoExact category from list_categories, to narrow the search.
sizes_mmYesOne to four measured sizes in mm, e.g. [40, 80] for a profile or [10.5] for a bore.
tolerance_mmNoAllowed difference per size; default 0.5.

Output Schema

NameRequiredDescriptionDefault
nextNoWhat to call next.
totalYesObjects with at least one match.
resultsYesBest matches first, at most 25.
sizes_mmNoThe sizes searched, as parsed.
tolerance_mmNoTolerance applied per size.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Optional exact category from list_categories to narrow the search."New value: +"Exact category from list_categories, to narrow the search."
    • changedInput schema / properties / sizes_mm / description
      Previous value: -"One to four sizes in mm, e.g. [40, 80] for a profile, [10.5] for a bore."New value: +"One to four measured sizes in mm, e.g. [40, 80] for a profile or [10.5] for a bore."
    • changedInput schema / properties / tolerance_mm / description
      Previous value: -"Allowed difference per size, default 0.5. Use about 0.2 for caliper readings of machined parts, 1 for rough measurements."New value: +"Allowed difference per size; default 0.5."
    • addedOutput schema / properties / next / description
      Added value: +"What to call next."
    • addedOutput schema / properties / results / description
      Added value: +"Best matches first, at most 25."
    • addedOutput schema / properties / results / items / properties / all_overall_sizes_match / description
      Added value: +"True when every size you gave matched an overall dimension."
    • addedOutput schema / properties / results / items / properties / free_files / description
      Added value: +"Free STEP/STL files on the object."
    • addedOutput schema / properties / results / items / properties / matching_features / description
      Added value: +"Feature matches, up to five."
    • addedOutput schema / properties / results / items / properties / matching_features / items / additionalProperties
      Added value: +true
    • addedOutput schema / properties / results / items / properties / matching_features / items / description
      Added value: +"A mating feature that matched: feature, exact size, what it mates with, fit class, and which of your sizes matched."
    • addedOutput schema / properties / results / items / properties / name / description
      Added value: +"Display name."
    • addedOutput schema / properties / results / items / properties / overall_mm / additionalProperties
      Added value: +true
    • addedOutput schema / properties / results / items / properties / overall_mm / description
      Added value: +"The object's overall size in mm."
    • addedOutput schema / properties / results / items / properties / size_table_rows_matched / description
      Added value: +"Rows of the object's size table containing a matching number."
    • addedOutput schema / properties / results / items / properties / slug / description
      Added value: +"Object slug for the other tools."
    • addedOutput schema / properties / results / items / properties / url / description
      Added value: +"Object page."
    • addedOutput schema / properties / sizes_mm / description
      Added value: +"The sizes searched, as parsed."
    • addedOutput schema / properties / tolerance_mm / description
      Added value: +"Tolerance applied per size."
    • addedOutput schema / properties / total / description
      Added value: +"Objects with at least one match."
  2. Changed4 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Optional exact category to narrow the search."New value: +"Optional exact category from list_categories to narrow the search."
    • changedInput schema / properties / sizes_mm / description
      Previous value: -"Sizes in mm, e.g. [40, 80] for an outline, [10.5] for a bore, [47.5, 64] for a bore and a flange."New value: +"One to four sizes in mm, e.g. [40, 80] for a profile, [10.5] for a bore."
    • changedInput schema / properties / tolerance_mm / description
      Previous value: -"How close a size must be, default 0.5 mm."New value: +"Allowed difference per size, default 0.5. Use about 0.2 for caliper readings of machined parts, 1 for rough measurements."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "next": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "all_overall_sizes_match": {
      +            "type": "boolean"
      +          },
      +          "free_files": {
      +            "type": "integer"
      +          },
      +          "matching_features": {
      +            "items": {
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "overall_mm": {
      +            "type": "object"
      +          },
      +          "size_table_rows_matched": {
      +            "type": "integer"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "name"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "sizes_mm": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    },
      +    "tolerance_mm": {
      +      "type": "number"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  3. Added

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/no-destructive, so this goes well beyond the baseline: it discloses the ranking order (all overall sizes matching first, then feature match count), that sizes are compared in any order, that each result reports which numbers matched where, and that the catalog snapshot is the same as find_geometry. It even states no auth and no charge.

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 identifying purpose and the find_geometry contrast are front-loaded, and every sentence carries operational content. The single dense paragraph packs several clauses together, so it would read better split into separate sentences, but there is no filler.

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?

For a 3-parameter tool with full schema coverage, an output schema, and read-only annotations, this covers everything an agent needs: when to call it, how matching and ranking work, what a miss means, and how to tune tolerance. No gaps remain.

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 would be 3, but the description adds real meaning: sizes_mm is order-independent, is matched against both overall dimensions and exact feature sizes (bores, slots, pins, size-table rows), and tolerance_mm carries concrete calibration guidance (0.2 for caliper readings, 1 for rough measurements).

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 — "Identify what an object is from one to four sizes you measured" — and immediately contrasts with the sibling find_geometry when the name is known. An agent can distinguish the two without opening either 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?

Explicit routing rule: use this when you do not know the name, use find_geometry when you do. It also covers the failure path — no match is not an error, either widen tolerance_mm or file request_object — and mentions category narrowing via list_categories.

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