Skip to main content
Glama

Social media studio

Delete Media Folder

delete_media_folder
Destructive

Delete a media folder and its contents

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": {
      "id": "<id>"
    },
    "name": "delete_media_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesFolder UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description's useful addition is that deletion cascades to folder contents, which the annotations do not express. It stops short of stating irreversibility, required permissions, or behavior when the folder is non-empty or missing.

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?

A single short sentence with the destructive scope front-loaded; both clauses (action and cascade effect) carry information and nothing is wasted.

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 one-parameter delete with full schema coverage and annotations covering destructiveness, the cascade note fills the main remaining gap. Missing only minor context such as irreversibility or the response on success/failure, which is low-impact since no output schema exists.

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?

Only one parameter (id) exists and its schema description ("Folder UUID") achieves 100% coverage, so the baseline is 3. The description adds no further meaning about identifier format or source, which is acceptable given the schema already documents it.

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?

Specific verb+resource ("Delete a media folder") with the added scope of "and its contents," which separates it from a plain file-level delete. It does not explicitly distinguish itself from delete_media or bulk_delete_media, so sibling differentiation relies on naming alone.

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 when-to-use guidance, no prerequisite or confirmation note, and no pointer to alternatives such as bulk_delete_media for many folders or delete_media for files within a folder. The agent must infer selection purely from the tool name and the phrase "folder and its contents."

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources