Skip to main content
Glama
JMComic AI

JMComic AI

by hect0x7

get_favorite_folders

Retrieve the logged-in account's favorite folder list with folder IDs and names; pass username for Cookie-only HTML clients. Use folder ID "0" to query all favorites.

Instructions

获取已登录账户的收藏夹目录。

参数: username: HTML 客户端仅配置 Cookie(未设置 auth.username)时必须提供用户名; 通过 login 登录或配置顶层 auth 后可省略。API 客户端忽略此参数,始终查询当前登录账户。

返回: folders: 收藏夹列表,每项包含字符串 id 和 name;无收藏夹时为空列表。 查询全部收藏时使用 folder_id="0",该值不一定出现在目录中。

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": "get_favorite_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.7

TDQS

A4/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 it does disclose the important behavioral trait: the tool always operates on the currently logged-in account, username matters only for Cookie-only HTML clients, and API clients have the parameter ignored. That is exactly the auth-context disclosure an agent needs. It stops short of describing pagination, ordering, or size limits of the folder list.

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

Conciseness4/5

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

The description is clearly sectioned into purpose, parameters, and return, and front-loads the one-line purpose. Every sentence is informative, though the return block partially restates what the existing output schema already defines.

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?

For a single-optional-parameter read tool with an output schema, the definition is nearly complete: purpose, auth semantics, and the folder_id="0" edge case are all covered. The minor gap is that the return-value description duplicates the output schema instead of focusing on folder ordering, stability, or how the ids should be reused.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the parameter is just an untyped-in-practice optional string with an empty default, so the description must supply all meaning — and it does: it explains precisely when username is required (Cookie-only HTML clients without auth.username), when it can be omitted, and that API clients ignore it entirely. This is meaning fully beyond the schema.

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 states a specific verb and resource — retrieve the favorite folders (收藏夹目录) of the logged-in account — which is concrete enough to distinguish it from album-oriented siblings like browse_favorite_albums. However, it never explicitly says 'this returns folders, not albums' or names a sibling, so the differentiation 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 Guidelines3/5

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

There is no explicit when-to-use / when-not-to-use guidance versus browse_favorite_albums or search_album. The only guidance is indirect but useful: the note that folder_id="0" queries all favorites hints that the returned ids feed another call, which implies why an agent would call this first.

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