Fast typed decisions for agents: CLI and MCP tools (route, triage, guard, grep, rank, compact, judge) on TypeSafe Jev. Zero dependencies.
jevkit provides 11 well-named, action-oriented tools with consistent schemas and descriptions. Tool names follow verb_noun convention (jev_check, jev_choose, jev_route, etc.), aiding LLM intent inference. All tools have descriptions (avg ~120 chars, within 10-1024 baseline). Input schemas are present and typed for all tools. However, output schemas are not explicitly documented in the source, only inferred from code. Error handling is present but generic (JevError with code field); recovery guidance is minimal. Parameter descriptions are adequate but lack constraint details (e.g., no explicit min/max for threshold, minConfidence). The jev_ask tool is a raw API pass-through, reducing composability. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are visible. All tools are READ_ONLY, which is correct but not declared via annotations.
Raw access. Send your own state and questions to the Jev API in one request. Questions refer to state by name in backticks, for example `text`. Types: noul (yes/no probability; criteria {"true":"...","false":"..."}), choice (criteria is an object mapping option to meaning), score (criteria is an ordered array of level names). Example: {"state":{"text":"hi"},"questions":{"polite":{"type":"noul","instructions":"Is `text` polite?","criteria":{"true":"polite","false":"rude"}}}}
Yes or no question about a text. Returns a probability from 0 to 1. Fast and cheap. Use for gates and filters.
Pick one option for a text. Options is an object mapping option name to a plain-English meaning. Returns the choice, a probability per option and a confidence.
Cut a long log or tool output down to the lines that still matter for a task. Keeps order and original 1-based line numbers. Lines that look like errors are always kept. Prefer path over pasting lines, because pasting costs as many tokens as the log.
Filter lines by meaning instead of by pattern. Returns matching lines with 1-based line numbers and probabilities. Prefer path over pasting lines.
Output schemas not documented. Code infers return types (e.g., {probability, answer, threshold} for jev_check) but MCP tool definitions lack explicit output schema declarations. LLMs cannot plan downstream tool calls without knowing response structure.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). All tools are READ_ONLY but this is not declared via MCP tool annotations. Clients cannot infer safety properties without explicit hints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
A second opinion on an action before an agent runs it. Returns allow, ask or deny with reasons. It asks a human when unsure, never allows on an unreadable answer, and blocks a few catastrophic patterns without calling the model. If the result is ask, stop and check with the user. It is a second opinion, not a security boundary.
Run several yes/no checks over one text in a single request. pass is true only if every check passes. Use it as a cheap done-check or output validator.
Order items from best to worst on a criterion. Scores are coarse and judged in batches of 8, so treat close scores as ties. Returns each item with a score and confidence.
Pick the best candidate (model, skill, tool, agent) for a task. Returns null when nothing fits or confidence is low.
Rate a text on a scale you define. Levels is an ordered list from lowest to highest. The score can land between levels.
Label many items at once (emails, issues, tickets, logs). Labels is an object mapping label name to meaning. Items with low confidence get a null label.
Parameter constraints lack explicit bounds. threshold, minConfidence, k, top, context, and other numeric params have no min/max in schema. Descriptions mention defaults but not ranges. LLMs may pass invalid values (e.g., threshold=2.5).
jev_ask is a raw API pass-through. It accepts arbitrary state and questions, reducing composability. Agents must construct Jev API payloads manually instead of using higher-level tools. This violates single-responsibility principle.
Error handling lacks recovery guidance. JevError includes a code field but no actionable next steps. E.g., 'bad_input' error does not suggest what to fix or which tool to call instead.