Skip to main content
Glama
wagonbomb

InsightAppSec MCP Server

by wagonbomb

configure_token_replacement

Define global rules to extract dynamic tokens like CSRF tokens, API keys, or session IDs from responses and inject them into subsequent requests.

Instructions

Configure global token replacement rules to extract tokens from responses and inject them into subsequent requests.

Use this for dynamic tokens like CSRF tokens, API keys, or session identifiers that need to be captured and replayed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
match_criteriaNoHow to match the extraction patternREGEX
scan_config_idYesThe unique identifier of the scan configuration
extraction_patternYesRegex pattern to extract the token value
injection_locationYesWhere to inject the token
extraction_locationYesWhere to extract the token from
injection_parameterYesParameter/field name where the token should be injected
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It explains the core extract/inject mechanism and the global scope, but does not disclose whether existing rules are overwritten, whether it is a mutating operation, or any side effects on ongoing scans. This is adequate but not fully transparent.

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?

Two sentences with no redundant content. The first sentence states the purpose, the second gives concrete examples. Information is front-loaded and every word earns its place.

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?

The description is complete enough for an agent to understand when to select the tool and what it does. It does not explain return values (no output schema) or whether configuration replaces existing rules, but for selection and basic understanding, it covers the essential context.

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 description coverage is 100%, so the baseline is 3. The description adds high-level context about token extraction/injection but does not elaborate on specific parameter usage beyond what the schema already provides. It neither adds nor detracts from the schema.

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 clearly states the tool's purpose: 'Configure global token replacement rules to extract tokens from responses and inject them into subsequent requests.' This is a specific verb+resource+scope formulation that distinguishes it from sibling tools like configure_csrf_handling or configure_session_handling by focusing on token replacement.

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?

The second sentence provides clear usage context: 'Use this for dynamic tokens like CSRF tokens, API keys, or session identifiers that need to be captured and replayed.' This indicates when to choose this tool, though it does not explicitly name alternatives or state when not to use it.

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/wagonbomb/InsightAppSec-MCP'

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