Skip to main content
Glama

Ykb Chapter Questions

ykb_chapter_questions

Fetches and decrypts all questions in a chapter—stems, options, answers, and saved/cut marks—then caches them locally; optionally includes full explanations.

Instructions

拉取并解密一个章节的全部题目(题干、选项、答案、收藏/已斩标记),写入本地缓存。full=True 时额外包含解析(内容较长)。chapter_id 来自 ykb_chapters。无权限章节返回 203 提示。

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": {
      "identity_id": "<identity_id>",
      "chapter_id": "<chapter_id>"
    },
    "name": "ykb_chapter_questions"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNo
am_pmNo
app_idNo
chapter_idYes
identity_idYes
module_typeNo1

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description does meaningful work: it discloses that content is decrypted, that the call writes to a local cache (a side effect not visible in the schema), that full=True inflates response size, and that unauthorized chapters return a 203 signal. It omits auth/login prerequisites and any rate-limit or retry behavior.

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?

Four short clauses, zero waste, front-loaded with the core action and payload, followed by the full-flag caveat, the id source, and the error case. Nothing repeats structured fields verbatim.

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 no explanation, and the description covers the cache side effect, the verbose-mode caveat, and the 203 case. However, for a 6-parameter tool with zero schema documentation, leaving identity_id and the three configuration parameters unexplained is a real completeness gap.

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 6 parameters, so the description must compensate, and it only covers two: chapter_id (source: ykb_chapters) and full (adds long explanations). The required identity_id and the app_id / module_type / am_pm parameters are left entirely unexplained in both schema and description.

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 and resource: pull and decrypt all questions of a chapter, enumerating the payload (stems, options, answers, favorite/cut markers) and noting it writes to a local cache. Scope ('全部题目' for one chapter) implicitly separates it from the single-question sibling ykb_question, but no sibling is named explicitly.

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 the caller the dependency chain ('chapter_id 来自 ykb_chapters') and a conditional on when to set full=True ('内容较长'), which is real usage context. It stops short of explicit when-not guidance or naming alternative tools for related needs.

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