Skip to main content
Glama

decide

Read-only

Answer typed questions about a state with probabilities, in one pass and no generated text. questions is a map of id to {type, instructions, criteria}: noul (yes/no; the answer is the probability of yes), choice (criteria {option_id: description}, 2 to 20; the answer names the option with a probability per option and a confidence), score (criteria [lowest, ..., highest], 2 to 10; the answer is the probability-weighted level, 0 = lowest). Up to 64 questions per call. Models: cloudflare/clef-flash, cloudflare/clef (default cloudflare/clef-flash). Price per decision is quoted in the 402 from your input size (input rate x 1.4 + $0.0005, minimum $0.001); output is free. Charged only if the model call succeeds. The answer is a probability, not a verified fact. Images not accepted yet.

Input Schema

NameRequiredDescriptionDefault
modelNo
stateYes
questionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With readOnlyHint=true already covering safety, the description adds substantial extra context: default and named models, per-call limits (64 questions, 2-20 options, 2-10 levels), billing behavior ('charged only if the model call succeeds'), a pricing formula with a $0.001 minimum, and the explicit caveat that answers are probabilities, not verified facts. It also discloses the current limitation that images are not accepted.

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?

Front-loaded with the core action, then dense but purposeful clauses covering types, limits, models and billing; every sentence adds information. It is a long single block, and the pricing arithmetic in the middle slightly interrupts the selection-relevant flow, but there is no filler.

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?

No output schema exists, and the description compensates by describing answer shapes per question type (probability of yes, option name plus per-option probability and confidence, probability-weighted level). Combined with the billing and caveat information, an agent can call this correctly; only the undocumented 'state' payload leaves a real hole.

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 0%, so the description must carry the load, and it largely does: it defines the questions map shape, the id key format implication, each type's criteria structure and cardinality limits, and the model parameter's valid values plus default. The one gap is 'state', whose schema is an untyped empty object and which the description never explains or gives an example structure for.

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 ('Answer typed questions about a state with probabilities') and pins the modality ('in one pass and no generated text'). It is clearly distinguishable from the sibling 'models' tool, which presumably lists models rather than answering questions.

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

Usage Guidelines3/5

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

The per-type explanation (noul, choice, score) implicitly tells an agent which question type fits which intent, and the pricing/caveat sentences set context. However, there is no explicit when-to-use/when-not guidance and no named alternative, so usage must be inferred rather than read.

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.

Resources