Skip to main content
Glama
aegis-action-firewall

aegis-action-firewall

http_request_safe

Validate and execute outbound HTTP requests after HTTPS allowlist, anti-SSRF, DLP, and Z3 policy checks pass.

Instructions

Validate HTTPS allowlist/anti-SSRF, scan outbound DLP, evaluate Z3, and execute HTTP.

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": {
      "session_id": "<session_id>",
      "service_id": "<service_id>",
      "method": "<method>",
      "url": "<url>"
    },
    "name": "http_request_safe"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
methodYes
headersNo
json_bodyNo
agent_roleNoWORKER
risk_scoreNo
service_idYes
session_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose that requests pass through allowlist, anti-SSRF, DLP, and Z3 gates, which is real behavioral context, but it says nothing about what happens when a check fails (error, silent block, or approval flow), whether service_id/session_id represent pre-authorized services, or whether any credentials are injected. For a security-gateway mutation tool, that is a major gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of padding, but it is terse to the point of being cryptic — a staccato list of internal pipeline stages rather than a readable statement of purpose. It is under-specified rather than efficiently concise.

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

Completeness2/5

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

This is a high-complexity tool: 8 parameters, 4 required, a security decision pipeline, and no annotations. An output schema exists, so return values need not be explained, but the definition still leaves out what the gates require, what identifiers mean, and what a denial looks like — insufficient for a tool of this complexity.

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 8 parameters, so the description must compensate and largely does not. Only 'url' and 'method' are indirectly implied by 'HTTPS' and 'HTTP'; session_id, service_id, agent_role, risk_score, headers, and json_body are entirely unexplained, and the significance of agent_role/risk_score for policy decisions is unstated.

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 names a specific resource (HTTP) and lays out the concrete processing chain: HTTPS allowlist/anti-SSRF validation, outbound DLP scanning, Z3 policy evaluation, then execution. An agent can tell this is a guarded outbound HTTP call rather than a raw fetch. It stops short of differentiating itself against siblings such as sql_execute_safe (which presumably has a parallel guard pipeline).

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?

There is no when-to-use or when-not-to-use guidance. The description never says this is the only sanctioned way to make outbound requests, nor when to use list_pending_approvals or a sibling instead. The agent must infer usage from the tool name alone.

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