Skip to main content
Glama

set_components_suppression

Apply the same suppression state to multiple components in one call. Use for trim-variant BOM prep to suppress multiple components efficiently, reducing configuration switches.

Instructions

Cambiar el estado de varios componentes en una sola llamada.

Uso típico autopartes: preparación de variantes BOM ("suprime los 8 tornillos que el Base trim no incluye"). Más eficiente que un bucle sobre set_component_suppression — cuando config_scope es "all" o "specific", la implementación cambia de configuración una sola vez por config y aplica todos los componentes en ese contexto. [en: Apply the same suppression state to multiple components in one call. Typical use: trim-variant BOM prep — suppress N fasteners a Base trim doesn't include. Faster than looping set_component_suppression: switches config once per config_scope target instead of once per (component × config) pair.]

Args: component_names: List of SW component instance names from get_active_assembly_info. Must not be empty. All names are validated up-front; if any are missing the call raises before any change is made. state: "suppressed" | "resolved" | "lightweight". Default "suppressed". config_scope: "this" | "all" | "specific". config_names: Required when config_scope="specific".

Returns: Dict with count (number applied), state (the applied state), and components (list of {name, path, suppressed, state}).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNosuppressed
config_namesNo
config_scopeNothis
component_namesYes
Behavior4/5

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

Discloses key behaviors: validation up-front (raises if any missing), config switching optimization per scope, and return dict structure. No annotations provided, so description carries full burden; covers mutation but could mention reversibility or permissions.

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?

Well-structured with purpose, usage, params, returns. Bilingual (Spanish/English) adds redundancy; could be more concise by using one language. Front-loaded with purpose.

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 tool with 4 params, no output schema, and no annotations, description covers all necessary aspects: purpose, typical use, efficiency, parameter details, return value. Sufficient for correct invocation.

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

Parameters5/5

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

Schema coverage is 0%, but description fully explains each parameter: component_names (source, validation), state (enum values with default), config_scope (enum values), config_names (conditional requirement). Adds meaning beyond schema.

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?

The description clearly states the tool changes suppression state of multiple components in one call, with a typical use case (trim-variant BOM prep). It distinguishes from sibling set_component_suppression by noting efficiency (switches config once per config_scope target instead of per pair).

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 explicit when-to-use guidance (suppress multiple components, more efficient than looping set_component_suppression), prerequisites (component_names from get_active_assembly_info, not empty), and conditional requirements (config_names needed with config_scope='specific').

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielproxd2/MCP_CAD'

If you have feedback or need assistance with the MCP directory API, please join our Discord server