Skip to main content
Glama

Ykb Chapters

ykb_chapters

Retrieves subject and chapter directories for a given identity, including question counts, to help locate chapter_id values for fetching chapter questions.

Instructions

获取指定身份下的科目/章节目录(含每章题量),用于定位 ykb_chapter_questions 的 chapter_id。identity_id 建议用 ykb_identities 中的叶子身份或可选学科节点。

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>"
    },
    "name": "ykb_chapters"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNo
refreshNo
identity_idYes
module_typeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full load: it implies a read operation (获取) and discloses that per-chapter question counts are returned, which is useful. It says nothing about caching/refresh semantics (the schema has a refresh flag), auth/session requirements, or result volume for large catalogs.

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?

Two sentences, both doing work, with the resource and scope front-loaded and the downstream dependency stated immediately after. No filler or repetition of the title.

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?

An output schema exists, so return values need not be restated. However, for a four-parameter tool with zero schema coverage and no annotations, the description leaves refresh, module_type, and app_id undefined and says nothing about behavior on invalid identities or result size.

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% and three of four parameters (app_id, refresh, module_type) are explained nowhere. The description does add real meaning for identity_id — where to obtain it and which node type to prefer — but that only covers the one required parameter, not the rest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (获取) and resource (科目/章节目录), and adds scope detail that the sibling does not cover: each chapter carries its question count. It also explicitly distinguishes itself from ykb_chapter_questions by naming the chapter_id it produces for that tool.

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?

The second sentence gives a clear usage chain: call this first, then feed chapter_id to ykb_chapter_questions, and source identity_id from ykb_identities' leaf identity or subject node. No explicit exclusions or when-not guidance are given, so it falls short of a 5.

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