Skip to main content
Glama
curl-mcp-server

curl-mcp-server

by j0zack

http_request

Send structured HTTP requests with configurable methods, headers, body, authentication, timeouts, and redirects, returning full status, headers, and response body.

Instructions

Make a structured HTTP request with explicit parameters. Supports all common HTTP methods, custom headers, request body, and authentication (Basic Auth and Bearer tokens). Returns the full HTTP response including status, headers, and body.

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": {
      "url": "<url>"
    },
    "name": "http_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to send the request to
authNoAuthentication configuration
bodyNoRequest body (for POST, PUT, PATCH methods)
methodNoHTTP method to useGET
headersNoCustom headers to include in the request
timeoutNoRequest timeout in milliseconds
followRedirectsNoWhether to follow HTTP redirects

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does useful work by stating the return shape (status, headers, body) and confirming auth support, but it says nothing about the consequences of DELETE/PUT-style methods, credential handling risks, redirect behavior beyond the schema default, or error semantics on non-2xx responses.

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?

Three sentences, front-loaded with the core capability, then supported features, then return value. Nothing is padded, though the middle sentence is essentially a feature list that duplicates schema content.

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?

With no output schema, the description helpfully declares that the full response (status, headers, body) is returned, which the agent otherwise could not know. For a 7-parameter tool with a nested auth object, this is reasonably complete, though the absence of any mutation/credential caveat is a gap for a tool that can issue DELETE and carry secrets.

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 every parameter including the nested auth object is already documented, and the baseline is 3. The description's mentions of methods, headers, body, and Basic/Bearer auth largely restate the schema rather than adding format or usage detail.

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?

The description opens with a specific verb and resource ('Make a structured HTTP request') and enumerates what it covers: methods, headers, body, and auth. The phrase 'structured ... explicit parameters' implicitly contrasts with the sibling execute_curl, though it never names it, so the differentiation is suggestive rather than explicit.

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?

There is no direct statement of when to use this tool instead of execute_curl, nor any when-not guidance or prerequisites. The 'explicit parameters' framing implies it is the preferred option over a raw command tool, but the agent has to infer that rather than being told.

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

Deploy Server

Other Tools