Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for HTTP server (when using HTTP transport)3000
GENLAYER_RPC_URLNoGenLayer JSON-RPC endpoint URLhttps://studio.genlayer.com/api
GENLAYER_DOCS_URLNoAlternate source URL or local file path for the docs bundle
GENLAYER_RPC_TIMEOUT_MSNoTimeout in milliseconds for RPC requests
GENLAYER_DOCS_CACHE_FILENoCache location for the downloaded bundle
GENLAYER_DOCS_TIMEOUT_MSNoHTTP timeout in milliseconds for docs download15000
GENLAYER_DOCS_REFRESH_HOURSNoCache freshness window in hours24

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
genlayer_scaffold_contractA

Generate a working starter GenLayer intelligent contract for a chosen template. The output has the runner header pinned and avoids the common deploy-killers.

genlayer_lint_contractA

Static pre-deploy checks for a GenLayer contract. Catches the mistakes that make a deploy finalize with a bare invalid_contract or fail consensus: a comment directly under the runner header, unpinned/alias runners, missing gl.Contract, and GenVM Python-subset issues (for/sorted/lambda) and storage anti-patterns.

genlayer_scaffold_testA

Generate a fast in-memory direct-mode test (genlayer-test) for a contract template. Uses the real fixtures (direct_vm, direct_deploy, direct_alice) and mocks web/LLM calls.

genlayer_start_workflow_sessionB

Create a persisted GenLayer workflow session from a generated contract workflow plan.

genlayer_list_workflow_sessionsA

List persisted GenLayer workflow sessions ordered by most recently updated.

genlayer_get_workflow_sessionA

Read a persisted GenLayer workflow session by id.

genlayer_update_workflow_stepA

Mark a specific workflow session step as completed or pending.

genlayer_autopilot_briefA

Generate a single high-context operator brief that combines endpoint capabilities, contract context, workflow plans, weak-agent handoff steps, and relevant docs.

genlayer_load_contract_artifactA

Load a local contract artifact or bytecode file and return base64 plus file metadata for downstream GenLayer workflows.

genlayer_probe_endpoint_capabilitiesA

Probe the configured GenLayer deployment and report which health, RPC, sync, and debug surfaces are actually exposed.

genlayer_generate_agent_handoffB

Generate an explicit step-by-step GenLayer handoff bundle for weaker agents, including ordered tool usage, fallback paths, and success conditions.

genlayer_plan_contract_workflowA

Build a multi-phase GenLayer contract workflow covering deploy, wait, snapshot, first read/write, and diagnosis.

genlayer_plan_contract_actionA

Build a schema-validated execution plan for deploy, read, or write contract actions.

genlayer_get_contract_interfaceA

Normalize a contract schema into constructor, view methods, and write methods.

genlayer_generate_typescript_workflowA

Generate GenLayerJS deploy/read/write code from a contract schema or deployed contract.

genlayer_generate_contract_playbookB

Generate a schema-aware deployment and interaction playbook for a GenLayer contract.

genlayer_list_networksA

List current GenLayer network presets and RPC endpoints from the documented network matrix.

genlayer_node_healthA

Fetch the configured GenLayer node HTTP health endpoint and return the live response.

genlayer_network_statusA

Fetch a combined snapshot of GenLayer RPC connectivity, chain id, block height, and syncing status.

genlayer_balanceA

Fetch the node operator balance from the configured GenLayer HTTP /balance endpoint.

genlayer_metricsA

Fetch Prometheus-style metrics from the configured GenLayer HTTP /metrics endpoint.

genlayer_eth_get_balanceC

Call eth_getBalance through the configured GenLayer RPC endpoint.

genlayer_raw_rpcC

Call a GenLayer JSON-RPC method directly against the configured endpoint.

genlayer_trace_transactionA

Call gen_dbg_traceTransaction for a transaction hash when the target node exposes debug methods.

genlayer_submit_raw_transactionA

Submit a signed GenLayer or Ethereum-compatible raw transaction through eth_sendRawTransaction.

genlayer_inspect_transactionB

Combine GenLayer status, GenLayer receipt, and Ethereum transaction lookup for a transaction hash.

genlayer_run_transaction_reportA

Orchestrate waiting, inspection, status explanation, optional trace lookup, and optional contract snapshot into one transaction report.

genlayer_wait_for_transactionA

Poll GenLayer transaction status until accepted or finalized, then return the combined inspection payload.

genlayer_explain_transaction_statusA

Interpret a GenLayer transaction hash into appealability, finality phase, and likely next step.

genlayer_call_contractA

Execute a live gen_call request for read, write-simulation, or deploy-simulation against the configured GenLayer RPC endpoint.

genlayer_get_contract_schemaA

Derive the schema/interface for base64-encoded GenLayer contract code.

genlayer_get_contract_stateA

Fetch the live state blob for a deployed GenLayer contract from the configured RPC endpoint.

genlayer_get_contract_codeA

Fetch the deployed base64 code blob for a GenLayer contract from the configured RPC endpoint.

genlayer_get_contract_snapshotA

Fetch contract state, deployed code, and derived schema in one call.

genlayer_run_contract_reportB

Orchestrate network context, contract snapshot, interface summary, workflow plan, and default action plans into one contract report.

genlayer_get_transaction_statusA

Fetch the lightweight consensus status for a GenLayer transaction.

genlayer_get_transaction_receiptA

Fetch the full receipt for a processed GenLayer transaction.

genlayer_syncingB

Call the configured GenLayer RPC endpoint gen_syncing method.

genlayer_refresh_docsA

Force-refresh the cached GenLayer documentation bundle from the configured source.

genlayer_search_docsB

Search the GenLayer documentation bundle and return the most relevant sections.

genlayer_read_docB

Read a specific GenLayer documentation section by slug, path, title, or fuzzy query.

genlayer_get_doc_by_slugA

Read a GenLayer documentation section by exact slug, path, resource URI, or docs URL.

genlayer_list_sectionsA

List available GenLayer documentation sections, optionally filtered by prefix text.

genlayer_search_examplesA

Search GenLayer documentation sections that contain code blocks, commands, SDK usage, or configuration examples.

genlayer_get_related_docsA

Find GenLayer documentation sections related to a given slug, path, title, URL, or fuzzy query.

genlayer_list_topicsA

List top-level GenLayer documentation topics with section counts and example pages.

Prompts

Interactive templates invoked by user choice

NameDescription
genlayer_write_contractGuided workflow to author a contract that passes consensus and deploys cleanly.
genlayer_test_contractDirect-mode and integration testing workflow before and after deploy.
genlayer_debug_deployChecklist for a deploy that finalized but errored (invalid_contract / contract_error).

Resources

Contextual data attached and managed by the client

NameDescription
genlayer-contract-rulesAuthoritative cheat sheet for writing, deploying, and debugging GenVM intelligent contracts.
genlayer-networksDocumented GenLayer network presets, RPC URLs, and chain IDs.
genlayer-rpc-configConfigured GenLayer RPC endpoint and supported live protocol helper methods.
genlayer-capabilitiesProbed capabilities for the configured GenLayer deployment, including which HTTP and RPC surfaces are exposed.
genlayer-autopilotSingle operator-grade brief for the configured endpoint, current contract context, and relevant GenLayer docs.
genlayer-workflow-sessionsList of persisted GenLayer workflow sessions.
genskill-indexJSON index of the parsed GenLayer documentation bundle.

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/Jr-kenny/genskill-mcp'

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