Skip to main content
Glama

Pick one option

jev_choice
Read-only

Use this when you need to route or triage something into one of a fixed set of options, such as answer, escalate or ignore. Asks Jev to pick one option. Returns the chosen key, the probability of every option, and a confidence score. A high confidence can still be wrong, so keep an escalation path. The wording of your options decides the answer: measured on 137 real Slack questions, a vague option set sent 26% of them to the wrong branch at confidence below 0.7, and describing the same three options precisely cut that to 2%. Say what each option MEANS and what it does NOT cover, and never let one option become the place hard questions go. Images are experimental and read weaker than text, so put what matters in the text too. Runs on SingleBrain's account: from 1 credit a call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instructions": "<instructions>",
      "options": "<options>"
    },
    "name": "jev_choice"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOne of: jev-1.13.0, defaults to jev-1.13.0
stateNoThe state to route: the inbound message, ticket, or record. Optional when an image is passed.
imagesNoSeveral images to judge together, at most 8, at most 6 MB in total. Each entry: one of base64 or url. Not with image_base64 or image_url.
optionsYesMap of option key -> a full sentence saying when it applies, and where useful what it does NOT cover. One clause is not enough. Good: {"answer": "the agent answers it itself, including analysis, summarising a call, rating work, or giving a blunt opinion; difficulty is not a reason to pass it on", "escalate": "the agent is not PERMITTED to handle it: it needs sign-off, commits money or contract terms, or the asker wants a human", "ignore": "no answer is wanted: a thank-you, a joke, or chatter not aimed at the agent"}. Bad: {"answer": "routine question", "escalate": "needs a human", "ignore": "spam"}. That set escalated 35 of 137 real questions that the agent answered perfectly well.
image_urlNoA public http(s) link straight to a PNG, JPEG, WebP or GIF. Not a page. Must be reachable without a login.
image_base64NoOne image to judge, as base64 of a PNG, JPEG, WebP or GIF file, with or without a data: prefix. At most 6 MB decoded. Not a URL. Not with images.
instructionsYesWhat the decision is. Example: "How should the agent handle this message?"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, non-idempotent and non-destructive, so the safety profile is covered. Beyond that, the description discloses the return shape (chosen key, per-option probability, confidence score), a reliability caveat (high confidence can still be wrong), the limitations of the image path, and the billing model ('from 1 credit a call'), which is nowhere in the structured fields. That is exactly the extra context this dimension rewards.

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

Conciseness4/5

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

It is front-loaded: routing purpose first, then return values, then reliability and option-wording caveats, then cost. Every clause is on-topic, but 'Asks Jev to pick one option' repeats the title and the 137-question statistic partly duplicates the options parameter description, so it is slightly longer than necessary.

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

Completeness5/5

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

With no output schema, the description correctly takes on the burden of describing return values (key, probabilities, confidence). It also covers the modality caveat for images, the credit cost, and the dominant failure mode of vague option sets. For a 7-parameter nested-schema classifier, nothing an agent needs before calling is missing.

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 baseline is 3 and the schema already carries the per-parameter meaning, including the good/bad options example. The description reinforces option-authoring semantics ('say what each option MEANS and what it does NOT cover') and adds an empirical justification (26% misrouting on vague option sets, 2% when precise), but it largely restates ground the schema already covers rather than adding new per-parameter meaning.

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 verb and resource: 'route or triage something into one of a fixed set of options' with concrete examples (answer, escalate, ignore), plus 'Asks Jev to pick one option.' That is far more than a restatement of the name. It never distinguishes itself from adjacent siblings like jev_score, jev_evaluate or jev_box, which is the only thing keeping it off a 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?

It gives a clear triggering condition ('when you need to route or triage something into one of a fixed set of options') backed by worked examples of what such a decision looks like. It also gives a strong operational guideline: keep an escalation path because high confidence can still be wrong. It does not name an alternative tool or state when NOT to use this one, so 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.