Skip to main content
Glama

Judge a result

futility_judge

Record one usefulness judgment (useful / useless / partial) for a run/source/domain and return the binding verdict (CONTINUE / STOP-SOURCE / INTEGRATE-NOW / ABSTAIN). Billed as a verdict call: one-time trial, tier allowance, or x402 $0.002.

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": {
      "run_id": "<run_id>",
      "source": "<source>",
      "label": "<label>"
    },
    "name": "futility_judge"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes
queryNo
domainNo
run_idYes
sourceYes
tokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, and the description's 'Record' verb is consistent with a non-destructive write. It adds genuinely useful behavioral context the annotations cannot convey — that the call is billed and how (trial, tier allowance, or x402 $0.002) — but says nothing about idempotency, whether re-judging the same run/source overwrites a prior judgment, or what happens on payment failure.

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?

Two sentences, front-loaded with the action and its outputs, then a compact billing note. Every clause carries information; only a small amount of space is spent on payment mechanics that could be secondary to call semantics.

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 discharges that duty by listing the four return verdicts inline, which is exactly what an agent needs to branch on. Combined with labels, scope keys, and billing model, it is complete enough to invoke correctly, with only secondary parameter details (query, tokens) left unaddressed.

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 0%, so the description must carry the parameter burden. It partially does: 'run/source/domain' maps to three of the six fields and the label values (useful/useless/partial) are given, but 'query' and 'tokens' are never mentioned and no format or semantics are supplied for run_id or domain.

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 names a specific action (record one usefulness judgment) and enumerates both the accepted labels (useful/useless/partial) and the four possible verdicts (CONTINUE / STOP-SOURCE / INTEGRATE-NOW / ABSTAIN), so the agent knows exactly what goes in and comes out. It does not, however, distinguish itself from the sibling futility_verdict, whose name suggests overlapping territory.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus futility_verdict, futility_receipt, or futility_waste_report. The only contextual sentence concerns billing (one-time trial, tier allowance, or x402 $0.002), which tells the agent about cost but nothing about call conditions or exclusions.

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