Skip to main content
Glama
CoveoSec
by CoveoSec

scripts_delete

Delete scripts from XSIAM by filtering on name or ID. This action requires Instance Administrator permissions to remove unwanted scripts.

Instructions

Delete a script

Delete a script by filtering based on its name or ID.

You must have Instance Administrator permissions to run this endpoint.

[POST /public_api/v1/scripts/delete] · Scripts

Example request body:

{
  "request_data": {
    "filters": {
      "field": "name",
      "value": "PhishingScript"
    }
  }
}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
request_dataYes
Behavior3/5

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

The description discloses the permission requirement ('Instance Administrator') and shows the HTTP endpoint, adding some behavioral context. However, it does not state whether the deletion is permanent, if it is reversible, or what the response format will be. Without annotations, the description carries the burden and could be more transparent about the operation's consequences and return value.

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?

The description is fairly concise, with the key purpose stated upfront and supporting details (permissions, endpoint, example) organized well. The repetition of 'Delete a script' in the title and first line is slightly redundant, but the structure is otherwise clean and not overly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema is provided, and the description does not describe the response or how to interpret success/failure. It also omits important context such as whether the deletion is permanent, if the script must be paused or unlinked, or any other prerequisites. The example is helpful but the inconsistency with the schema undermines completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds an example request body showing the filter structure, which helps, but it uses 'filters' (plural) while the schema defines 'filter' (singular), creating a direct contradiction that could mislead an agent. It also does not explain the allowed field values beyond 'name or ID' and the value property, leaving the parameter semantics partially covered by the schema instead.

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 opens with 'Delete a script' and elaborates 'by filtering based on its name or ID,' clearly stating the action and the resource. It distinguishes itself from sibling tools like scripts_get_scripts and scripts_run_script by explicitly naming the delete operation and the filter mechanism.

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?

The description provides no guidance on when to choose this tool over alternatives, nor any exclusions or prerequisites beyond the permission requirement. It does not mention related tools such as scripts_get_scripts for finding script IDs or scripts_insert for creating scripts, leaving the usage context implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CoveoSec/xsiam-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server