Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
prodisco_searchToolsA

BROWSE API DOCUMENTATION. Find methods/types/functions by name from indexed TypeScript libraries. Use methodName to search (this searches indexed TypeScript typings only; it does NOT execute code or call external services).

INDEXED: - @kubernetes/client-node: Kubernetes API client

  • @prodisco/prometheus-client: Prometheus queries & metric discovery

  • @prodisco/loki-client: Loki LogQL querying

  • simple-statistics: Statistics helpers

  • uvu: Lightweight test runner for sandbox testing.

FILTERS: library, documentType (method|type|function|script), category

prodisco_runSandboxA

PREREQUISITE: Call searchTools first to discover correct API methods and parameters. Do NOT guess - search to find available APIs before writing code.

Execute TypeScript code in a sandboxed environment.

IMPORTANT: When executing new code, ALWAYS provide a scriptName to cache the script for future reuse. Use descriptive kebab-case names (e.g., "list-pods", "get-etcd-details", "check-node-resources"). Scripts are only cached when scriptName is provided.

BEST PRACTICE: When writing complex logic, data transformations, or code you are uncertain about, use mode: "test" first to validate your implementation with unit tests before running in production. This helps catch bugs early and ensures correctness.

MODES: • execute (default): Blocking execution, waits for completion. Params: code OR cached (required), scriptName (required for caching), timeout. • stream: Real-time output streaming. Params: code OR cached (required), scriptName (required for caching), timeout. • async: Start execution and return immediately with execution ID. Params: code OR cached (required), scriptName (required for caching), timeout. • status: Get status of async execution. Params: executionId (required), wait (optional). • cancel: Cancel a running execution. Params: executionId (required). • list: List active/recent executions. Params: states (optional), limit (optional). • test: Run unit tests with structured results. Params: tests (required), code (optional implementation to test), timeout. CRITICAL: test() and assert are pre-injected globals - do NOT import them, do NOT call test.run(). Just write: test("name", () => { assert.is(actual, expected); }); Available assertions: assert.is(a,b), assert.ok(val), assert.equal(obj1,obj2), assert.not(val), assert.throws(fn).

Sandbox provides console + process.env and restricts require() to an allowlist. ALLOWED IMPORTS:

  • require("@kubernetes/client-node") - Kubernetes API client

  • require("@prodisco/prometheus-client") - Prometheus queries & metric discovery

  • require("@prodisco/loki-client") - Loki LogQL querying

  • require("simple-statistics") - Statistics helpers

  • require("uvu") - Lightweight test runner for sandbox testing

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
index.d.tsTypeScript declaration file: index.d.ts
metadata.d.tsTypeScript declaration file: metadata.d.ts
runSandbox.d.tsTypeScript declaration file: runSandbox.d.ts
searchTools.d.tsTypeScript declaration file: searchTools.d.ts

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/harche/ProDisco'

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