Skip to main content
Glama

Pitchlane

Delete a Pitchlane folder

delete_folder
DestructiveIdempotent

Delete a Pitchlane folder. Only the folder is deleted: the campaigns in it are kept, with their videos, and are in no folder afterwards. The grouping itself cannot be brought back: to undo, create the folder again and move the campaigns back, so note which campaigns it held (list_campaigns with folder_id) if the user may want that. Delete only a folder the user asked to delete.

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_idYesThe folder's id, as list_folders returns it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description adds the substance an agent actually needs: the campaigns and their videos are preserved and become unfiled, and the grouping is not restorable. It also spells out the manual undo path (recreate the folder, move campaigns back), which no structured field conveys.

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-loaded with the destructive scope, then the preserved state, then the irreversibility and remedy — a sensible order. Four sentences is slightly more than needed; the 'note which campaigns it held' aside could be tighter, but each sentence carries real information.

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 one-parameter destructive tool with no output schema, the description covers the consequence of the call, what survives, what is lost permanently, and how to mitigate. Combined with the annotations, an agent has everything required to call this responsibly.

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?

Schema coverage is 100% and the single folder_id is documented there as coming from list_folders, so the description does not need to redefine it. The description adds a related hint about reading folder_id via list_campaigns, but that is about a sibling call rather than clarifying this parameter's semantics. Baseline 3 applies.

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?

Opens with a specific verb+resource ('Delete a Pitchlane folder') and immediately scopes it: only the folder goes, campaigns and videos survive. That distinguishes it cleanly from delete_campaign, delete_video, and delete_media without needing to name them.

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 an explicit guardrail ('Delete only a folder the user asked to delete') and a prerequisite for safe use (list_campaigns with folder_id first if the grouping may matter). It stops short of naming a true alternative for restructuring — e.g. whether rename_folder or leaving campaigns unfiled is preferable — so it is strong but not a full when/when-not map.

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