Skip to main content
Glama

Reset detector configuration

stack_reset_detector_config
Destructive

Reset a detector to built-in defaults by deleting the account's customization. Detector settings are a controls feature: with controls on a reset applies at once, with no approval; without controls the API answers 402 CONTROLS_REQUIRED. A self-managed install has every controls feature.

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": {
      "detector_key": "<detector_key>"
    },
    "name": "stack_reset_detector_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
detector_keyYesDetector key, e.g. "prompt_injection"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real value on top: it says exactly what is destroyed (the account's customization) and that with controls enabled the reset applies immediately with no approval step. The 402 CONTROLS_REQUIRED failure mode is disclosed. Missing only whether the deletion is recoverable/undoable.

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 short sentences, front-loaded with the action and effect, then the gating precondition. No filler and no repetition of the title.

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 one-parameter destructive mutation with no output schema, the description covers effect, immediacy, and the failure condition well enough to call it correctly. The only conceivable addition would be reversibility, which is minor.

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 parameter is documented with an example in the schema itself, so baseline 3 applies. The description adds nothing about detector_key semantics (case sensitivity, whether unknown keys error) beyond what the schema shows.

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?

Specific verb (reset) plus resource (detector configuration) plus the mechanism (deleting the account's customization so built-in defaults apply). This is clearly distinguishable from siblings like stack_get_detector_config and stack_upsert_detector_config.

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?

States the operative constraint for when this call will succeed: controls must be enabled (402 CONTROLS_REQUIRED otherwise) and self-managed installs have all controls features. It doesn't explicitly contrast with stack_upsert_detector_config for partial changes, but the reset-vs-modify distinction is implied by 'built-in defaults'.

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.