Skip to main content
Glama

convert_postman_to_bruno

Read-onlyIdempotent

Convert Postman Collection and Environment JSON into Git-friendly Bruno .bru files, repairing importer issues and scrubbing secrets for safer version control.

Instructions

Convert a Postman Collection (v2.0 or v2.1 JSON) and optional Postman Environment JSON into Git-friendly Bruno (.bru) request/collection/environment files, a scrubbed .env.example, .gitignore, and MIGRATION_REPORT.md. Automatically repairs Bruno #8680 enabled:null importer crashes, normalizes dotted/hyphenated variable names (e.g. api.base.url -> api_base_url), transpiles pm.* scripts, and moves live credentials into vars:secret.

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": {
      "collectionJson": "<collectionJson>"
    },
    "name": "convert_postman_to_bruno"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNameNoOptional collection/project name override for bruno.json and MIGRATION_REPORT.md.
collectionJsonYesPostman Collection v2.0 or v2.1 JSON string to compile into Bruno (.bru) files.
environmentJsonNoOptional Postman Environment or Globals JSON string used to generate environments/*.bru and scrub secret variables into vars:secret.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint), the description discloses substantial behavior: automatic repair of the Bruno #8680 enabled:null crash, variable-name normalization (api.base.url -> api_base_url), pm.* script transpilation, and moving live credentials into vars:secret. These are exactly the non-obvious traits an agent needs to trust the conversion.

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?

Conversion and output scope are front-loaded, and every clause (repairs, normalization, transpilation, secret handling) carries useful information with no filler. It is a single very dense sentence, though, and could be structured more readably without loss.

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 three-parameter conversion tool with no output schema, the description fully specifies inputs, generated artifacts, and transformation behaviors. The only mild ambiguity is whether files are returned or written to disk, but nothing needed for correct invocation is missing.

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 all three parameters are already documented in the input schema, making 3 the baseline. The description adds a little context about environmentJson driving environments/*.bru and secret scrubbing, but largely restates what the schema already says.

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 opens with a specific verb and input formats ('Convert a Postman Collection (v2.0 or v2.1 JSON) and optional Postman Environment JSON') and enumerates the exact output artifacts (.bru files, .env.example, .gitignore, MIGRATION_REPORT.md). This artifact set clearly separates it from convert_postman_to_hurl and the audit/scan siblings without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The migration context is implied by the inputs and outputs, but there is no explicit when-to-use or when-not-to-use guidance, no mention of when to prefer convert_postman_to_hurl, and no note on prerequisites such as running audit_pm_script_compatibility first. The agent must infer the use case.

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