Skip to main content
Glama
titaniumtushar

burp-mcp-plus

dedup_list

List all registered dedup sources to review duplicate detection rules in Burp Suite.

Instructions

List all registered dedup sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The `dedup_list` MCP tool handler – calls `dedup.list_sources()` and returns the result as JSON.
    def dedup_list() -> str:
        """List all registered dedup sources."""
        return json.dumps(dedup.list_sources(), indent=2)
  • The `@mcp.tool()` decorator registers `dedup_list` as an MCP tool.
    @mcp.tool()
    def dedup_list() -> str:
  • The `list_sources()` helper function in the dedup module that returns the list of registered sources from the in-process registry.
    def list_sources() -> list[dict[str, object]]:
        return [
            {"name": s.name, "path": s.path, "entries": len(s.entries)}
            for s in _REGISTRY.values()
        ]
  • The `register()` function and `_REGISTRY` dict that maintain the in-process registry of dedup sources, which `list_sources()` reads from.
    def register(path: str, name: str | None = None) -> DedupSource:
        p = os.path.abspath(os.path.expanduser(path))
        if not os.path.isfile(p):
            raise FileNotFoundError(p)
        if name is None:
            # Default name: parent dir basename, fall back to file stem.
            parent = os.path.basename(os.path.dirname(p)) or os.path.splitext(
                os.path.basename(p)
            )[0]
            name = parent
        entries = parse_dedup_file(p)
        src = DedupSource(name=name, path=p, entries=entries)
        _REGISTRY[name] = src
  • The `DedupEntry` and `DedupSource` dataclasses that define the data schema for dedup sources and entries returned by `list_sources()`.
    @dataclass
    class DedupEntry:
        index: int  # 1-based as in the file
        method: str
        url: str
        status: int | None
        length: int | None
        parameters: str
        request: str
        response: str
    
        def host_path(self) -> tuple[str, str]:
            # url is full https://host[:port]/path
            m = re.match(r"https?://([^/]+)(/.*)?$", self.url)
            if not m:
                return "", self.url
            host = m.group(1)
            path = m.group(2) or "/"
            return host, path
    
    
    @dataclass
    class DedupSource:
        name: str
        path: str
        entries: list[DedupEntry]
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. However, it only states the operation without mentioning side effects, permissions, or that it is a safe read operation, leaving ambiguity about behavior.

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?

The description is a single sentence with no extraneous information, perfectly concise and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no parameters and includes an output schema, the description sufficiently conveys the purpose. It does not need to explain return values as the schema covers that, and for a simple list-all function, it is complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero parameters (100% coverage trivially), and the description does not need to add parameter meaning. Baseline for 0 parameters is 4.

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 'List all registered dedup sources' uses a specific verb ('list') and clearly identifies the resource ('registered dedup sources'), distinguishing it from siblings like dedup_get and dedup_search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for listing all possible sources, but provides no explicit guidance on when to use this tool versus alternatives (e.g., dedup_search for filtered queries, dedup_get for individual source details).

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/titaniumtushar/burp-mcp-plus'

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