Skip to main content
Glama

Create Bruno Collection

create_collection

Create and configure a new Bruno API testing collection, then register it in the workspace so it is visible to collection tools and the Bruno app.

Instructions

Create a new Bruno API testing collection with configuration. outputPath is the PARENT directory and name is appended to it: outputPath "/work/apis" with name "Billing" creates the collection at /work/apis/Billing. Do not put the collection name in outputPath as well. The new collection is also added to the workspace registry that list_collections reads rather than the disk, so a collection missing from it is invisible to that tool and to the Bruno app. The result says whether it was registered and, if not, why.

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": {
      "name": "<name>",
      "outputPath": "<outputPath>"
    },
    "name": "create_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
formatNoyaml
ignoreNo
baseUrlNo
outputPathYesAbsolute path of the PARENT directory to create the collection directory in. name is appended: "/work/apis" with name "Billing" creates /work/apis/Billing, and passing "/work/apis/Billing" here would create /work/apis/Billing/Billing.
descriptionNo
workspacePathNoAbsolute path of the workspace.yml to register the new collection in. Defaults to the same one list_collections reads: BRUNO_WORKSPACE_PATH, or the Bruno app's workspace for this platform.
registerInWorkspaceNoSet false to create the collection without touching any workspace file. It will not appear in list_collections until something else registers it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.0
    • changedInput schema / properties / outputPath / description
      Previous value: -"Absolute path of the PARENT directory to create the collection directory in. name is appended to it, so outputPath \"/work/apis\" with name \"Billing\" creates /work/apis/Billing. Passing \"/work/apis/Billing\" here would create /work/apis/Billing/Billing."New value: +"Absolute path of the PARENT directory to create the collection directory in. name is appended: \"/work/apis\" with name \"Billing\" creates /work/apis/Billing, and passing \"/work/apis/Billing\" here would create /work/apis/Billing/Billing."
  2. Changed3 schema fields changedv2.4.0
    • changedInput schema / properties / outputPath / description
      Previous value: -"Absolute path where the new collection directory will be created."New value: +"Absolute path of the PARENT directory to create the collection directory in. name is appended to it, so outputPath \"/work/apis\" with name \"Billing\" creates /work/apis/Billing. Passing \"/work/apis/Billing\" here would create /work/apis/Billing/Billing."
    • addedInput schema / properties / registerInWorkspace
      Added value: +{
      +  "description": "Set false to create the collection without touching any workspace file. It will not appear in list_collections until something else registers it.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / workspacePath
      Added value: +{
      +  "description": "Absolute path of the workspace.yml to register the new collection in. Defaults to the same one list_collections reads: BRUNO_WORKSPACE_PATH, or the Bruno app's workspace for this platform.",
      +  "type": "string"
      +}
  3. First observedv2.2.1

TDQS

A4.1/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 well: it discloses the registry side effect, ties it to list_collections visibility and the Bruno app, and states the result reports registration success with a reason. It stops short of failure modes such as an already-existing directory or permission errors, which matters for a filesystem-writing tool.

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?

Purpose is front-loaded, followed by the highest-risk parameter rule and then the side effect, in three dense sentences with no filler. The outputPath explanation partially duplicates the schema's own property description, which is a minor redundancy.

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 an 8-parameter write tool with no annotations and no output schema, the definition covers the path trap, the registry side effect, and what the return value reports. Gaps remain around collision/overwrite behavior and the unmentioned remaining parameters, but the operationally critical context is present.

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 only 38% across 8 parameters, but the description rescues the two highest-risk ones — the parent-directory semantics of outputPath with a concrete example, and the registry effect that workspacePath/registerInWorkspace control. It adds no meaning for format, ignore, baseUrl, or description, which the schema leaves bare.

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 ('Create a new Bruno API testing collection with configuration') and immediately scopes it with the outputPath/name composition rule. An agent can distinguish this from siblings like create_environment or list_collections without opening a schema.

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 description gives a strong do-not rule ('Do not put the collection name in outputPath as well') and explains registerInWorkspace's exclusion effect, but that is parameter hygiene rather than tool-selection guidance. It never says when to choose this over alternatives or what preconditions must hold (e.g., parent directory existing).

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