Skip to main content
Glama
io.github.tanbopiao/agent-eval-engine

io.github.tanbopiao/agent-eval-engine

by tanbopiao

score_question

Scores a submitted answer using deterministic rules first; if a semantic question has no registered judge, it is marked PENDING_SEMANTIC instead of assigning a guessed score.

Instructions

级联判分:确定性规则优先;语义题未挂裁判按 PENDING_SEMANTIC 挂起,不猜测分数。

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": {
      "qid": "<qid>"
    },
    "name": "score_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
qidYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose meaningful behavior: deterministic-first cascade, suspension as PENDING_SEMANTIC rather than guessing, and that unscored semantic questions are not given a fabricated score. It omits whether this is a mutating/write operation, whether repeated calls are idempotent, and what happens for an unknown or already-scored qid.

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 that front-loads the cascade policy and then the fallback rule. No filler; the density is high and each clause carries information, though the phrasing is terse enough that some inferences are left implicit.

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

Completeness3/5

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

The tool is simple (one parameter) and has an output schema, so return values need not be described. Compared to that low complexity, the description covers the core grading policy adequately but leaves open the precondition for 'having a judge' and the state-mutation behavior, which an agent would need before invoking it.

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?

The single parameter qid has 0% schema description coverage, so the description must compensate and it does not — it never mentions the parameter, its format, or whether it refers to an existing question. The only hint is the tool name itself.

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 states a concrete operation (cascading grading of a question) via '级联判分' and specifies the policy that deterministic rules run first. It is clear what the tool does, though it never says outright that the input is a single question id, leaving that to the name and schema. No sibling differentiation is offered.

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 explicit when-to-use guidance and no mention of alternatives such as verify_ledger or report_summary. The PENDING_SEMANTIC rule implies a context (semantic question lacking a registered judge) but does not tell the agent when to call this tool versus other scoring-related siblings.

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