Skip to main content
Glama

bowire.import

Imports Insomnia, Bruno, OpenCollection, and .http sources into Bowire collections and environments, reports approximations/skips and clear-text credentials, and can write a .bww workspace file.

Instructions

Import an Insomnia export (v4 JSON/YAML or v5 YAML), a Bruno collection (a directory of .bru files or OpenCollection YAML, or a bundled OpenCollection file) or .http files (one file, or a directory of them with http-client.env.json) into Bowire collections and environments (#674). Returns { format, collections, environments, report } where report lists what was approximated or skipped and which credentials sit in clear text. With outPath, also writes a .bww workspace file the workbench or bowire workspace import reads.

Input Schema

NameRequiredDescriptionDefault
nameNoOptional collection name when the source has none.
pathYesPath to an export file, or to a collection directory (Bruno, or .http files).
formatNoOptional: skip sniffing — insomnia, bruno, opencollection or http.
outPathNoOptional path for a .bww workspace file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.10.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 burden and does substantial work: it declares the return shape ({ format, collections, environments, report }), discloses that report flags approximations, skips and clear-text credentials, and notes the side effect of writing a .bww file when outPath is supplied. It does not mention required permissions, whether existing collections are overwritten, or whether the import is idempotent, leaving mutation semantics partly unstated.

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?

Front-loaded with the verb and the accepted formats, then returns, then the optional side effect — a sensible information order. The format enumeration is long but every clause is load-bearing; only the trailing issue reference (#674) is noise.

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 four-parameter import tool with no output schema, the description covers the input families, the result object, the report's purpose and the optional workspace write, which is everything an agent needs to decide and call correctly. Remaining gaps (conflict/overwrite behavior) are secondary.

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 baseline is 3; the schema already documents path, name, format and outPath. The description adds only marginal value beyond it, mainly that outPath's .bww file is consumed by the workbench or the CLI workspace import, and it does not explain format-sniffing fallback behavior or path semantics for directories vs files.

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 (Import) plus the exact resource families accepted: Insomnia v4 JSON/YAML and v5 YAML, Bruno .bru directories or OpenCollection YAML, and .http files/directories. The enumeration makes it distinguishable from sibling bowire.har.import without opening either 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?

Clear context for when to call it: you have an Insomnia, Bruno, OpenCollection or .http artifact on disk and want it turned into Bowire collections/environments. It references `bowire workspace import` as the consumer of the generated .bww, but never explicitly names a sibling tool as the alternative (e.g. use bowire.har.import for HAR captures) or states exclusion conditions.

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