Skip to main content
Glama
wagonbomb

InsightAppSec MCP Server

by wagonbomb

configure_csrf_handling

Enable automatic CSRF token detection and injection for scans by configuring regex patterns for token name and value.

Instructions

Configure automatic CSRF token detection and injection

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auto_detectYesEnable automatic CSRF token detection
scan_config_idYesThe unique identifier of the scan configuration
token_name_regexNoRegex pattern for CSRF token field names (e.g., 'csrf|_token|authenticity_token')
token_value_regexNoRegex pattern for CSRF token values (e.g., '[a-f0-9]{32,}')
Behavior2/5

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

With no annotations, the description must disclose behavioral traits, but it only states the action generically. It does not mention side effects, prerequisites, whether it modifies existing scan configurations, or how the regex parameters interact with detection. This is insufficient for a mutation-like configuration tool.

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 a single, brief sentence with no wasted words, and the tool name is front-loaded in the description. However, it may be too terse to be genuinely helpful, lacking any contextual expansion.

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?

The tool has four parameters and no output schema or annotations, so the description should explain the purpose in more depth. It only describes the high-level goal without connecting to the scan config context or explaining how the configuration is applied. This is insufficient for safe and correct invocation.

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?

The input schema has descriptions for all four parameters, achieving 100% coverage, so the baseline is 3. The description adds no parameter-specific information, so it neither enhances nor detracts from the 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 action ('Configure') and a specific resource ('automatic CSRF token detection and injection'), making it clear what the tool addresses. However, it does not explicitly distinguish this from sibling configuration tools like configure_form_auth or configure_oauth, though the CSRF focus is evident from the name.

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?

No guidance is provided about when to use this tool instead of alternatives such as configure_token_replacement or configure_session_handling. The description only states the function, leaving the agent to infer usage context from the name and schema.

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