Skip to main content
Glama
cameronsjo

MCP Server Template

by cameronsjo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OTEL_ENABLEDNoEnable OpenTelemetry tracingfalse
MCP_SERVER_HOSTNoHTTP host (when transport=http)127.0.0.1
MCP_SERVER_NAMENoServer namemcp-server-template
MCP_SERVER_PORTNoHTTP port (when transport=http)3000
MCP_SERVER_DEBUGNoDebug mode (skips auth)false
MCP_SERVER_DB_PATHNoSQLite database path.data/cache.db
MCP_SERVER_TIMEOUTNoRequest timeout (ms)30000
MCP_SERVER_VERSIONNoServer version0.1.0
MCP_SERVER_CACHE_TTLNoDefault cache TTL (seconds)3600
MCP_SERVER_LOG_LEVELNoLog level: debug, info, warning, errorinfo
MCP_SERVER_TRANSPORTNoTransport: stdio or httpstdio
MCP_SERVER_SENTRY_DSNNoSentry DSN for error tracking
MCP_SERVER_CACHE_ENABLEDNoEnable/disable cachingtrue
OTEL_EXPORTER_OTLP_ENDPOINTNoOTLP collector endpoint

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
echoC

Echo a message back, optionally in uppercase

addA

Add two numbers together

cacheB

Get or set a cached value. Provide only key to get, provide key and value to set.

statusB

Get server status and cache statistics

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: add performs arithmetic, cache handles key-value storage, echo returns input with optional transformation, and status provides server metadata. There is no overlap or ambiguity between these functions.

Naming Consistency5/5

All tool names follow a consistent, simple verb-based pattern (add, cache, echo, status) without mixing conventions like snake_case or camelCase. This uniformity makes the set predictable and easy to understand.

Tool Count4/5

With 4 tools, the count is reasonable for a template server, covering basic utilities like arithmetic, caching, echoing, and status checks. It's slightly minimal but well-scoped for demonstration purposes, lacking only minor expansions.

Completeness3/5

As a template server, it covers fundamental operations but has notable gaps for a more robust utility set, such as missing tools for deletion, advanced caching operations, or error handling. However, it provides a complete basic workflow for its intended scope.