Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
scan_repo_toolC

Scan a repository and return a structured analysis report.

get_chunk_toolB

Retrieve a line-range slice from a file.

write_fix_toolB

Apply a unified diff to a file; run optional tests and auto-rollback on failure.

git_commit_toolB

Create an atomic git commit; enforces session budget and confirmation checkpoints.

read_memory_toolB

Read a value from reforge-state.json.

Returns {key, value, found}.

write_memory_toolA

Write a value to reforge-state.json atomically.

Returns {success, key, previous_value}. ttl_seconds is accepted but not enforced (stored as metadata only).

infer_architecture_toolA

Infer the architectural pattern of a repository.

Runs scan_repo, detects pattern (REST API, CLI tool, library, web frontend), identifies entry points and logical modules, stores the result in reforge-state.json under architecture_hypothesis, and returns the inference.

score_risk_toolA

Score the risk of changing a symbol (0 = safe, 100 = very risky).

Factors: inbound references, test coverage, file size, circular deps. Returns score, per-factor breakdown, and a recommendation string.

get_health_score_toolA

Compute a 0-100 health score from scan metrics and append to health_history.

Scoring deductions: duplicate ratio (-30 max), dead code ratio (-30 max), god files (-20 max), circular deps (-20 max).

generate_changelog_toolC

Write REFORGE_CHANGES.md from current session state.

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/Codewithaiyan/reforge-mcp'

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