Skip to main content
Glama

Delete Requests

delete_request

Permanently delete one or more .yml/.bru request files from a Bruno collection after a single confirmation; every path is validated first, so one invalid file deletes nothing.

Instructions

Permanently delete request files from a Bruno collection. One confirm covers the whole list. Each file is unlinked and cannot be recovered through this server. Only .yml/.bru files inside a detected collection can be deleted. Every path is checked before the first unlink, so one unusable path deletes nothing. The result names each file's outcome. To clear a script and keep the request, use remove_script.

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": {
      "filePaths": "<filePaths>",
      "confirm": "<confirm>"
    },
    "name": "delete_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true. Every file in filePaths is deleted permanently.
filePathsYesAbsolute paths to the .yml or .bru request files to delete, from list_requests or get_collection_stats. A one-element list deletes one request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.6.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true. Explicit acknowledgement that the file is deleted permanently."New value: +"Must be true. Every file in filePaths is deleted permanently."
    • removedInput schema / properties / filePath
      Removed value: -{
      -  "description": "Absolute path to the .yml or .bru request file to delete. Get from list_requests or get_collection_stats.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / filePaths
      Added value: +{
      +  "description": "Absolute paths to the .yml or .bru request files to delete, from list_requests or get_collection_stats. A one-element list deletes one request.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "filePath",
      -  "confirm"
      -]New value: +[
      +  "filePaths",
      +  "confirm"
      +]
  2. First observedv2.2.1

TDQS

A4.7/5.0
Behavior5/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 so: it discloses irreversibility ('cannot be recovered through this server'), a scope restriction, an all-or-nothing pre-validation guarantee ('one unusable path deletes nothing'), and that a single confirm authorizes the entire list. These are exactly the behavioral facts an agent needs before a destructive call.

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

Conciseness5/5

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

Five short sentences, each carrying distinct information: action, authorization model, irreversibility, scope restriction, atomicity, return behavior, and the alternative tool. Front-loaded with the destructive action and free of repetition.

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 2-parameter destructive tool with no annotations and no output schema, the description covers safety, scope, atomicity, and the shape of the result ('names each file's outcome'). Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the baseline is 3; the description goes beyond it by explaining that one confirm covers the whole list and that paths are validated against a detected collection before any unlink. It does not add path syntax details, but the constraint semantics are meaningfully enriched.

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 resource ('Permanently delete request files from a Bruno collection') and immediately narrows scope with '.yml/.bru files inside a detected collection'. It also explicitly separates itself from remove_script, so an agent can pick it apart from delete_collection and remove_script without inspecting schemas.

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?

It gives an explicit alternative for one adjacent case ('To clear a script and keep the request, use remove_script') and states the delete-vs-keep distinction clearly. It does not address when to prefer delete_collection or what to do when a path is rejected, but the primary routing decision is covered.

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