Skip to main content
Glama

Write an answer and score it

clearrun_chat

Generate a new answer and score whether its confidence is backed by reasoning through the hosted ClearRun API. Use for new answers, not existing text or fact checks.

Instructions

Ask the hosted ClearRun API to write an answer and score it. Use this when you want a new answer, not a score of text you already have. Use clearrun_score or clearrun_evaluate for text that was already written. Use clearrun_verify to look up a verdict id you already have. Do not use this to check whether an existing 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/chat, which spends credits, writes an answer, 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 answer and 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": {
      "message": "<message>"
    },
    "name": "clearrun_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe user message for the hosted API to answer and then score. Required. This is a prompt, not text to score as-is. Use clearrun_score or clearrun_evaluate for text that was already written.
modelIdNoOptional model id for the hosted API to use when writing the answer. Omit it to let the API choose.
sessionIdNoOptional session id to continue an earlier hosted chat. Omit it to start without a session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag readOnlyHint=false, openWorldHint=true, non-idempotent, non-destructive, but the description goes well beyond them: it names the exact endpoint, discloses that calls spend credits, that an answer is written and a verdict stored, that CLEARRUN_API_KEY is required and missing-key behavior, and the failure mode when the body has no answer and no verdict. It also clarifies the semantics of the score (confidence backed by reasoning, 0-100, not fact-checking), which prevents the common misreading that a high score implies truth.

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 definition is front-loaded with purpose and sibling routing before the behavioral caveats, which is the right order. There is mild redundancy between 'Do not use this to check whether an existing answer is true' and 'It does not check facts. A high score does not mean the answer is true,' but the repetition targets a costly misunderstanding, so it largely earns its place.

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?

With no output schema, the description carries some return-value burden; it implies an answer plus a verdict and a 0-100 score, and states the error condition, which is enough for correct invocation. It stops short of describing the actual response shape (field names for score or verdict id), which would be the only remaining gap for a coding agent consuming the result.

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%, so message, modelId, and sessionId are already fully documented in the schema, including omit-to-default behavior. The description adds no additional parameter detail such as message length limits or session semantics beyond what the schema states, 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?

The description states a specific verb and resource ('write an answer and score it') and immediately distinguishes itself from siblings by naming clearrun_score, clearrun_evaluate, and clearrun_verify with the condition that selects each. An agent can tell this is a generate-then-score call rather than a pure scoring call without opening any schema.

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 gives explicit when-to-use ('when you want a new answer, not a score of text you already have'), explicit when-not ('Do not use this to check whether an existing answer is true'), and routes three sibling tools to their own cases. The only minor gap is that 'already have a verdict id' routing to clearrun_verify is terse, but the intent is clear.

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