Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HWCONTRACT_ROOTNoAbsolute path to the contracts folder. Relative contract paths resolve against it. Defaults to the process's working directory.
HWCONTRACT_SAFENoSet to '1' to instantly disable hardware-touching tools (captures) while leaving pure judge tools working.
HWCONTRACT_TOKENNoBearer token required when the server is exposed over HTTP (e.g., via --http).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
judge_contractA

Judge observations against a contract -> pass/marginal/fail. No hardware; use for replay or when an adapter already captured.

capture_ws2812A

Capture the WS2812 data line via sigrok and return measured pulse-width observations (T0H/T1H/...).

check_ws2812A

Capture a live WS2812 signal AND judge it against a contract in one call. The one-shot an agent reaches for.

check_dshotB

Capture a live DShot600 ESC signal AND judge it against a contract in one call.

judge_serialA

Judge a captured serial log against expect/forbid patterns. No hardware; use for replay or logs another tool already captured.

check_serialB

Read a serial port for N seconds AND judge its log against a contract's expect/forbid patterns.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/MohibShaikh/hwcontract'

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