Skip to main content
Glama
Refract MCP Server
by Rinneway

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_API_KEYYesAPI key for the LLM endpoint.
LLM_BASE_URLNoEndpoint for the OpenAI-compatible LLM API; several, comma-separated, are tried in order.https://api.openai.com/v1
REFRACT_MODELNoModel for tagging, planning, drafting, revising and chat.gpt-4o-mini
REFRACT_DATA_DIRNoFolder with `profiles/`, `events/`, and `knowledge/`.examples/demo
REFRACT_LANGUAGENoLanguage of insights: `ru` or `en`.ru
REFRACT_VERIFIER_MODELNoModel for the review step and default judge; another family is better.= REFRACT_MODEL
REFRACT_EMBEDDING_MODELNoEnables hybrid BM25 + dense retrieval.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Refract explains what a news item means for a specific subject (a company, a sole proprietor, a self-employed person or a private individual). Call list_profiles first, then analyze_news with a profile_id and either an event_id or the news title and text. Every statement in the result is tagged as a fact, the institution's view, an AI inference or a hypothesis, with its sources.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_profilesC

Subjects available for analysis: id, kind and a short summary.

get_profileC

The full profile of a subject as JSON.

news_feedA

Which stored news concern the subject, strongest links first — ranked by code, with the reason for each. since: YYYY-MM-DD. Use analyze_news on an event_id from the list to get the full insight.

news_briefA

The strongest news for the subject, each explained by the agent and cut to a paragraph, highest impact first. Slower than news_feed: one agent run per item (top ≤ 5).

list_eventsC

Latest news events in the store.

analyze_newsC

Run the agent: what the news means for the subject. Give an event_id, or a title and text. role: owner, ceo, cfo, chief_accountant, treasurer, entrepreneur, individual, other. language: ru or en.

ask_followupC

A follow-up question about an insight produced in this session.

get_traceB

How an insight was produced: every tool call and model call with timing, cost and review findings.

search_researchC

Search the institution's research documents.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 9 tools

Disambiguation4/5

Most tools target clearly different steps: profile discovery, event listing, research search, analysis, follow-up, and tracing. The news cluster (list_events, news_feed, news_brief, analyze_news) overlaps conceptually, but descriptions explain their distinct roles, especially the ranked-feed vs synthesized-brief vs deep-analysis distinction.

Naming Consistency4/5

All names use snake_case and are readable. Most follow a verb_noun pattern (search_research, analyze_news, ask_followup, get_profile, get_trace, list_events, list_profiles), though news_brief and news_feed are noun phrases rather than action-oriented names.

Tool Count5/5

Nine tools is well within the ideal range and each appears to earn its place in a coherent analysis workflow. The set covers discovery, ranking, synthesis, follow-up, and provenance without obvious redundancy.

Completeness4/5

The surface covers the core lifecycle: list subjects, get profiles, inspect events, rank/filter news, run analysis, ask follow-ups, and inspect traces. Minor gaps exist around research-document retrieval or broader insight listing, but the main workflows are supported.

Maintenance

ActivityNo data
ResponsivenessOutdated data