Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Delete Folder

delete_folder
Destructive

Deletes a Secret Server folder by ID and verifies its removal with a follow-up read, enabling cleanup of obsolete folder structures.

Instructions

Delete a Secret Server folder.

Calls DELETE /api/v1/folders/{id}, then reads the folder back as verification. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

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": {
      "folder_id": "<folder_id>"
    },
    "name": "delete_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds genuinely new behavior: it calls DELETE /api/v1/folders/{id} and then reads the folder back as verification, implying the call can fail if the read-back fails. It does not say what happens to secrets or subfolders contained in the folder, what permissions are required, or whether deletion is irreversible.

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?

The purpose is front-loaded in one short sentence, followed by a compact note on the endpoint and verification step. The trailing API-reference URL is filler that costs tokens without helping the agent decide or call correctly, keeping it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, single-parameter tool with no output schema and annotations covering safety, the description is serviceable but leaves out the concerns that matter most for a folder delete: fate of contained secrets, permission requirements, and error conditions. The verification read-back is helpful context that partially offsets these gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single required parameter, folder_id, which the schema documents only as "Folder Id" (integer). The description's endpoint path implies this is the folder's numeric identifier, but it adds nothing about how to obtain the ID, whether it is numeric-only, or what happens with a non-existent ID.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ("Delete a Secret Server folder") plus the underlying DELETE endpoint, so the agent knows exactly which object is affected. Siblings like delete_group or delete_platform_role target different resources, so no real ambiguity remains, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives (e.g. get_folder for inspection, update_folder for renaming), and no prerequisites or preconditions such as ownership or permissions. Usage must be inferred from the name alone.

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