Skip to main content
Glama
Laya Serve MCP
by enlotec

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LAYA_MODELSNoLAYA_MODELS accepts either a comma-separated list such as english,multilingual or a JSON array.
LAYA_API_KEYNoUse LAYA_API_KEY to require Authorization: Bearer <key> for REST and MCP HTTP requests.
LAYA_REVISIONNoSet LAYA_REVISION to a reviewed Hugging Face commit or tag in a production deployment; the selected revision is included in GET /v1/models.

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
laya_predictC

Answer typed choice, score, and yes/no questions using Laya.

laya_statusA

Report the checkpoints currently loaded by the Laya service.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 2 tools

Disambiguation5/5

laya_predict performs inference while laya_status reports loaded checkpoints; these are clearly distinct resource+action pairs with no overlap. An agent cannot reasonably confuse one for the other.

Naming Consistency5/5

Both tools follow the same laya_<verb> snake_case pattern (laya_predict, laya_status). The convention is uniform and predictable.

Tool Count4/5

Two tools is minimal but each earns its place for a thin inference-serving surface (predict + service status). Slightly under the typical 3-15 range, though adding a model-list or health tool would round it out.

Completeness3/5

Core prediction and checkpoint status are covered, but there is no way to list/select available models, load or swap checkpoints, or check service health. Agents must assume a default model, which is a notable gap for a serving API.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues