Skip to main content
Glama

delete_target_tag

Remove a specific tag from a target in Intruder.IO to organize and manage security testing assets.

Instructions

Remove a tag from a target. Args: target_id: The ID of the target to remove the tag from tag_name: The name of the tag to remove

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_idYes
tag_nameYes

Implementation Reference

  • MCP tool handler decorated with @mcp.tool(). Implements the delete_target_tag tool by calling the API client method and returning a success message. This is both the handler and registration point.
    @mcp.tool() async def delete_target_tag(target_id: int, tag_name: str) -> str: """ Remove a tag from a target. Args: target_id: The ID of the target to remove the tag from tag_name: The name of the tag to remove """ api.delete_target_tag(target_id=target_id, tag_name=tag_name) return f"Removed tag '{tag_name}' from target {target_id}"
  • Helper method in API client class that executes the actual HTTP DELETE request to remove the specified tag from the target.
    def delete_target_tag(self, target_id: int, tag_name: str) -> None: self.client.delete(f"{self.base_url}/targets/{target_id}/tags/{tag_name}/")

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/intruder-io/intruder-mcp'

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