Skip to main content
Glama

flexsim_apply_shapes

Apply a shapes manifest JSON to a FlexSim model (window backend only), restoring per-session object shape assignments after reopening by mapping each object to its shape file.

Instructions

Apply every entry of a shapes manifest JSON (window backend only).

Las asignaciones por script son POR SESIÓN (verificado 2026-09-27: tras
guardar+reabrir el índice vuelve a mapping default). El manifiesto
(ej. planta_sanjorge_v1_7.shapes.json) las versiona: al abrir el modelo,
correr esta tool y listo. Formato: {"shapes": [{object, file, shape_name?}]}
con file absoluto o relativo al manifiesto.

Args:
    manifest_path: JSON con clave "shapes" (lista de {object, file}).

Returns JSON {manifest, applied:[{object, shape_index, note}], errors:[...]}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the tool works only on the window backend, that assignments are per-session and revert on save+reopen, and that the manifest is a versioning mechanism. It also outlines the return JSON shape (applied/errors). It does not state whether existing shape assignments are overwritten or what permissions are required, leaving some safety-related behavior unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, but it mixes English and Spanish and contains redundancy: the manifest format is given both in the introductory notes and again in the Args section. Every sentence is relevant, but the duplication and language switching reduce clarity and efficiency for an agent parsing it.

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?

Given one required parameter, no annotations, and an output schema, the description is nearly complete. It explains the manifest format, session persistence, backend restriction, and return structure. The output schema means return values need not be detailed, and the description only briefly touches on them, which is appropriate. Some edge cases (e.g., what happens on partial failure) are left to the errors array.

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 description coverage is 0%, so the description must compensate, and it does: it explains that manifest_path is a JSON file with a 'shapes' key containing a list of {object, file, shape_name?}, and that file paths can be absolute or relative to the manifest. This adds substantial meaning beyond the bare string parameter in the schema. It does not detail error conditions or validation constraints, but the core semantics are well covered.

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 states a specific verb and resource: 'Apply every entry of a shapes manifest JSON.' It distinguishes itself from sibling flexsim_import_shape by operating on a manifest (bulk) rather than a single shape, and it scopes the tool with '(window backend only).' An agent can identify exactly what this tool does without inspecting 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 Guidelines4/5

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

The description provides clear context: the tool is for applying a versioned shapes manifest after opening a model, and it notes that script assignments are per-session (reverting on save+reopen). This explains when to use it. However, it does not explicitly name alternatives (e.g., flexsim_import_shape for single imports) or state when NOT to use it, so it falls just short of full usage guidance.

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