Skip to main content
Glama

judge_answer

Judge a submitted answer, record the verdict and reason in the database, and require an answer to exist before evaluation.

Instructions

对最近一次作答做判定:必须先交过答案,判定和理由一起落库。

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": {
      "session_id": "<session_id>",
      "task_id": "<task_id>",
      "verdict": "<verdict>",
      "reason": "<reason>"
    },
    "name": "judge_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
checksNo
reasonYes
task_idYes
verdictYes
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose two non-obvious traits: the precondition of a prior submitted answer and that verdict plus reason are written to persistent storage ('一起落库'), implying a mutation. It omits whether re-judging overwrites a previous verdict, whether the write is idempotent, and any error behavior when no attempt exists.

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?

One compact sentence with the precondition before the effect, no filler. It is terse rather than padded; the only structural weakness is that brevity is doing so much work that meaning is lost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters at 0% schema coverage, no annotations, and no output schema, the description should explain scope, the checks parameter, and the effect of the write. It covers only the precondition and that verdict/reason are stored, leaving most of the calling contract undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters. The description only implies meaning for verdict and reason (both persisted together) and only indirectly gestures at session/task scope via the 'most recent answer' framing. The checks array and the enum values of verdict are never explained anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action on a specific resource: judge the most recent answer ('对最近一次作答做判定'). That is more than a restatement of the name, but it does no differentiation from siblings such as attempt_log, gate_record, or pass_band_manual, so an agent cannot tell from the text why it should pick this tool over them.

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?

It gives one hard precondition – an answer must already have been submitted ('必须先交过答案') – which is genuine usage guidance. It says nothing about when to prefer this tool over the other recording or gating siblings, nor when not to call it (e.g., re-judging, already-judged attempts).

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