Skip to main content
Glama

HAL (HTTP API Layer)

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HAL_ALLOW_AWS-S3NoURL restrictions for AWS S3 namespaced secrets
HAL_ALLOW_GITHUBNoURL restrictions for GitHub namespaced secrets
HAL_API_BASE_URLNoBase URL for API requests (overrides the servers specified in the OpenAPI spec)
HAL_SECRET_TOKENNoSecret token value for secure substitution in requests
HAL_SWAGGER_FILENoPath to OpenAPI/Swagger specification file (JSON or YAML format)
HAL_SECRET_API_KEYNoSecret API key value for secure substitution in requests
HAL_ALLOW_MICROSOFTNoURL restrictions for Microsoft namespaced secrets
HAL_SECRET_PASSWORDNoSecret password value for secure substitution in requests
HAL_SECRET_USERNAMENoSecret username value for secure substitution in requests
HAL_ALLOW_GOOGLE-CLOUDNoURL restrictions for Google Cloud namespaced secrets
HAL_ALLOW_AZURE-STORAGENoURL restrictions for Azure Storage namespaced secrets
HAL_SECRET_GITHUB_TOKENNoSecret GitHub token for secure substitution in requests

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
api-docsDocumentation for available HTTP API tools

Tools

Functions exposed to the LLM to take actions

NameDescription
http-get

Make an HTTP GET request to a specified URL. Supports secret substitution using {secrets.key} syntax where 'key' corresponds to HAL_SECRET_KEY environment variables.

http-post

Make an HTTP POST request to a specified URL with optional body and headers. Supports secret substitution using {secrets.key} syntax in URL, headers, and body where 'key' corresponds to HAL_SECRET_KEY environment variables.

http-put

Make an HTTP PUT request to a specified URL with optional body and headers. Supports secret substitution using {secrets.key} syntax in URL, headers, and body where 'key' corresponds to HAL_SECRET_KEY environment variables.

http-patch

Make an HTTP PATCH request to a specified URL with optional body and headers. Supports secret substitution using {secrets.key} syntax in URL, headers, and body where 'key' corresponds to HAL_SECRET_KEY environment variables.

http-delete

Make an HTTP DELETE request to a specified URL with optional headers. Supports secret substitution using {secrets.key} syntax in URL and headers where 'key' corresponds to HAL_SECRET_KEY environment variables.

http-head

Make an HTTP HEAD request to a specified URL with optional headers (returns only headers, no body). Supports secret substitution using {secrets.key} syntax in URL and headers where 'key' corresponds to HAL_SECRET_KEY environment variables.

http-options

Make an HTTP OPTIONS request to a specified URL to check available methods and headers. Supports secret substitution using {secrets.key} syntax in URL and headers where 'key' corresponds to HAL_SECRET_KEY environment variables.

list-secrets

Get a list of available secret keys that can be used with {secrets.key} syntax. Only shows the key names, never the actual secret values.

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/DeanWard/HAL'

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