Skip to main content
Glama

delete_target_tag

Remove a specific tag from a target to manage and organize resources efficiently on the intruder-mcp server. Input target ID and tag name to execute the removal.

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

NameRequiredDescriptionDefault
tag_nameYes
target_idYes

Input Schema (JSON Schema)

{ "properties": { "tag_name": { "title": "Tag Name", "type": "string" }, "target_id": { "title": "Target Id", "type": "integer" } }, "required": [ "target_id", "tag_name" ], "title": "delete_target_tagArguments", "type": "object" }

Implementation Reference

  • The MCP tool handler for 'delete_target_tag'. It invokes the API client's delete_target_tag method and returns a success message.
    @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}"
  • The helper method in the API client that sends the HTTP DELETE request to the Intruder API 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