Skip to main content
Glama
CalWtr

relative-interpreter-mcp

by CalWtr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RELATIVE_SERVICE_URLNoThe URL of the Relative service API.http://localhost:4000/api

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": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modelsD

Every model the service holds.

select_modelA

Open a model for this session and reset the scope to its root. Returns its outline.

create_modelA

Create an empty model and select it.

import_modelA

Create a model from exported Relative JSON and select it.

delete_modelA

Permanently delete a model and its snapshots.

get_scopeB

Which model is selected, how deep the submodel scope is, and whether it is editable.

enter_submodelA

Scope into a submodel node, so reads and edits apply inside it.

exit_submodelA

Leave the current submodel. Give a depth to jump straight to that level (0 = root).

get_modelA

The current scope as a compact outline: nodes with their kind and value, links as arrows between named ports, views, and validation findings. Submodels are summarised, not expanded — use enter_submodel or get_element to look inside one.

get_elementB

One node, link, or view in full, including everything the outline summarises away.

get_validationB

Validation findings for the whole selected model.

get_script_sourceB

A function node's script source, read-only.

edit_modelA

Apply one or more changes as a single undoable operation. Put every change you already know you want in one call — steps apply in order and a later step can reference something an earlier one created. References are names ("Switch") or port references ("Switch.out"); anything that does not resolve is rejected before it is sent, so an edit never silently does nothing.

link_external_submodelA

Add a submodel node backed by a model directory outside this one. The service validates the path against its RELATIVE_EXTERNAL_ROOTS allowlist and refuses anything outside it.

run_nodeC

Execute a function node's pipeline and settle the reactive cascade.

undoB

undo the last operation on the selected model.

redoB

redo the last operation on the selected model.

list_snapshotsC

Named on-disk checkpoints for the selected model.

save_snapshotB

Save a named, restorable checkpoint.

restore_snapshotC

Restore a snapshot. This is itself undoable.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
modelsEvery model the service holds.

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/CalWtr/relative-interpreter-mcp'

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