Skip to main content
Glama

http_http_request

Make HTTP requests to any URL for REST APIs, webhooks, or form submissions. Returns a JSON object with status, headers, and body.

Instructions

[http] Make an HTTP request to any URL. Use for REST APIs, webhooks, form submissions, or any HTTP endpoint. Returns a JSON object with 'status', 'headers', and 'body'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYes
urlYes
headersNo
bodyNo
body_textNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It states the return format (JSON with 'status', 'headers', 'body'), which is helpful, but lacks details on error handling, timeouts, authentication, or side effects (e.g., mutability on the server side for POST/PUT).

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 exceptionally concise: two sentences, front-loaded with the primary action, followed by use cases and output format. Every word adds value without superfluous information.

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?

Given the simplicity of the tool and the presence of an output schema (not provided but inferred), the description covers the basics. However, it omits important context like allowed HTTP methods, whether redirects are followed, timeout behavior, and error response structure, which are necessary for robust usage.

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?

The input schema has 0% description coverage for its 5 parameters. The description does not clarify parameter semantics beyond implying that 'method' and 'url' are required, and that headers and body are optional. It does not explain the difference between 'body' and 'body_text', nor the allowed values for 'method' (e.g., GET, POST).

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 clearly states the action ('Make an HTTP request to any URL') and lists specific use cases (REST APIs, webhooks, form submissions). It distinguishes the tool's broad applicability but does not explicitly differentiate it from the sibling tool 'fetch_fetch' which likely has overlapping functionality.

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?

The description implies when to use (any HTTP endpoint) but does not provide guidance on when not to use or suggest alternatives. Sibling tools like 'fetch_fetch' or 'retry_retry_http' exist but are not mentioned, leaving the agent to infer appropriateness.

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/0-co/agent-friend'

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