Skip to main content
Glama

Ykb Collections

ykb_collections

Retrieve questions saved in a Yikaobang account's collections by reading local cache first, then refreshing from the official collection endpoint or chapter scan when needed.

Instructions

获取账号收藏的题目。优先读本地缓存;refresh=True 时探测官方收藏列表接口(实验性)。探测不到时用 ykb_collections_scan 按章节扫描收藏标记。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ykb_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNo
identity_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does relatively well: it reveals cache-first behavior, that the network probe is experimental, and that failures degrade to a chapter-by-chapter scan. It does not state authentication needs, whether the operation is strictly read-only, or how costly the fallback scan is, leaving some behavioral gaps.

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?

Three short clauses, front-loaded with the purpose, then the caching default, then the fallback. No filler, and each sentence adds a distinct operational fact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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. The remaining gap is identity_id, which is undocumented in both schema and description, plus the absence of any note on auth or the cost of the scan fallback. For a 2-parameter read tool this is close to complete.

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 coverage is 0%, so the description is the only source of parameter meaning. It explains refresh=True concretely (probe the official endpoint) and implies refresh=False means cache-only, which is real added meaning. The second parameter identity_id is never mentioned, so it remains undocumented.

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?

The opening sentence names a specific verb+resource: retrieve the questions the account has favorited. It also distinguishes itself from the sibling ykb_collections_scan by positioning that tool as the fallback, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

Explicitly states the default path (read local cache first), the opt-in path (refresh=True probes the official favorites endpoint, marked experimental), and the escalation path (use ykb_collections_scan when the probe finds nothing). This is a complete when-to-use / when-to-fall-back routing instruction.

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