Skip to main content
Glama

WritersLogic verifiable AI agents

http-outcome

Classify an HTTP response as success, retry, reconcile or stop, with the wait it asks for — Classifies one HTTP response (method, status, headers) as success / retry / reconcile / stop for an agent that just called an API, and reads the wait from Retry-After (RFC 9110: delay-seconds or any of the three HTTP-date formats) or from a vendor delay header whose dialect the caller declares (seconds, milliseconds, epoch seconds, epoch milliseconds, HTTP-date). Caller-supplied vendor rules (stat

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": {
      "method": "<method>",
      "status": "<status>"
    },
    "name": "http-outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfNoRFC 3339 instant; needed to turn an HTTP-date or epoch delay into seconds.
methodYes
statusYes
headersNoResponse headers as name/value pairs (names compared case-insensitively).
delayHeaderNoWhich header carries the wait and in what dialect. Default is Retry-After under RFC 9110.
vendorRulesNoFirst matching rule wins.
idempotencyKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources