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.

falsepass checks the reward code of RL environments and eval tasks (verifiers / Prime Intellect Environments Hub, OpenEnv / Hugging Face Spaces, Inspect AI, HUD, and plain reward functions written for TRL's GRPOTrainer; published or in a local folder): it scores completions whose correctness is known (the reference, an empty reply, a wrong answer in perfect format, an answer that is then denied, ...) with the environment's own grader and reports every disagreement.

Typical flow: falsepass_init (Hub slug or local folder) -> falsepass_audit -> read failing and headline -> falsepass_repro for anything worth confirming -> read the reward code -> falsepass_draft for a report skeleton -> falsepass_upstream and falsepass_verify_fix when a fix is going upstream. Start with falsepass_scan when you only have source code.

An audit can take several minutes (it installs the environment first). falsepass_audit waits up to wait seconds; if the audit is still running it returns {"status": "running", ...} and the audit carries on in the background. Then call falsepass_audit_status with the same env until it returns the results; falsepass_cancel stops a job that is no longer wanted.

How to read results: everything is a lead, not a verdict. A grader may be strict or lenient on purpose (partial credit, letter case); say so instead of calling it a defect. When telling a maintainer, give the exact completion, the score, the line of code that causes it and a suggested fix. Never describe an environment as broken.

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
falsepass_scanA

Static pre-scan of reward source code (a .py file or a folder). Nothing is installed or run. Returns hints: patterns worth a look, each to be confirmed by an audit.

falsepass_initA

Set up audits// for an environment and return the name to audit it with.

target: a Prime Hub slug (owner/environment), a Python file of reward functions written for TRL's GRPOTrainer (def accuracy_reward(completions, solution, **kwargs); or a module name such as trl.rewards with framework "reward") together with dataset (a .jsonl/.json/.csv/.parquet file, hf:owner/name, or call:function in the file; optional functions, weights, split, dataset_config, answer_column, prompt_column, map (a row mapper in the file), path (folders put on sys.path for a package that is imported rather than installed, e.g. a clone's src)), an OpenEnv Space (hf:owner/space, cloned next to the audit) or folder (openenv.yaml), a local folder with a pyproject.toml (verifiers or Inspect project), an Inspect task file, an Inspect registry name (inspect_evals/gsm8k), or a HUD environment folder. Options: name (folder name, default from the environment), version (Hub version), framework ("verifiers", "openenv", "reward", "inspect" or "hud" when detection is wrong), task (Inspect: which @task), answers (HUD and OpenEnv: path to a JSON file of reference answers, an object from task key to answer or a list in task order; without it only answer-free probes run, unless an OpenEnv task record carries an answer field), extra (more requirements to install, e.g. ["inspect-evals[math]"]; added to the environment's own), without (requirement names to drop from the environment's own, e.g. a pin that does not resolve), env_class / action_class (OpenEnv, "module:Class": the environment class or factory and the action class when detection picks the wrong one), manual (also write an adapter.py skeleton for a Q&A environment automatic mode cannot script), policies (the same for games, simulations and tool tasks: a skeleton built around policies; use it when an audit comes back "inconclusive", or for a verifiers v1 tool taskset once the automatic run of generic tool policies is done, to add a solver as the control and task-aware exploits; v1 episodes run through the taskset's own loop; for an OpenEnv MCP tool environment, or one whose reward comes after several steps, the policies play whole episodes through its reset() and step()), force (rewrite an existing audit's env.toml, e.g. to add answers; adapter.py is kept).

falsepass_auditA

Probe one environment set up with falsepass_init: installs it in a throw-away virtualenv and scores known-good and known-bad completions with its own reward code.

Takes from under a minute to several minutes, so it runs in the background: this call waits up to wait seconds (max 600). If the audit is done, it returns the headline numbers, the failing probes with one example completion each, and static hints (status "finished"); otherwise {"status": "running", ...}: then call falsepass_audit_status. Calling it again while an audit of env runs does not start a second one. n is the number of tasks sampled; search > 0 adds mutation search (scorer calls per direction and example; 120 is a good value). source installs the environment from a local folder (a patched copy, relative to workdir) instead of its release: the whole probe suite against a fix.

falsepass_audit_statusA

Wait up to wait seconds (max 600) for the job started by falsepass_audit or falsepass_reach, then return its results (status "finished") or progress (status "running": call again). A failed job is returned as an error with the end of its log.

falsepass_cancelA

Stop the background job of env (an audit, reach, repro or verify-fix, started by this server or an earlier one): its process group gets SIGTERM, and SIGKILL if it is still there 5 s later. Results stored by earlier runs stay; a cancelled audit keeps the rows of the tasks it finished in partial-results.jsonl (stopped.md says so); the job is recorded as "cancelled" and a new one can be started.

falsepass_resultsA

