Skip to main content
Glama
BYK
by BYK

Measure question variants against labeled examples

jev_eval
Read-only

Evaluate candidate question wordings against labeled items to compare accuracy, calibration, and threshold performance before setting thresholds.

Instructions

Score one or more wordings of a question against labeled items and report accuracy, calibration (Brier, ECE, AUC), a full threshold sweep for noul questions, an abstention curve for choice and score questions, and the worst misses. Run this before hard-coding any threshold, and rerun it after changing wording or model version. Variants are asked in the same request, so comparing several is nearly free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNoInline items: { id?, state, label? }. Use dataset_path instead for large sets.
modelNoModel id or alias. Defaults to jev-latest.
variantsYesCandidate questions keyed by variant name. Pass several wordings of the same judgment to compare them head to head on identical inputs.
save_pathNoWrite the full per-item results as JSON here, to keep them out of context.
max_errorsNoWorst misses to list per variant. Default 8.
concurrencyNoRequests in flight. Default 8.
dataset_pathNoPath to a .jsonl (one object per line) or .json file of items.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint=true and openWorldHint=true, covering the safety profile. The description adds no extra behavioral traits such as rate limits, auth needs, or side effects; the 'nearly free' remark hints at cost but is not a full disclosure. With annotations present, a 3 is appropriate because the description does not contradict and offers only marginal extra context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, each with a distinct purpose: the first enumerates the output metrics, the second gives usage timing, and the third explains the efficiency of passing multiple variants. There is no filler, and the core action is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no output schema, the description appropriately enumerates the main output components (accuracy, Brier, ECE, AUC, threshold sweep, abstention curve, worst misses). It also covers the key workflow hint about evaluating before thresholding. However, it does not explain the distinction between inline items and dataset_path or the meaning of noul/choice/score types—though those are covered by the schema, so the description remains largely complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already explains each parameter fully. The description adds a high-level tie to 'one or more wordings' (variants) and 'labeled items' (items/dataset_path) but does not provide any new parameter-specific semantics. Baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action (score question variants against labeled items) and enumerates the outputs (accuracy, calibration, threshold sweep, abstention curve, worst misses), so the purpose is unambiguous. However, it does not explicitly distinguish this tool from siblings jev_map and jev_ask, so it earns 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear usage timing: 'Run this before hard-coding any threshold, and rerun it after changing wording or model version.' It also notes that passing multiple variants is 'nearly free,' implying a best practice. It does not mention when NOT to use the tool or point to alternatives, which prevents a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools