Skip to main content
Glama
x0base

mcp-security-toolkit

http_diff

Detect security-relevant differences between two HTTP responses by comparing status codes, headers, cookies, and body content to identify potential auth bypass, IDOR, and other vulnerabilities.

Instructions

Diff two HTTP responses with security-relevant findings.

Inputs may be raw HTTP response strings (status line + headers + body) or dicts shaped {"status": int, "headers": list|dict, "body": str}.

Reports:

  • status transitions classed as auth-bypass-likely / idor-possible / etc.

  • header diffs with security-header and auth-header tagging

  • cookie attribute diffs (HttpOnly / Secure / SameSite removal flagged high)

  • body diff: size, content-type shift, error-leak hints, unified diff excerpt

Stateless. Two inputs in, one report out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_aYes
response_bYes
Behavior5/5

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

Despite no annotations, the description thoroughly discloses behavior: it is stateless, reports on status transitions with severity classes, header diffs with security tagging, cookie attribute diffs, and body diffs. No contradictions with annotations.

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 efficiently structured with a clear purpose, input format details, and a bulleted list of report outputs. Every sentence adds value, and it is appropriately concise.

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's complexity (2 params, no output schema, no annotations), the description provides comprehensive coverage: input formats, report contents, and stateless nature. It is complete for safe and effective use by an AI agent.

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

Parameters5/5

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

The input schema has 0% description coverage, but the description compensates by defining the expected structure for both parameters (raw HTTP response strings or dicts with specific fields), adding significant meaning beyond the schema.

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 clearly states the tool diffs two HTTP responses with security-relevant findings. It uses specific verbs ('diff') and resources ('HTTP responses') and distinguishes itself from sibling tools that focus on other security tasks.

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

Usage Guidelines4/5

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

The description specifies input formats (raw strings or dicts) and outlines the report contents, providing clear context for when to use the tool. However, it lacks explicit guidance on when not to use it or direct comparison to alternatives.

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/x0base/mcp-security-toolkit'

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