The last finished probe run of an environment (headline, failing probes, static hints). While a job runs on it, the same digest with the job's progress under job (the progress alone when nothing has finished yet).

falsepass_completionA

The full text of one completion from the last run (a completion_id from the results): the digest shows only its start and end.

falsepass_reproA

Write audits//repro_auto.py: a script that depends only on the environment's own packages and re-scores the exact failing completions. probe limits it to some probes, e.g. ["P5"] or ["X1/denies_both_figures"] (code/variant). Identical output from two clean runs is what makes a lead reproducible: with run=true the script is also run twice, each in a fresh virtualenv, in the background like an audit (status "running": call falsepass_audit_status). The result says whether the runs were identical, where the first is stored (headed by its command), and how many cases still fail. script runs an existing script in the audit folder instead (e.g. a hand-written repro.py).

falsepass_reachA

After an audit: how many tasks a failing probe reaches. Scores only the rows asked for, e.g. probe=["P15/denied"] (a code, or code/variant as in the results), plus the reference (P1) as a control, on every task (tasks=0) or a sample of tasks. templates counts completions of your own instead of writing a script (rows U1/t1, t2, ...): "{answer}", "{wrong}", "{answer_in_format}" and "{wrong_in_format}" are filled per task, other braces stay, e.g. "\boxed{{answer} \text{ is wrong}}"; expect "zero" counts where they are paid, "full" where they are not paid in full. Each template row also returns first_completion, the text it became on the first task. Returns per row the tasks counted, how many failed (expected 0: paid; expected full: not paid in full), full-reward and error counts, the failing task keys and up to three failing completions. Per-example probes only (P1-P9, P13-P19, A1, X1, T9). Runs in the background like falsepass_audit: status "running" means call falsepass_audit_status. Whole datasets whose reward starts a process per call (uv scripts) take minutes to an hour.

falsepass_verify_fixA

Check a patch: rerun the stored repro (repro.py, else repro_auto.py) with the environment taken from source and list the lines that change (no stored output: the unpatched script runs first and is stored as the baseline). source is a patched package folder, or a patched copy of the audit's src/ without pyproject.toml, which is laid over the release. known_good >= 0 also scores every correct-answer row (P1, P2, P14) with and without the patch, on every task (0) or a sample, and lists the tasks whose correct answer the patch stops paying. Runs in the background like an audit (status "running": call falsepass_audit_status).

falsepass_draftA

Write audits//REPORT.draft.md from the last run: each failing probe group as a candidate finding with the confirmed static hints attached, and the places marked where a person has to judge (defect or design choice, severity). Returns the file path and its text. A draft is not a report: confirm each candidate with falsepass_repro and the reward code first.

falsepass_upstreamA

Find the environment's source repository on GitHub (repositories the package names in its project URLs or source first, then code search for the package name and for its most distinctive class and function names), compare every audited file with the repository's default branch, and report what a contributor needs: default branch, licence, last push, open pull requests, how many recent merges came from outside. repo (owner/name) checks one repository instead of searching. Needs the gh CLI, logged in.

falsepass_discoverB

Recently maintained environments: hub "prime" (the Prime Intellect Hub, with what each needs: sandbox, tools, LLM judge, API key, an outside service its code calls, reference answers; needs the prime CLI) or "hf" (OpenEnv Spaces on the Hugging Face Hub, most liked first, each with the hf:owner/space target for falsepass_init; the public listing only).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 13 tools

Disambiguation4/5

Most tools target a distinct stage of the audit pipeline (discover, init, scan, audit, repro, verify_fix, draft, upstream, cancel), and the descriptions spell out which one to use next. The main soft spots are the cluster of run-observation tools — audit_audit_status vs results vs completion vs cancel — where an agent must read carefully to know whether it is waiting on a job, reading the last finished digest, or fetching a single completion. Scan vs audit is also close (hints vs actual probe runs), though the descriptions do separate them.

Naming Consistency4/5

All 13 names use the same snake_case prefix with no camelCase or style mixing, so the pattern is highly predictable. The only deviation is that some names are verbs (scan, audit, cancel, discover) while others are nouns (results, completion), and audit_status pairs a verb with a noun suffix; minor, but not a pure verb_noun scheme.

Tool Count5/5

13 tools sits comfortably in the well-scoped range, and each maps to a real step of the audit lifecycle rather than duplicating another. Background-job handling alone justifies the status/results/cancel triplet, and no tool looks like filler.

Completeness4/5

The surface covers the full discover → init → scan → audit → results → reach → repro → verify_fix → draft loop, plus cancel and upstream reporting, which is strong lifecycle coverage. Minor gaps remain: there is no tool to list local audits/environments or clean up an audit folder, and no explicit re-configure/update beyond init's force flag or a targeted re-run of a single probe.

Maintenance

ActivityActive
ResponsivenessLimited data