Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ETCH_BEARER_TOKENYesBearer token from Etch. Get one: curl -X POST https://etch.systems/v1/anonymous-projects

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_factB

Query the knowledge graph for facts about entities (APIs, functions, classes, etc.)

record_eventC

Record a development event (file edit, test run, etc.)

validate_changeB

Validate a proposed code change against known constraints

get_constraintsA

Get constraints (linting rules, patterns, conventions) for a file

record_correctionC

Record a user correction to Claude's output (high-priority learning signal)

get_related_bugsC

Get bugs fixed in a file and assess regression risk

seed_projectA

Scan the project codebase and populate the knowledge graph with entities and relationships from existing code

ingest_pr_reviewsA

Pull GitHub PR review comments and convert them into learned constraints in the knowledge graph

record_decisionC

Record a decision trace: what the agent proposed and how the human responded

pin_annotationA

Attach a signed human annotation (note, override rationale, or intervention record) to a span of agent events. Persists into the annotations table and chains into the same Merkle audit log as agent writes (v0.15.0, ADR-0001). Rationale limited to 8 KB.

get_decision_logC

Get decision traces showing agent proposals and human corrections

record_test_outcomeC

Record test results and link failures to recent code changes

get_co_edit_suggestionsB

Get files commonly edited alongside the given file based on historical patterns

search_globalC

Search entities across all registered world-model projects

predict_regressionA

Score regression risk for a proposed change to a file based on past bugs, test failures, and constraint violations

simulate_changeC

Project blast radius and historical outcomes for a proposed change

predict_test_failuresA

Surface tests likely to fail given a set of edited files

promote_constraintB

Promote a constraint from this project to all other registered projects

get_health_reportA

Memory health diagnostics: orphans, stale facts, contradictions, decay candidates, DB sizes

get_context_for_actionC

Pre-action context bundle: constraints, decisions, bugs, co-edits, related facts, and risk score for a file before editing

find_contradictionsC

Find pairs of facts that contradict each other based on similarity and status differences

recall_transcript_rangeC

Hydrate a Claude Code session transcript by line range. Lets agents trace a fact back to the exact conversation that produced it.

export_claude_mdB

Generate a CLAUDE.md document from the knowledge graph (top constraints, recent decisions, known bug regions, co-edit patterns).

get_injection_contextB

Return a compact constraint+fact bundle for PostCompact / UserPromptSubmit hooks to re-inject after context loss.

record_compaction_auditA

Record a context-compaction event with token counts and what was re-injected. Lets developers audit what was remembered across compaction boundaries.

get_compaction_auditA

List recent compaction audit entries, most-recent first. Filter by session_id or limit count.

get_agents_md_constraintsA

Parse AGENTS.md / CLAUDE.md / GEMINI.md / .agents/skills/*.md in the project and return declarative constraints. Mixed into PreToolUse enforcement automatically; this tool exposes the same data for inspection.

resolve_contradictionC

Pick a winner between two contradicting facts using a confidence-weighted strategy (auto, keep_higher_confidence, keep_most_recent, keep_most_sources, supersede_a, supersede_b, manual).

verify_retrievalA

Adversarially verify an answer is grounded in a specific set of facts. An independent Coach LLM call checks each material claim in the answer against the supplied source facts and returns confidence (HIGH / MEDIUM / LOW), verified + unverified claim lists, and per-claim source_pointers. Never raises; failures return LOW + error populated. v0.12.12.

prove_entry_inclusionA

v0.13 tamper-evident audit log. Return a cryptographic inclusion-proof bundle for a persisted row_id (fact, constraint, event, or decision ID). Bundle includes the entry, the containing signed epoch (Ed25519 + SLH-DSA hybrid signature envelope), an RFC 6962 Merkle inclusion proof, and the full epoch chain from genesis. Requires WORLD_MODEL_AUDIT_LOG=on at server startup; returns an error object when opt-in is off, when the row_id is not found, or when the entry is in the unclosed backlog.

get_audit_log_headA

v0.13 tamper-evident audit log. Return the current head state (last log entry seq, last closed epoch seq, unclosed-entry count) plus the full closed-epoch chain with hybrid signature envelopes. Compliance auditors call this periodically to verify no operator misbehavior has occurred since the last check. Requires WORLD_MODEL_AUDIT_LOG=on at server startup.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/SaravananJaichandar/etch-mcp'

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