Skip to main content
Glama

Score an answer with its prompt

clearrun_evaluate

Scores an existing answer and its prompt from 0 to 100 to show whether confidence is backed by reasoning, not whether facts are true.

Instructions

Score an existing answer together with the prompt that produced it. Use this when you have both the answer and the prompt. Use clearrun_score when you have only the answer. Use clearrun_chat when the hosted API should write the answer. Use clearrun_verify to look up a verdict id you already have. Do not use this to check whether the answer is true. ClearRun scores whether an answer's confidence is backed by its reasoning, from 0 to 100. It does not check facts. A high score does not mean the answer is true. Needs CLEARRUN_API_KEY. Calls POST https://api.clearrun.net/api/evaluate, which spends credits and stores a verdict. Without a key, the tool returns an error and does not call the API. The tool is an error when the body has no verdict.

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": {
      "responseText": "<responseText>"
    },
    "name": "clearrun_evaluate"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoThe prompt that produced the answer. Include it when you have it. Omit it only when the prompt is unknown. clearrun_score is the tool for an answer with no prompt.
modelIdNoOptional id of the model that wrote the answer, passed through to the API. Omit it when you do not know the model.
sessionIdNoOptional session id to attach this call to an earlier hosted session. Omit it for a standalone score.
responseTextYesThe existing answer to score. Required. Send the text itself, not a file path or a verdict id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the auth requirement (CLEARRUN_API_KEY), the exact endpoint, that the call spends credits, that a verdict is stored, and the two error modes: no key means no API call, and a body without a verdict is an error. The persistence and credit-spend details are genuinely useful given readOnlyHint=false and openWorldHint=true. It stops short of describing idempotency or retry behavior, which matters given idempotentHint=false and credit consumption on repeat calls.

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-loads purpose, then routing, then behavioral caveats, which is the right order. The fact-checking disclaimer is repeated three times in slightly different forms ('does not check facts', 'a high score does not mean the answer is true', 'do not use this to check whether the answer is true'), and the closing sentence ('The tool is an error when the body has no verdict') is awkwardly phrased, so it is not maximally tight.

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 four-parameter scoring call with no output schema, the description covers everything an agent needs: what gets scored, the 0-100 interpretation, that truth is not validated, auth and credit cost, side effects (verdict stored), and failure modes. No return-value documentation is needed here, and the semantic gap left by the missing output schema is bridged by explaining the score scale.

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 each parameter is already documented at the property level, including when to omit prompt, modelId, and sessionId. The description adds no parameter-level detail beyond the schema, so the baseline of 3 applies.

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 ('Score an existing answer together with the prompt that produced it') and immediately distinguishes itself from three named siblings: clearrun_score for answer-only, clearrun_chat for hosted generation, clearrun_verify for verdict lookup. The added clarification that it scores confidence-backed-by-reasoning, not truth, further sharpens what the tool actually does.

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?

Explicit when-to-use ('when you have both the answer and the prompt'), explicit alternatives with the condition that selects each, and an explicit exclusion ('Do not use this to check whether the answer is true'). Nothing about tool selection is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.