Skip to main content
Glama

Ykb Question

ykb_question

Retrieves complete content for one question - stem, options, answer, and explanation - via cache first, then official API fallback; supports chapter lookup with identity and chapter IDs.

Instructions

获取单题完整内容(题干、选项、答案、解析)。优先读缓存;未命中时尝试官方 question/info 接口;提供 identity_id+chapter_id 可整章定位。

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": {
      "question_id": "<question_id>"
    },
    "name": "ykb_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNo
chapter_idNo
identity_idNo
question_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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, and it does disclose meaningful behavior: cache-first resolution and a network fallback to the official endpoint. It omits auth requirements, rate limits, failure behavior when both cache and API miss, and what changes about the response when the chapter-locating path is used.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence with the resource description front-loaded, followed by resolution strategy and the parameter combination note. No redundant wording; every clause adds information.

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 the return-field enumeration is somewhat redundant, but the description does cover fetch strategy and the chapter-scoping mode. The gaps are the unexplained app_id parameter and unstated auth/failure behavior for a cache-plus-network retrieval tool.

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%, so the description must explain all four parameters. It only clarifies the identity_id+chapter_id pairing and implicitly question_id; app_id and chapter_id-used-alone are undocumented in both schema and description, leaving half the surface ambiguous.

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?

States a specific verb+resource (get full single-question content) and enumerates what comes back (stem, options, answer, explanation). It does not name a sibling to contrast with, e.g. ykb_chapter_questions, which also deals with questions, so the boundary is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete call context: reads cache first, falls back to the official question/info endpoint on a miss, and notes that supplying identity_id+chapter_id switches to whole-chapter locating. No explicit when-not-to-use or named alternative tool, so it stops short of full routing guidance.

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