Skip to main content
Glama

Make an HTTP/API request from the execution host

http_request
Destructive

Make HTTP(S) or API calls through the execution host's VPN and DNS, supporting methods, headers, request bodies, redirect validation, and credential stripping for controlled external access.

Instructions

Make an HTTP(S) request through the MCP execution host's VPN and DNS. Supports methods, headers and request bodies for APIs. Redirects are validated; credentials are stripped on cross-origin redirects. Use only actions authorized by the user.

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
urlYes
bodyNo
methodNoGET
headersNo
maxCharsNo
timeoutMsNo
responseFormatNoauto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and readOnlyHint=false, so the risk profile is known; the description adds genuinely new behavior — VPN/DNS egress, redirect validation, and credential stripping on cross-origin redirects. It omits rate limits, error/status handling, and that responses are truncated, which would be valuable for an arbitrary-request tool.

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?

Three short sentences, front-loaded with the capability and egress path before the redirect-security detail. Nothing is redundant with the schema or annotations, and the safety sentence is short enough to earn its place.

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

Completeness3/5

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

For a high-complexity, open-world, destructive-flagged tool with 7 undocumented parameters and no output schema, the description is only partially complete. It never explains response truncation via maxChars, timeout behavior, or what the tool returns on non-2xx responses, leaving an agent to guess at the most operationally important details.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description carries the full burden and mostly fails it. It gestures at method, headers and body, but says nothing about maxChars, timeoutMs, responseFormat (including when base64 is appropriate), or URL constraints — all of which materially change how the call is made.

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 concrete verb and resource ("Make an HTTP(S) request through the MCP execution host's VPN and DNS") and clarifies the egress path, which is meaningful for an agent reasoning about reachability. It does not name or contrast with siblings like fetch_page or web_search, so an agent must infer the boundary between a raw HTTP call and a page-fetch/search tool.

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?

The only usage instruction is the policy line "Use only actions authorized by the user," which is a safety constraint rather than a when-to-use rule. There is no guidance on choosing this over fetch_page or web_search, no mention of when a raw request is preferable to a rendered page fetch, and no exclusions.

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