Skip to main content
Glama

Delete campaign pack · 删除活动物料包(短.在线)

delete_campaign_pack
Destructive

删除你拥有的活动物料包及其文件。删除后,该物料包的短链接和二维码仍然有效,并仍列在你的链接中。物料包的文件无法再次下载;如需再次获取文件,请重新准备该物料包,这会创建新的短链接。只能删除你自己的物料包;属于其他账号的 id 不会被删除。需要已注册账号。 Delete a campaign pack you own, and its files. After delete, the pack's short links and QR codes stay active and are still listed under your links. The pack's files can't be downloaded again. To get the files again, prepare the pack again, which creates new short links. You can only delete your own packs; an id that belongs to another account is not deleted. Registered account required.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "campaign_id": "cmp_example"
    },
    "name": "delete_campaign_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign pack id to delete. Another user's id is not found.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "deleted": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "deleted"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "accepted": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "alias_normalized": {
      -        "type": "string"
      -      },
      -      "aliases": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "detail": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "field": {
      -        "type": "string"
      -      },
      -      "invalid_chars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "maxItems": 5,
      -        "type": "array"
      -      },
      -      "max_length": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "min_length": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "retry_after": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "retryable": {
      -        "type": "boolean"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "error",
      -      "code",
      -      "message",
      -      "type",
      -      "title",
      -      "retryable"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "deleted": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "links_kept": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "short_urls": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "deleted",
      +      "links_kept",
      +      "short_urls",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accepted": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "alias_normalized": {
      +        "type": "string"
      +      },
      +      "aliases": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "detail": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "field": {
      +        "type": "string"
      +      },
      +      "invalid_chars": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "maxItems": 5,
      +        "type": "array"
      +      },
      +      "max_length": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "min_length": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "retry_after": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "error",
      +      "code",
      +      "message",
      +      "type",
      +      "title",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "deleted": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "deleted"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "alias_normalized": {
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "detail": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "field": {
      -        "type": "string"
      -      },
      -      "invalid_chars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "maxItems": 5,
      -        "type": "array"
      -      },
      -      "max_length": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "min_length": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "retry_after": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "retryable": {
      -        "type": "boolean"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "error",
      -      "code",
      -      "message",
      -      "type",
      -      "title",
      -      "retryable"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "deleted": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "deleted"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accepted": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "alias_normalized": {
      +        "type": "string"
      +      },
      +      "aliases": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "detail": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "field": {
      +        "type": "string"
      +      },
      +      "invalid_chars": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "maxItems": 5,
      +        "type": "array"
      +      },
      +      "max_length": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "min_length": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "retry_after": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "error",
      +      "code",
      +      "message",
      +      "type",
      +      "title",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "deleted": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "deleted"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "retry_after": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "retryable": {
      -        "type": "boolean"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "error",
      -      "code",
      -      "message",
      -      "type",
      -      "title",
      -      "retryable"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "deleted": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "deleted"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "alias_normalized": {
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "detail": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "field": {
      +        "type": "string"
      +      },
      +      "invalid_chars": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "maxItems": 5,
      +        "type": "array"
      +      },
      +      "max_length": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "min_length": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "retry_after": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "error",
      +      "code",
      +      "message",
      +      "type",
      +      "title",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Added

TDQS

A4.1/5.0
Behavior5/5

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

The annotations only say destructiveHint=true and idempotentHint=false; the description goes well beyond that by disclosing that short links and QR codes survive the deletion, that files become permanently undownloadable, that re-preparing creates new short links, that foreign-account ids are silently not deleted, and that a registered account is required. These are exactly the side effects an agent needs before invoking a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The English text is front-loaded and every sentence carries real information, but the entire passage is duplicated verbatim in Chinese, roughly doubling length without adding meaning for an agent that reads either language. Otherwise there is no filler.

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?

The tool is a destructive single-parameter delete with annotations and an output schema, and the description covers the remaining burden: permanence of file loss, survival of links/QR codes, the recovery path, and the auth/ownership preconditions. Nothing needed to call it correctly 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 parameter already documents 'Campaign pack id to delete. Another user's id is not found.' The description reinforces the ownership constraint but adds no format, sourcing, or lookup guidance beyond the schema, so the baseline applies.

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?

The description states a specific verb and resource ('Delete a campaign pack you own, and its files') and makes the scope concrete. It does not name sibling tools such as get_campaign_pack or prepare_campaign_pack, but the effect is unambiguous enough to tell it apart from read/prepare operations.

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 gives clear context for when to call it (you own the pack and want it gone) and names the alternative path explicitly: 'To get the files again, prepare the pack again, which creates new short links.' It does not spell out when not to delete, but the recovery path is stated.

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