rules-as-code-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RULES_MCP_ROLE | No | The 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool serves a distinct purpose: screening, full eligibility check, required verifications, explaining prior determinations, and policy lookup. The descriptions explicitly differentiate between screening and the full determination, preventing confusion.
All tool names follow a consistent verb_noun pattern: screen_programs, check_program_eligibility, list_required_verifications, explain_determination, lookup_policy. The verbs are descriptive and the style is uniform.
With 5 tools, the server is well-scoped for a rules-as-code domain focused on SNAP eligibility. Each tool fills a necessary role in the workflow without redundancy or bloat.
The tool set covers the full eligibility life cycle: screening, detailed determination, verification document list, explanation of past results, and policy lookup. The workflow is end-to-end and there are no obvious missing operations.