Skip to main content
Glama

Ask Jev for typed decisions (Decision API at https://api.typesafe.ai)

jev_decide
Read-only

Evaluate supplied context and answer batched, independent decision questions (choice labels, ordered scores, yes/no probabilities) using configured models.

Instructions

Evaluate supplied context using the configured decision models via the API at https://api.typesafe.ai. Batch independent, narrow questions in one call: choice selects a provided label; score returns a position on 2–10 ordered levels (0-based); noul returns probability of yes, not intensity. Supply relevant evidence and full instructions; question IDs are not sent to the model. Include an other/none choice when appropriate. Questions cannot use each other's answers. Returns raw judgments, probabilities, confidence for choice/score, and token usage. Use caller-defined policies for uncertainty. This sends the supplied state and questions to the Decision API at https://api.typesafe.ai and may incur API charges. It does not execute selected actions.

Input Schema

NameRequiredDescriptionDefault
modelNoOptional model override; defaults to the configured MODEL. Changes only the model name, never the credential or destination.
stateYesRelevant source text or JSON context; include evidence, definitions and policies needed for the questions.
questionsYesNamed independent questions over the same state. IDs are not model instructions; write each full judgment in instructions.

Output Schema

NameRequiredDescriptionDefault
modelYes
usageYes
answersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.4
    • changedInput schema / properties / model / description
      Previous value: -"Optional TypeSafe model override; defaults to the configured model or jev-latest."New value: +"Optional model override; defaults to the configured MODEL. Changes only the model name, never the credential or destination."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark this read-only, open-world and non-destructive, and the description substantially exceeds them: it states the payload is sent to an external API, that API charges may apply, that question IDs are never sent to the model, and that the call returns raw judgments, probabilities, confidence and token usage.

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?

Dense but front-loaded, with the mode semantics appearing before the caveats. Slightly marred by repeating the API URL already present in the title and once more mid-paragraph, which is wasted space in an otherwise information-rich description.

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?

For a complex nested-input tool with an output schema, the description covers the important things an agent must know: remote destination, charge implications, mode semantics, batching constraints, and that no actions are executed. Credential/authentication setup is only implied by the 'configured models' wording, which is the one remaining gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real semantics the schema cannot express: choice selects from supplied labels, score maps onto 2–10 ordered levels starting at 0, and noul returns probability of yes rather than intensity. It also clarifies that IDs are not model instructions and that model only overrides the model name, not the credential or destination.

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

Purpose5/5

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

States a specific verb and resource ('Evaluate supplied context using the configured decision models') and enumerates the three judgment modes (choice, score, noul) with their exact semantics. An agent can tell precisely what the call produces without opening the schema.

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?

Gives concrete operational guidance: batch independent narrow questions in one call, include an other/none choice when appropriate, use caller-defined policies for uncertainty, and questions cannot use each other's answers. It also disclaims behavior ('does not execute selected actions'). There is no sibling tool to route against, so a when-not-to-use clause is the only missing piece.

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