Skip to main content
Glama

Turn Attack Mode on or off

set_attack_mode
Destructive

Turn Attack Mode on or off. Turn it on only after the person said yes to the quote's confirmation, with that quote_id and a unique idempotency_key you keep for retries. On while already on returns the current activation and charges nothing; a retry with the same idempotency_key returns the same activation. Exit is free.

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": {
      "on": "<on>"
    },
    "name": "set_attack_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYes
businessNoThe business to act on, by its domain (such as example.com), one of those list_businesses shows. Needed only when your accounts track more than one business.
quote_idNo
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / business
      Added value: +{
      +  "description": "The business to act on, by its domain (such as example.com), one of those list_businesses shows. Needed only when your accounts track more than one business.",
      +  "maxLength": 300,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / company
      Removed value: -{
      -  "description": "The company to act for, by its domain (for example aioseo.com), one of those list_companies shows. Needed only when your key reaches more than one company.",
      -  "maxLength": 300,
      -  "minLength": 1,
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • changedInput schema / properties / company / description
      Previous value: -"The company to act for, by its Trustpilot domain (for example aioseo.com), one of those list_companies shows. Needed only when your key reaches more than one company."New value: +"The company to act for, by its domain (for example aioseo.com), one of those list_companies shows. Needed only when your key reaches more than one company."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, but the description adds genuinely new behavior: on-while-already-on is a no-op that returns the current activation and charges nothing, and retries with the same idempotency_key return the same activation. That idempotency and billing disclosure is exactly what an agent needs before invoking a destructive, presumably paid operation. What it never says is what Attack Mode actually does to the account or what state turning it off restores.

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 action, then preconditions, then edge-case semantics (no-op, retry, free exit) in descending priority. It is dense but every clause carries information; the single terse sentence 'Exit is free' is the only spot where compression costs a little clarity.

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 destructive, billed mutation with no output schema and four parameters, the description covers preconditions, idempotency, no-op behavior and cost. The remaining gap is conceptual — it never explains the effect of the operation or its reversibility, which matters given destructiveHint=true.

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 only 25% — just 'business' is documented — so the description must carry quote_id and idempotency_key, and it does: quote_id is tied to the confirmed quote and idempotency_key is defined by its retry-deduplication behavior. Only 'on' is left implicit, and a boolean toggle needs no explanation.

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 opens with a specific verb+resource ('Turn Attack Mode on or off') that tells an agent exactly the state transition being performed, and the toggle framing implicitly contrasts with the read-only sibling quote_attack_mode. It stops short of naming that sibling explicitly, so the differentiation is inferable rather than stated.

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 a clear gating precondition for the risky direction: turn on only after the person confirmed the quote, using that quote_id and a fresh idempotency_key. The off direction gets only 'Exit is free', which is a weak signal about when an agent should turn it off versus leave it on, and no alternative tool is named for checking current status.

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