Skip to main content
Glama

yuque_embed_url

Convert a Yuque document link or doc_id+book_id into an embeddable reader URL. Use for embedding Yuque documents in web pages or apps.

Instructions

Generate a Yuque embed reader URL from a document link or doc_id+book_id. 详见 references/api/extended_api.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoFull Yuque document URL, e.g. https://www.yuque.com/yuque/developer/embed (mutually exclusive with doc_id+book)
fromYesCaller app name (required). Use your team/app English name
titleNoShow title: 1=show, 0=hide
doc_idNoDocument ID (mutually exclusive with url, requires book_id or namespace)
book_idNoRepository ID or namespace (e.g. yuque/developer), used with doc_id
outlineNoShow outline sidebar: 1=show, 0=hide
translateNo翻译语种,支持:en/zh/ru/pt/es/fr/ja/ar/de/it/ko/tr/vi/pl/he/id/hi/nl/th

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It implies a read-only URL generation but does not state side effects, authentication requirements, rate limits, or return format, leaving key behavioral traits undocumented.

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 two short sentences, front-loaded with the core action, and includes a pointer to extended documentation. Every sentence is purposeful and there is no wasted text.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter tool with no annotations and no output schema, the description is minimally adequate. It identifies the operation and references extended documentation, but does not address behavioral context, return shape, or usage conditions that would help an agent invoke it confidently.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all seven parameters. The description adds only a high-level mention of the url vs doc_id+book_id input forms, which is already captured in the schema, so baseline 3 is appropriate.

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 states a specific verb and resource: generate a Yuque embed reader URL. It also specifies the two input forms (document link or doc_id+book_id), and no sibling tool performs this operation.

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

Usage Guidelines2/5

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

The description explains what the tool generates but gives no guidance on when to use it versus alternatives, nor any prerequisites or exclusions. The reference to an external markdown file does not provide usage guidance within the definition.

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