Skip to main content
Glama

execute_attack_template

Destructive

Run one enabled public attack template by stable catalog ID to test authorized AI targets or execute local mutation checks, using existing scoring and reporting while skipping incompatible scenarios.

Instructions

Execute exactly one enabled public template by stable catalog ID. Target templates require target or target_url; mutation templates run locally without either. Uses existing scoring and report recording. Incompatible scenarios are skipped; proposed functions are never executed.

Input Schema

NameRequiredDescriptionDefault
targetNoSaved profile name or inline HTTP target definition
target_urlNoLegacy HTTP chat endpoint. Target templates require target_url or target; local mutation uses neither.
template_idYesExact stable ID returned by template discovery; names are not selectors.
available_toolsNoOnly for tool_abuse templates. Omitted or empty uses existing synthetic definitions.
catalog_revisionNoOptional discovery revision; reject catalog changes before executing.
target_variablesNoOverrides for target definition variables

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive, open-world, non-read-only, and non-idempotent behavior. The description adds useful context beyond that: it uses existing scoring and report recording, skips incompatible scenarios, and never executes proposed functions. These are meaningful behavioral details not captured by the annotations.

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 four sentences and front-loads the core action before adding conditions and behavioral notes. There is little wasted wording, though the final sentence about incompatible scenarios and proposed functions could be slightly tighter.

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 complex, destructive, open-world tool with six parameters and no output schema, the description covers purpose, target requirements, scoring/report recording, and skip/execution safeguards. It does not explicitly describe the return value or authorization needs, but the annotations and schema carry much of that burden.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents all parameters. The description adds conditional semantics by explaining that target templates require target or target_url, while mutation templates require neither. This clarifies the relationship between template type and target parameters beyond the raw schema.

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: 'Execute exactly one enabled public template by stable catalog ID.' The phrase 'exactly one' implicitly distinguishes it from looping siblings like endless_attack_loop, but no sibling is named explicitly. The scope is clear enough for an agent to identify the action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clarifies that target templates require target or target_url while mutation templates run locally without either. This gives conditional usage context for parameter selection, but it does not say when to use this tool versus alternatives like jailbreak_attack or prompt_injection. Guidance is implied rather than explicit.

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