Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HT802_HOSTNoDevice IP address192.168.1.1
HT802_PORTNoHTTP port80
HT802_USE_SSLNoUse HTTPSfalse
HT802_PASSWORDNoLogin password
HT802_USERNAMENoLogin username (`admin`, `user`, or `viewer`)admin
HT802_VERIFY_SSLNoVerify TLS certificatefalse

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

MCP server for managing a Grandstream HT802 V2 analog telephone adapter (ATA). The HT802V2 has 2 FXS ports for analog phones, 1 WAN Ethernet port, and is configured via P-parameters. Tools cover system info, network status, port status, and device operations.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_system_infoA

Get device identity and versions: model, serial, MAC, firmware versions, uptime, CPU load.

get_base_infoA

Get basic product identification: product model and vendor name.

get_network_statusA

Get network status: IP addresses, cable status, NAT type, PPPoE, VPN, certificate.

get_port_statusA

Get FXS port status for both ports: hook state, SIP user, registration, SIP port.

get_device_timeA

Get current device date and time.

get_apply_statusA

Check if a reboot or apply is pending. Status '0' means no pending changes.

get_system_process_infoA

Get system process info: ATA process memory, provisioning status, core dump status.

get_valuesA

Read arbitrary P-parameters by name. Pass a list of parameter names like ['P30', 'P64'].

All values are returned as strings. Useful for reading any device setting not covered by a dedicated tool.

get_port_generalB

Get general settings for a port: SIP server, user ID, auth, NAT, DNS, outbound proxy.

Args: port: FXS port number (1 or 2).

get_port_sipA

Get SIP protocol settings for a port: registration, transport, timers, session, keep-alive.

Args: port: FXS port number (1 or 2).

get_port_codecA

Get codec settings for a port: vocoder priority, DTMF, RTP, jitter buffer, SRTP, fax.

Args: port: FXS port number (1 or 2).

get_port_analog_lineB

Get analog line settings for a port: impedance, caller ID, loop current, hook flash, ring.

Args: port: FXS port number (1 or 2).

get_port_call_settingsA

Get call settings for a port: dial plan, auto-dial, call waiting, caller ID, timeouts.

Args: port: FXS port number (1 or 2).

get_port_advancedA

Get advanced settings for a port: special feature, SIP security, certificate auth.

Args: port: FXS port number (1 or 2).

get_port_call_featuresA

Get call feature star-codes for a port: DND, call forwarding, call waiting, transfer codes.

Args: port: FXS port number (1 or 2).

get_port_ring_toneA

Get ring tone settings for a port: custom ring tones, ring cadences, call waiting tones.

Args: port: FXS port number (1 or 2).

rebootA

Reboot the device. The device will be unreachable for ~60 seconds after this call.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 17 tools

Disambiguation4/5

The get_port_* tools are cleanly partitioned by settings domain (SIP, codec, analog line, call features, ring tone), so an agent can pick by topic. Minor overlap exists: get_base_info and get_system_info both return model information, and get_values is a generic catch-all that overlaps with every dedicated getter.

Naming Consistency4/5

Reads consistently follow the get_<subject> pattern, with a clean get_port_* namespace for the eight per-port getters. The only deviation is the bare verb 'reboot', which is conventional for an action and easy to read.

Tool Count4/5

With 17 tools the server is slightly heavy, but the count is driven by a genuine 8-category settings split repeated across two FXS ports. Each getter maps to a coherent slice of device state, so no tool feels redundant filler.

Completeness2/5

The surface is almost entirely read-only: there is no set_values or per-port setter, no factory reset, no firmware or provisioning configuration tool, and reboot is the sole action. For a device-management server, an agent can inspect everything but cannot change anything beyond rebooting, a significant capability gap.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues