Skip to main content
Glama
BurpSuite MCP

BurpSuite MCP

by Steph-ux

comparer_diff_text

Compare two text strings by lines, words, or characters and return structured diff chunks plus a unified preview to identify changes.

Instructions

Compare two strings (lines, words, or chars) and return structured diff chunks and a unified preview, similar to BurpSuite Comparer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "left": "<left>",
      "right": "<right>"
    },
    "name": "comparer_diff_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
leftYesBaseline / left text.
modeNoComparison granularity (default: lines).lines
rightYesModified / right text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the return shape (structured diff chunks plus a unified preview), which is genuinely useful, but says nothing about input size limits, performance on very large strings, or what happens when left and right are identical or empty.

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?

A single front-loaded sentence that names the resource, the three modes, and the return format with no wasted clauses. The BurpSuite Comparer analogy adds orientation in only a few words.

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

Completeness4/5

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

For a pure computation tool with no annotations and no output schema, the description covers purpose, modes, and return format, which is close to sufficient. The remaining gap is that the description is the only source of behavioral safety information and it omits any limits or edge-case handling.

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?

Schema description coverage is 100%, so all three parameters are already documented in the schema, and the enum for mode is explicit there. The description's mention of 'lines, words, or chars' simply restates the enum without adding format or defaulting detail, so baseline 3 applies.

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?

States a specific verb and resource ('Compare two strings') and enumerates granularities, which implicitly separates it from the proxy-item and repeater-item diff siblings that operate on captured traffic rather than raw text. It stops short of naming those siblings, so the differentiation is inferred rather than asserted.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of choosing this over comparer_diff_proxy_items or comparer_diff_repeater_items. The only hint is that it takes strings, so an agent must infer the selection rule from argument shape alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.