Skip to main content
Glama

Pitchlane

Delete a Pitchlane media object

delete_media
DestructiveIdempotent

Delete a Pitchlane media object and its file, permanently. Refused (409 media_in_use) while any campaign uses it, including a deleted campaign that can still be restored. Media no campaign uses is deleted automatically 30 days after it was created, so this is rarely needed: confirm with the user first.

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": {
      "media_id": "<media_id>"
    },
    "name": "delete_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
media_idYesThe media id, e.g. `med_V1StGXR8Z5jdHi6BmyT`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructiveHint and idempotentHint annotations, the description discloses that the object and file are permanently deleted, the exact 409 refusal condition, and the automatic 30-day cleanup behavior. This gives the agent critical operational context for a destructive action.

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?

Three tight sentences, front-loaded with the permanent deletion effect and followed by refusal behavior and a caution. Every sentence adds useful information without 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 destructive one-parameter tool with no output schema, the description covers permanence, blocking conditions, automatic cleanup, and user-confirmation guidance. Nothing essential for safe invocation is missing.

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 media_id parameter is fully documented with an example in the schema. The description adds no additional parameter semantics, which is appropriate given the schema already does that work.

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 states a specific verb and resource: deleting a Pitchlane media object and its file, permanently. This clearly distinguishes it from sibling tools like get_media or create_media_from_url.

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 explains the key usage constraint: deletion is refused with 409 media_in_use while any campaign uses the media, including deleted but restorable campaigns. It also warns that media is auto-deleted after 30 days and advises confirming with the user first, though it does not name an explicit alternative tool.

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