Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Update Folder

update_folder
Destructive

Modify a Secret Server folder by replacing it with full folder data to rename, move, or change permission and policy inheritance.

Instructions

Update a Secret Server folder, replacing it with data.

Calls PUT /api/v1/folders/{id}. data is the full folder as get_folder returns it with the changes applied; it can rename or move the folder and change its permission and policy inheritance. Returns {"result": ..., "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>",
      "data": "<data>"
    },
    "name": "update_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
folder_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false; the description adds the crucial beyond-annotation fact that this is a full replacement, not a patch, plus the underlying PUT endpoint and the returned {result, verification} shape. It omits permission/authorization requirements for a destructive operation, which keeps it from a 5.

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-loads the action and the key replacement semantics, then the endpoint and return shape. The external documentation URL adds bulk without much operational value, but everything else earns its place.

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 a destructive two-parameter mutation with a nested free-form object, no output schema, and 0% schema coverage, the description covers payload construction, side effects, and the return shape. Missing only authorization expectations and what happens to fields omitted from `data`.

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 0%, so the description must carry the load, and it does for the opaque `data` object: it is the complete folder as returned by get_folder with modifications applied. `folder_id` is only implied via the /folders/{id} path rather than explained, so it is strong but not complete.

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 specific verb and resource ("Update a Secret Server folder") and enumerates the effects: rename, move, and change permission/policy inheritance. It also names get_folder as the source of the payload, which anchors it relative to a sibling, though it does not explicitly rule out other update_* tools.

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?

Gives a concrete workflow: call get_folder, apply changes, pass the full object. That is real when-to-use guidance. It stops short of stating exclusions or alternatives (e.g., what to do for a partial/field-only change), so it is clear context rather than full routing.

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