Skip to main content
Glama

http_form_submit

Simulate HTML form submissions for penetration testing: configure method, headers, cookies, and redirects, then capture response status, headers, body, and redirect chain.

Instructions

Submit an HTML form (simulates browser form POST). url: form action URL form_data: dict of form fields e.g. {"username": "admin", "password": "test"} method: POST (default) or GET headers: additional HTTP headers cookies: session cookies to include follow_redirects: follow redirects after submit (default True) Returns: response status, headers, body, redirect chain

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
methodNoPOST
cookiesNo
headersNo
form_dataYes
follow_redirectsNo
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses form-submission behavior, redirect handling, and return values, but does not cover error handling, timeouts, or side effects. It provides basic transparency but lacks deeper behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with a one-sentence summary, followed by a clean bullet-like parameter list and a return-value line. It is appropriately sized for six parameters, though slightly longer than the leanest examples.

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?

No output schema exists, so the description's return-value line ('status, headers, body, redirect chain') is essential and provided. All parameters are documented, the purpose is clear, and the tool can be confidently invoked based on the description alone.

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?

Schema description coverage is 0%, so the description must compensate. It explains every parameter: url, form_data (with example), method, headers, cookies, and follow_redirects. This fully adds meaning beyond the schema's bare titles.

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 opens with 'Submit an HTML form (simulates browser form POST)', which clearly states the tool's action and target. This distinguishes it from the sibling generic http_request tool, making the purpose unambiguous.

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 implies usage via 'simulates browser form POST' and lists method options, but it does not explicitly contrast with http_request or mention when not to use the tool. The context is clear enough for most cases, but excludes no alternatives or exclusions.

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/Neeraj829784/kali-mcp'

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