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

io.github.tanbopiao/agent-eval-engine

by tanbopiao

submit_answer

Submit a controlled answer for a specified question and record its hash in the evaluation ledger.

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

Input Schema

NameRequiredDescriptionDefault
qidYes
answerYes
metadataNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/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 behavioral burden. It does disclose one important trait — the answer is hashed and entered into a ledger, implying an auditable, likely irreversible record — but it says nothing about permissions, whether resubmission is allowed, duplicate handling, or the cost of a wrong submission.

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?

A single compact sentence that front-loads the action and appends the ledger consequence. Nothing is wasted, though the terseness trades away needed detail.

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?

This is a write operation with no annotations, zero parameter documentation, and an unconstrained nested object; the existence of an output schema excuses only return-value explanation. An agent lacks enough information to call it correctly or know the consequences of a bad call.

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% for three parameters, including a free-form nested `metadata` object with additionalProperties. The description only loosely maps to qid and answer ('某题答案') and says nothing about what belongs in `metadata`, so it fails to compensate for the coverage gap.

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?

Names a specific verb and resource (submit an answer for a question) and adds a distinguishing mechanism: the answer hash is recorded to the ledger. That separates it meaningfully from siblings like score_question or seal_question, though the modifier '受控' (controlled) is left undefined.

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?

Gives no when-to-use guidance, no preconditions for the 'controlled' answering, and no routing to alternatives such as score_question or verify_ledger. The agent must infer the call context entirely.

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