Skip to main content
Glama
BurpSuite MCP

BurpSuite MCP

by Steph-ux

decoder_encode

Encodes plain text into Burp Decoder formats such as base64, URL, HTML, hex, or gzip_base64 for request and payload manipulation.

Instructions

Encode a string using Burp Decoder formats: base64, base64url, url, url_all (hex-encode every byte), html, hex, unicode_escape, or gzip_base64.

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": {
      "input": "<input>",
      "format": "<format>"
    },
    "name": "decoder_encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesPlain text input to encode.
formatYesTarget encoding format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does clarify that url_all hex-encodes every byte. However, it does not state the return type, how input text is interpreted (for example UTF-8 handling), or failure behavior. It adds some useful format-specific context but is not behaviorally complete.

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 definition is one front-loaded sentence with no wasted wording. The format names are packed efficiently into the same sentence as the purpose.

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 two-parameter encoder with no output schema or annotations, the description gives enough information to invoke it correctly. The main remaining gap is the absence of explicit usage guidance relative to sibling decoder tools, but the core operation and formats are clear.

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?

Schema coverage is 100%, so the schema already documents both parameters and the format enum. The description adds meaningful meaning beyond the schema by explaining that url_all hex-encodes every byte, though the other formats are only listed and not further clarified.

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 gives a specific verb and resource ("Encode a string") and names the Burp Decoder format family. It is immediately distinguishable from decoder_decode and decoder_hash because encoding is the stated operation, not decoding or hashing.

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?

Usage is only implied by the word "Encode"; there is no explicit statement of when to choose this tool over decoder_decode or decoder_hash, nor any exclusions or prerequisites. The intended use is obvious enough for a simple encoder, but the guidance does not go beyond inference.

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