Skip to main content
Glama

Get one verdict: cheapest passing model, cost, failures

get_verdict
Read-onlyIdempotent

Answers: which is the cheapest LLM that still passes for ? Give the task in plain words (for example "spam detection", "sentiment", "json extraction", "tool calling", "intent classification") or a verdict slug, and get the cheapest model that clears the bar, its pass rate and cost per successful task in US dollars, the baseline it is compared with, every candidate's status, plus links to the verdict page, the run file (JSON) and the script that re-runs it. Example: {"task":"spam detection"} returns the sms-spam verdict. Not sure what exists? Call list_verdicts first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoOr the exact verdict slug from list_verdicts, for example sms-spam.
taskNoThe task in plain words, for example spam detection, sentiment, json extraction. The closest published verdict answers.

Output Schema

NameRequiredDescriptionDefault
slugYesVerdict slug, the key for get_verdict.
taskYesTask type, for example classification.
titleYes
answerYesOne-sentence verdict in plain words, with the price date.
ran_atNo
app_urlYes
datasetNoPublic dataset behind the run: name, rows, source, licence.
app_noteNo
pass_barYesPass-rate threshold the cheapest model has to clear (0 to 1).
pass_rateNo
candidatesYes
matched_byNoHow the verdict was chosen: the exact slug, or the closest published verdict to the task you described.
saving_pctNo
verdict_urlYesThe verdict page, with the evidence.
run_file_urlYesThe run file (JSON) to check the figures.
verdict_kindYesswitch (a cheaper model passes) or keep (the baseline is already cheapest).
baseline_modelYes
rerun_script_urlNoScript that re-runs the verdict; null when none is published.
price_snapshot_atNo
baseline_pass_rateNo
cheapest_passing_modelYesThe cheapest model that clears the bar; null when none does.
cost_per_successful_task_usdYesUS dollars per successful task, retries and failures counted.
baseline_cost_per_successful_task_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / slug / description
      Previous value: -"Verdict slug from list_verdicts, for example sms-spam."New value: +"Or the exact verdict slug from list_verdicts, for example sms-spam."
    • addedInput schema / properties / task
      Added value: +{
      +  "description": "The task in plain words, for example spam detection, sentiment, json extraction. The closest published verdict answers.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "slug"
      -]
    • addedOutput schema / properties / matched_by
      Added value: +{
      +  "description": "How the verdict was chosen: the exact slug, or the closest published verdict to the task you described.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / slug / minLength
      Added value: +1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "answer": {
      +      "description": "One-sentence verdict in plain words, with the price date.",
      +      "type": "string"
      +    },
      +    "app_note": {
      +      "type": "string"
      +    },
      +    "app_url": {
      +      "type": "string"
      +    },
      +    "baseline_cost_per_successful_task_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "baseline_model": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "baseline_pass_rate": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "candidates": {
      +      "items": {
      +        "properties": {
      +          "attempts_per_task": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cost_per_successful_task_usd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "latency_p50_ms": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "latency_p95_ms": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "model": {
      +            "type": "string"
      +          },
      +          "pass_rate": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "model"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "cheapest_passing_model": {
      +      "description": "The cheapest model that clears the bar; null when none does.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "cost_per_successful_task_usd": {
      +      "description": "US dollars per successful task, retries and failures counted.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "dataset": {
      +      "description": "Public dataset behind the run: name, rows, source, licence.",
      +      "type": "object"
      +    },
      +    "pass_bar": {
      +      "description": "Pass-rate threshold the cheapest model has to clear (0 to 1).",
      +      "type": "number"
      +    },
      +    "pass_rate": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "price_snapshot_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "ran_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rerun_script_url": {
      +      "description": "Script that re-runs the verdict; null when none is published.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "run_file_url": {
      +      "description": "The run file (JSON) to check the figures.",
      +      "type": "string"
      +    },
      +    "saving_pct": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "slug": {
      +      "description": "Verdict slug, the key for get_verdict.",
      +      "type": "string"
      +    },
      +    "task": {
      +      "description": "Task type, for example classification.",
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "verdict_kind": {
      +      "description": "switch (a cheaper model passes) or keep (the baseline is already cheapest).",
      +      "type": "string"
      +    },
      +    "verdict_url": {
      +      "description": "The verdict page, with the evidence.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "slug",
      +    "title",
      +    "task",
      +    "pass_bar",
      +    "cheapest_passing_model",
      +    "cost_per_successful_task_usd",
      +    "baseline_model",
      +    "verdict_url",
      +    "answer",
      +    "verdict_kind",
      +    "candidates",
      +    "run_file_url",
      +    "app_url"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely useful behavior beyond that: fuzzy matching to 'the closest published verdict', and the shape of the result including the baseline comparison, per-candidate statuses, and links to the verdict page, run JSON, and re-run script. An output schema exists, so the return-value enumeration is somewhat redundant, which keeps this at 4 rather than 5.

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?

The core question is front-loaded in the first clause, and the example call plus the list_verdicts pointer are well placed at the end. The middle sentence is long and packs return fields, baseline, candidate statuses, and three link types into one chain, which is dense but each element earns its place.

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?

For a two-parameter, read-only lookup with an output schema and full annotation coverage, the description supplies everything an agent needs: purpose, accepted input forms with examples, fuzzy-match behavior, an example invocation, and the fallback to list_verdicts. No material decision point is left to inference.

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%, and both slug and task are already documented in the schema with examples, so the baseline is 3. The description reinforces the semantics by showing that either parameter works and by giving a literal example call ({"task":"spam detection"}), but it does not add constraints such as what happens when both are supplied or how matching ties are broken.

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?

The description opens with a precise question the tool answers — 'which is the cheapest LLM that still passes for <task>?' — and names the concrete resource (a verdict) plus its outputs (pass rate, cost per successful task, baseline, candidate statuses). It is clearly distinct from list_verdicts, which is framed as the discovery step rather than the lookup.

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

Usage Guidelines5/5

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

It states exactly what input to supply (a task in plain words or a verdict slug), gives five concrete example task phrasings, and closes with an explicit routing rule: 'Not sure what exists? Call list_verdicts first.' That covers both the when-to-use condition and the alternative tool.

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