Skip to main content
Glama

Import QIF or STEP AP242

import
Idempotent

Bring a QIF 3.0 or STEP AP242 file into the model (the format is detected from its text). Products become part defs with their features as items and the datums, geometric tolerances and toleranced sizes as profile metadata; QIF results become @Measured on the characteristic with the same id. What the model already states is matched (by id, feature or value) and not added twice. Output: { format, ok, message, file, added, matched, measured, notes, matching, ops, text }: text is the model after the import, ops the same change as edits.

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": {
      "text": "<text>",
      "file": "<file>",
      "file_name": "<file_name>"
    },
    "name": "import"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesThe QIF (XML) or AP242 (Part 21) file's text.
textYesThe model to import into (SysML v2 text); empty for a new model.
ownerNoInstance path or qualified name the imported root products are used in (default: the system).
file_nameYesThe file's name, recorded as the source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare non-read-only, idempotent, non-destructive, closed-world, and the description earns those: it explains the idempotency mechanism (matching by id, feature, or value and not adding twice) and the exact mapping semantics (products to part defs, features to items, datums/GD&T/toleranced sizes to profile metadata, QIF results to @Measured on the same characteristic id). It also spells out the nine-field output object, which matters because no output schema exists.

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?

Content is front-loaded with purpose, then mapping rules, then the return shape, and every clause carries information — particularly the output field enumeration, which substitutes for a missing output schema. It is one dense paragraph rather than structured bullets, which slightly hurts scannability, but there is little filler.

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 four-parameter mutation with no output schema, the description covers the mapping behavior, deduplication, and all returned fields, which is close to everything an agent needs. Minor gaps remain: it says nothing about failure modes (malformed XML/Part 21, oversized files at the 50MB cap) or what a partially matched import looks like.

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%, so the schema already documents file, text, owner, and file_name, and the description adds nothing specific about the owner targeting or the empty-string convention for a new model. The only semantic elaboration is that the format comes from the file's text, which is marginal beyond the schema. Baseline 3 is appropriate.

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 — bringing a QIF 3.0 or STEP AP242 file into the model — and adds that the format is auto-detected from the file text. That distinguishes it immediately from siblings like export or validate, which operate in the opposite direction or check rather than import.

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?

Usage context is clear: this is the tool for ingesting QIF/AP242 content into a SysML v2 model, and it notes that already-present content is matched rather than duplicated, implying safe repeat runs. It stops short of explicit exclusions or pointing to an alternative (e.g. validating a file first, or starting a new model), so it lands at a solid 4 rather than a 5.

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