Skip to main content
Glama

AI SENSE Free Public Tools

Decide from rules or a model

decide
Read-only

Get a structured decision about the facts in state: yes or no with a probability, one of several choices, or a score, from rules you send or from a model. Without model, or with model rules, each rule is {"if": condition, "weight": number}, where a condition tests a field of state with eq, ne, gt, gte, lt, lte, in, exists, prefix or contains, combined with any and not, and yes_no, choice and scale questions answer with probability, confidence and action. With model clef, nimble or tev1, a model answers noul, choice and score questions from instructions and criteria, with no automatic action or rule trace; tev1 is the smallest and fastest, tested by its maker in English only, for short, direct questions. Model requests take up to 8 KiB of JSON, 3 KiB for tev1, 4 questions and 8 choices per question, within 60 per minute and 1000 per UTC day per IP; refusals may carry Retry-After. Bodies are not stored; usage counters are. Do not send credentials or sensitive personal data. Format: https://aisense.no/free-public-api-decide-api-endpoint. No API key, no account and no sign up.

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": {
      "state": "<state>",
      "questions": "<questions>"
    },
    "name": "decide"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional. rules (default), clef, nimble or tev1. Unknown models are refused.
stateYesThe facts the rules test, or the input sent to the selected model.
questionsYes1 to 64 named rule questions, or up to 4 model questions under the default model limits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Optional. rules (default), or a configured model such as clef. Unknown models are refused."New value: +"Optional. rules (default), clef, nimble or tev1. Unknown models are refused."
  2. Changed3 schema fields changed
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "Optional. rules (default), or a configured model such as clef. Unknown models are refused.",
      +  "maxLength": 32,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / questions / description
      Previous value: -"1 to 64 named questions."New value: +"1 to 64 named rule questions, or up to 4 model questions under the default model limits."
    • changedInput schema / properties / state / description
      Previous value: -"The facts the rules test."New value: +"The facts the rules test, or the input sent to the selected model."
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-idempotent; the description adds substantial context beyond them: 60/min and 1000/day per-IP rate limits, 8 KiB (3 KiB for tev1) payload caps, 4 questions and 8 choices per question, refusals carrying Retry-After, and the privacy stance that bodies are not stored while usage counters are. The 'do not send credentials or sensitive personal data' warning is exactly the kind of operational constraint an agent needs.

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

Conciseness3/5

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

It is genuinely information-dense with little filler, but it arrives as a single run-on block mixing semantics, limits, and legal notes with no visual structure, and the token 'noul' appears where a question type is meant, which reads as a typo an agent may stumble on. Front-loading is good; layout and that garbled term are not.

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?

There is no output schema and the input schema has nested objects, so the description carries a heavy burden; it does describe answer content (probability, confidence, action) which covers most of the return shape. It stops short of giving the concrete response envelope, leaving some ambiguity about the exact output JSON for rule mode.

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

Parameters5/5

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

Schema coverage is already 100%, but the description goes well past the schema by defining the rule object shape ({'if': condition, 'weight': number}), the full operator vocabulary (eq, ne, gt, gte, lt, lte, in, exists, prefix, contains plus and/not), and the semantics of state and question types for each engine. This meaningfully disambiguates what 'state' and 'questions' must contain in each mode.

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 ('Get a structured decision about the facts in state') and enumerates the three answer shapes (yes/no with probability, one of several choices, or a score) plus the two engines (rules or model). An agent knows exactly what comes back and what drives it, and no sibling in the catalog overlaps with this capability.

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?

Explicitly splits the two modes: omitting the model or sending model=rules evaluates rules, while clef, nimble or tev1 routes to a model with no rule trace. It even guides model selection ('tev1 is the smallest and fastest... for short, direct questions'). It stops short of stating when to prefer this tool over an external alternative, but no close alternative exists among siblings.

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.