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

io.github.tanbopiao/agent-eval-engine

by tanbopiao

seal_question

Records a question and its scoring criteria as hashed ledger entries to support tamper-evident, verifiable AI-agent evaluation.

Instructions

出题封印:题面与判据哈希入册。criteria 示例: {"type": "exact", "value": "42"};type 可选 exact/contains/not_contains/regex/numeric/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>",
      "question": "<question>",
      "criteria": "<criteria>"
    },
    "name": "seal_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
qidYes
criteriaYes
questionYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does reveal a meaningful trait — that the question and criteria are hashed and recorded in a ledger ('哈希入册'), implying a committing, integrity-oriented write — but says nothing about whether qid must be unique, whether resealing is idempotent or rejected, whether the content becomes immutable, or what errors occur on conflict. For a mutation tool with zero annotation coverage, this is a substantial gap.

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 compact and front-loaded: the action sentence comes first, followed by the criteria example and enum. Every clause carries information, with no filler. It is arguably over-compressed, since the terse phrasing leaves no room for the usage or behavioral context an agent needs.

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?

An output schema exists, so return values need not be explained, and the trickiest parameter is documented. However, for a three-required-parameter commit-style tool with a nested criteria object and no annotations, the definition omits lifecycle context: ordering relative to score_question and verify_ledger, qid uniqueness, and resealing behavior. It is adequate to invoke correctly but incomplete for confident use in a multi-step flow.

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

Parameters4/5

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

Schema description coverage is 0%, and criteria is a free-form object with additionalProperties, which the schema alone leaves entirely opaque. The description compensates well by giving a concrete criteria example and enumerating the allowed type values (exact/contains/not_contains/regex/numeric/semantic). It does not explain how 'value' is interpreted per type (e.g. numeric tolerance or semantic thresholds), and qid/question semantics are left to obvious naming, so it is strong but not exhaustive.

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 verb and resource — sealing a question by hashing the question text and criteria into a ledger ('题面与判据哈希入册'). This is far more informative than the name alone and implies a write-to-ledger operation distinct from score_question. It stops short of explicitly contrasting itself with siblings such as score_question or verify_ledger, which would have made the purpose unambiguous in context.

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 guidance on when to seal versus when to score, submit, or verify. The description never states a workflow position (e.g. 'call before score_question') or any precondition on qid. The only usage-adjacent content is the criteria format, which is parameter guidance rather than tool selection guidance.

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