Skip to main content
Glama
kiraa06
by kiraa06

http_request

Send authenticated HTTP requests using stored credentials without exposing secrets. Injects auth, substitutes placeholders in URL/headers/body, restricts hosts, and scrubs responses.

Instructions

Make an HTTP request authenticated with a stored credential, without exposing the secret. auth: auto (basic for user+password/user+token e.g. Jenkins; bearer for bare tokens), basic, bearer, none, header:, query:. Placeholders {{km.password}}, {{km.username}}, {{km.token}}, {{km.}} are substituted in url/headers/body. Only hosts registered on the credential are allowed (anti-exfiltration guard). Response body is scrubbed of the secret.

Input Schema

NameRequiredDescriptionDefault
refYes
urlYes
authNoauto
bodyNo
jsonNo
methodNoGET
headersNo
purposeNo
timeoutNo
allow_any_hostNo
follow_redirectsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior5/5

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

Annotations only give readOnly=false/openWorld=true/destructive=false; the description adds substantial behavioral context beyond them: the registered-host anti-exfiltration guard, response-body secret scrubbing, placeholder substitution rules, and auth-mode selection heuristics. This is exactly the security/behavior detail an agent needs.

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?

Front-loaded with the core purpose, then dense supporting detail with no obvious filler. Slightly terse/run-on in the auth and placeholder clauses, but every sentence carries 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?

For an 11-parameter mutation tool with no output schema and no annotations covering permissions, the description covers behavior (scrubbing, host guard, substitution) but omits meaning of several params and any return-shape note. Adequate but with clear gaps.

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?

With 0% schema coverage across 11 params, the description compensates well for `auth` (enumerating auto/basic/bearer/none/header/query with Jenkins/bearer nuance) and for placeholder use in url/headers/body, but `ref`, `method`, `timeout`, `json`, `allow_any_host`, and `follow_redirects` are left unexplained in both schema and description.

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?

States a specific verb+resource: 'Make an HTTP request authenticated with a stored credential, without exposing the secret.' This clearly distinguishes it from credential-management siblings and from run_with_credential, since the mechanism (authenticated HTTP call) is 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?

The description explains how auth modes behave and the host allowlist guard, which implicitly tells the agent how to use it, but it never states when to choose this tool over run_with_credential or other siblings, nor any when-not conditions. Usage is only implied.

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