Skip to main content
Glama
IrisNyx

coweread

by IrisNyx

add_bookmark

Add a highlighted bookmark to a WeRead chapter by submitting a verbatim sentence; it auto-validates the quote and returns a bookmarkId for later style changes or deletion.

Instructions

划线:abstract 必须逐字摘自该章原文(自动算 range,匹配失败拒绝划线)。 colorStyle: 1红 2紫 3蓝 4绿 5黄;style: 0直线 1荧光笔 2波浪(3 无效)。默认 5+2 黄波浪。 返回 bookmarkId,改样式/删除时用它。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNo2
book_idYes
abstractYes
chapter_uidYes
color_styleNo5

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses automatic range calculation, rejection on match failure, invalid style value '3', default values, and return value semantics. This is solid transparency for a creation tool, though it does not mention duplicate-bookmark behavior or idempotency.

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?

The description is highly compact: critical constraint first, then enum mappings/defaults, then return-value usage. Every sentence earns its place with no filler or redundancy.

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 5-parameter tool with no annotations and no schema descriptions, the description covers the essential custom logic, valid values, defaults, and post-return usage. The main gaps are explicit semantics for book_id/chapter_uid and behavior when a duplicate bookmark already exists, but the output schema presumably covers return shape.

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 compensate. It does well by explaining abstract's verbatim constraint and enumerating color_style/style numeric meanings and defaults. However, book_id and chapter_uid are left to their self-explanatory names, with no additional context provided.

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 description clearly identifies the action as creating a highlight/bookmark tied to a chapter, and specifies the key requirement that abstract must be verbatim. It also distinguishes itself from siblings like update_bookmark_style and remove_bookmark by noting the returned bookmarkId is used for those operations.

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?

It explains when the tool will reject a request (verbatim match failure) and gives the default style/color behavior. It does not explicitly enumerate when to prefer this over alternatives, but the reference to using the returned bookmarkId for style changes/deletion gives practical routing guidance.

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