Skip to main content
Glama

Ykb Collections Scan

ykb_collections_scan

Scans a user's collection-question markers for a specified identity chapter by chapter, caches results locally, and resumes across repeat calls until all chapters are processed.

Instructions

按章节扫描指定身份下的收藏标记(is_collection_question),结果写入本地缓存。budget=本次最多扫描章节数(每章 1 请求,自动限速);断点续传,重复调用直到 remaining=0。

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_collections_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetNo
identity_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 burden and does well: it discloses a side effect (writes to local cache), a rate limit (one request per chapter, automatic throttling), and resumability via repeated calls until remaining=0. It omits auth/permission requirements for the identity and cache-overwrite semantics, which is why it is not a 5.

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 compact sentences: the first gives purpose and side effect, the second defines budget, rate limiting, and the repeat-until-done loop. Nothing is redundant and the most important scoping information comes first.

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 the description does not need to explain return values, and referring to remaining=0 is enough. For a cached scanning tool with side effects and no annotations, the main remaining gap is auth/permission context and cache behavior.

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 description coverage is 0%, so the description must explain both parameters, and it does: budget means the maximum chapters scanned this call (one request per chapter, default 10), and identity_id is the identity whose collection marks are scanned. It does not say what identity_id format is or how to obtain it from ykb_identities.

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?

The description gives a specific verb and object: it scans collection flags (is_collection_question) per chapter under one identity, and writes results to a local cache. The caching side effect also helps separate it from a plain read tool such as ykb_collections, though 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 Guidelines3/5

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

It gives real usage guidance for calling this tool: set a budget, it auto-throttles, and you repeat the call until remaining=0 (resumable). It never says when NOT to use it or how it differs from ykb_sync / ykb_collections, so the agent must infer that from sibling names.

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