Skip to main content
Glama

get_product_faces

Read-only

Retrieve the full semantic face registry for a given product type, returning each part's named surfaces so agents can reference them for pinning or painting.

Instructions

Return the full semantic face registry for a product type.

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": {
      "product_type": "<product_type>"
    },
    "name": "get_product_faces"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_typeYesone of the keys from ``list_product_types``, a sketch-built design's id, or a saved design version's id (or a design id, for its newest version): its faces are that part's own surfaces, named ``"<part> › <surface>"`` as a pin or a paint names them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / product_type / description
      Previous value: -"one of the keys from ``list_product_types``, or a sketch-built design's id."New value: +"one of the keys from ``list_product_types``, a sketch-built design's id, or a saved design version's id (or a design id, for its newest version): its faces are that part's own surfaces, named ``\"<part> › <surface>\"`` as a pin or a paint names them."
  2. Changed1 schema field changedv1.5.1
    • addedInput schema / properties / product_type / description
      Added value: +"one of the keys from ``list_product_types``, or a sketch-built design's id."
  3. Addedv1.5.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds no behavioral context beyond that — nothing about what the registry contains, whether results are scoped to the design version, or how errors surface for an invalid product type.

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?

A single short sentence that is front-loaded with the verb and resource, with no wasted wording. It is arguably too terse for the tool's role, but it is structurally clean.

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

Completeness3/5

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

With no output schema and no annotations gap to fill, the description should at least sketch what the returned registry looks like; instead it only names it. The parameter side is complete thanks to the schema, so the tool is callable, but the return value is left opaque.

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 100% and the schema itself thoroughly explains the accepted forms of product_type (list_product_types key, sketch-built design id, saved design version id) and the "<part> › <surface>" naming. The description adds nothing beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb ("Return") and a resource ("semantic face registry") scoped to a product type, so the general intent is clear. However, "semantic face registry" is unexplained jargon, and the description never distinguishes this from siblings like list_decoratable_faces or get_product_color_roles that also surface per-product face information.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus alternatives such as list_decoratable_faces or get_product_color_roles, and no stated prerequisites or preconditions. The only usage hint lives in the schema's description of product_type, not in the tool description itself.

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

Deploy Server

Other Tools