Skip to main content
Glama
adamselzer

rules-as-code-mcp

by adamselzer

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RULES_MCP_ROLENoThe role used for authorization: 'screening' or 'caseworker'. Over stdio, this is set via environment variable.screening

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

Tools

Functions exposed to the LLM to take actions

NameDescription
screen_programsA

Coarse, anonymous-safe screen of a household across SNAP and a simplified Medicaid income check. Returns a 'likely eligible' signal per program with a citation. This is NOT a determination and stores no data. Available to the screening scope. For a real determination, use check_program_eligibility.

check_program_eligibilityA

Run the full deterministic SNAP financial eligibility test for a household. Returns the decision PLUS the rule trace and the policy citation behind every rule that fired, plus the ruleset version -- never a bare yes/no. Requires the caseworker scope. 'program' must be 'SNAP'.

list_required_verificationsA

List the documents a caseworker must verify to confirm SNAP eligibility for a household, derived from the facts the household presents (earned income implies pay stubs, shelter costs imply a lease, and so on). Requires the caseworker scope.

explain_determinationA

Return a plain, step-by-step trace of a prior determination by its id: which rules fired, what they saw, and the citation behind each. Requires the caseworker scope. Use the determination_id returned by check_program_eligibility.

lookup_policyA

Answer a SNAP policy question with citations to the eligibility manual. Delegates to the policy-manual-rag retrieval index. Currently a stub that returns an explicit placeholder rather than an invented answer. Available to the screening scope.

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/adamselzer/rules-as-code-mcp'

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