Skip to main content
Glama
junna-legal
by junna-legal

api-connector

Send HTTP requests to any REST API with custom headers, JSON body, retry logic, and configurable timeout. Returns response status, headers, and body.

Instructions

Make HTTP requests to any REST API with custom headers, JSON body, retry, and configurable timeout. Returns the response status, headers, and body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe full URL to send the request to
bodyNoRequest body (JSON). Ignored for GET and HEAD requests.
methodNoHTTP method to useGET
headersNoCustom request headers as key-value pairs (e.g. { "Authorization": "Bearer token123" })
format_jsonNoPretty-print JSON responses with indentation (default: true)
max_retriesNoMaximum number of retry attempts on transient errors (0-5, default: 3)
timeout_secondsNoRequest timeout in seconds (1-120, default: 30)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses that the tool makes HTTP requests, returns status/headers/body, and supports retries and configurable timeouts. However, it does not specify error handling, redirect behavior, response size limits, or security implications, which are significant for a generic HTTP client.

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 two sentences, front-loaded with the primary action, and includes only relevant details about features and return values. Every clause conveys necessary information without fluff.

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?

For a tool with 7 parameters and no output schema, the description adequately explains the return value as status, headers, and body, and mentions the core features. However, it does not specify the response object structure or error behaviors, leaving some context gaps that the schema does not cover.

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?

The input schema covers 100% of parameters with detailed descriptions, so the baseline is 3. The description does not add meaning beyond the schema—it merely references 'custom headers, JSON body, retry, and configurable timeout' which already exist in the schema. No additional parameter semantics are provided.

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 explicitly states 'Make HTTP requests to any REST API' with a clear verb and resource, and lists key capabilities (custom headers, JSON body, retry, timeout) that differentiate it from sibling tools like database-query and file_read. It leaves no ambiguity about the tool's primary function.

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 usage for making HTTP requests to external REST APIs, but does not explicitly state when to choose this over sibling tools like webhook_send or database-query. There are no exclusion criteria or alternative recommendations, so it only provides an implicit usage context.

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/junna-legal/mcp-starter-kit'

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