Skip to main content
Glama

resolve_filament_profile

Read-only

Resolves a material name or brand ID to a unified filament profile with appropriate specs, and checks printer compatibility to warn about nozzle, enclosure, or AMS issues before slicing.

Instructions

Resolve a material name or brand ID to a unified filament profile.

        Accepts EITHER a generic material (``"PLA"``, ``"TPU"``) OR a
        specific brand profile ID (``"bambu_pla_basic"``,
        ``"prusament_tpu_95a"``).  Brand profiles return manufacturer-exact
        specs (density, temps, drying, nozzle/enclosure requirements).
        Generic materials return conservative defaults.

        When ``printer_id`` is provided, also checks compatibility and
        returns warnings (e.g. "needs hardened nozzle", "needs enclosure",
        "not AMS compatible").

        Use this BEFORE slicing or printing to get exact filament specs.
        Pass the result to ``estimate_before_design`` for brand-accurate
        cost/time estimates.

        :param material_or_brand: Material name (``"PLA"``) or brand
            profile ID (``"bambu_petg_cf"``).
        :param printer_id: Optional printer model for compatibility checks.
        

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": {
      "material_or_brand": "<material_or_brand>"
    },
    "name": "resolve_filament_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
printer_idNoOptional printer model for compatibility checks. Default: "".
material_or_brandYesMaterial name (``"PLA"``) or brand profile ID (``"bambu_petg_cf"``).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.1
    • addedInput schema / properties / material_or_brand / description
      Added value: +"Material name (``\"PLA\"``) or brand profile ID (``\"bambu_petg_cf\"``)."
    • changedInput schema / properties / printer_id / description
      Previous value: -"Default: \"\"."New value: +"Optional printer model for compatibility checks. Default: \"\"."
  2. Changed2 schema fields changedv1.5.0
    • removedInput schema / properties / printer_id / default
      Removed value: -""
    • addedInput schema / properties / printer_id / description
      Added value: +"Default: \"\"."
  3. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description adds genuinely new behavior by explaining that brand profiles yield manufacturer-exact specs while generic materials yield conservative defaults, and that supplying printer_id raises compatibility warnings with concrete examples. With no output schema, this return-shape disclosure is the right kind of added context, though it never says what the response object actually looks like.

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 critical information (what it does, brand vs generic behavior, when to use it) is front-loaded in the first three paragraphs. The trailing :param block duplicates the schema and adds length without much new meaning, keeping it short of a 5.

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?

For a two-parameter read-only lookup with no output schema, the description covers purpose, both input modes, return semantics at a high level, conditional warnings, and pipeline placement. What it omits — the concrete response structure and behavior on an unresolvable material name — is minor but real.

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 two param docstrings in the description largely restate the schema text. The one value-add is showing a concrete brand ID example ("bambu_petg_cf") and listing the categories of warnings printer_id can trigger, but that is marginal, so the baseline 3 applies.

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?

The opening sentence uses a specific verb and resource ("Resolve a material name or brand ID to a unified filament profile") and the two paragraphs that follow spell out exactly what each input form returns. It does not, however, differentiate itself from the numerous material-related siblings (get_material, get_material_properties, list_materials, find_closest_filaments), so an agent must infer which one to pick.

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?

Gives a clear temporal trigger ("Use this BEFORE slicing or printing") and an explicit downstream chaining instruction ("Pass the result to estimate_before_design"). The only gap is the absence of named alternatives or a when-not-to-use clause, e.g. what to call if you already have a profile ID.

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