Skip to main content
Glama

select_tools

Selects optimal security testing tools based on target domain, IP, or URL and scan objectives like comprehensive, fast, stealth, or targeted assessments.

Instructions

AI-powered tool selection based on target profile.

Args: target: Target domain, IP, or URL objective: Scan objective (comprehensive, fast, stealth, targeted)

Returns: Optimized tool selection with recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectiveNocomprehensive
targetYes

Implementation Reference

  • The handler function for the MCP tool 'select_tools'. It accepts target and objective parameters, logs the action, sends a POST request to the REST API intelligence endpoint for tool selection, and returns the result.
    def select_tools(target: str, objective: str = "comprehensive") -> dict[str, Any]: """AI-powered tool selection based on target profile. Args: target: Target domain, IP, or URL objective: Scan objective (comprehensive, fast, stealth, targeted) Returns: Optimized tool selection with recommendations """ data = {"target": target, "objective": objective} logger.info( f"🔧 Selecting optimal tools for {target} with {objective} objective" ) result = api_client.safe_post("api/intelligence/select-tools", data) if result.get("success"): logger.info(f"✅ Tool selection completed for {target}") else: logger.error(f"❌ Tool selection failed for {target}") return result
  • The @mcp.tool() decorator registers the select_tools function as an MCP tool.
    def select_tools(target: str, objective: str = "comprehensive") -> dict[str, Any]:
  • The docstring defines the input schema (parameters: target (str), objective (str, default='comprehensive')) and output (dict[str, Any]) for the tool.
    Args: target: Target domain, IP, or URL objective: Scan objective (comprehensive, fast, stealth, targeted) Returns: Optimized tool selection with recommendations """ data = {"target": target, "objective": objective}

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/SlanyCukr/bugbounty-mcp-server'

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