Skip to main content
Glama
Matthew3957

ai-toolkit

by Matthew3957

http_request

Send HTTP requests to test APIs and prototype connectors. Customize method, headers, and JSON body to receive the response.

Instructions

Make an HTTP request and return the response body (truncated).

Use for quick API calls and connector prototyping. json_body is sent as a JSON payload for POST/PUT/PATCH.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
methodNoGET
headersNo
json_bodyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral transparency burden. It does disclose two key behaviors: the response body is truncated, and json_body is sent as a JSON payload for POST/PUT/PATCH. However, it does not mention error handling, HTTP status codes, authentication/headers behavior, timeouts, or side effects of making arbitrary network requests.

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 only two sentences and every sentence adds value: the first defines the core behavior and truncation, the second states use cases and clarifies JSON body semantics. It is front-loaded with the most important 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 that an output schema exists, the return shape may not need to be spelled out. Still, the input side is incomplete: headers, method constraints, error behavior, and authentication/security considerations are absent. The description is adequate for simple prototyping but leaves several important operational details to inference.

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%, so the description must compensate for all four parameters. It only clarifies json_body's role for certain HTTP methods and implicitly assumes url is the endpoint. It does not explain headers, the allowed method values beyond the default GET, or how url should be formatted.

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 a specific action and resource: 'Make an HTTP request and return the response body (truncated).' It also hints at a narrower intended use ('quick API calls and connector prototyping'), which helps position the tool. It does not explicitly differentiate itself from sibling tools, but none of the siblings appear to be direct HTTP alternatives.

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 phrase 'Use for quick API calls and connector prototyping' gives clear when-to-use context. It does not state when not to use the tool or name alternatives, but the intended scope is explicit enough to guide an agent in typical cases.

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