Skip to main content
Glama

yuque_get_note

Fetch a Yuque note's details by ID, returning trimmed fields by default or raw full JSON when requested.

Instructions

Get note detail. GET /notes/:id. 详见 references/api/note_api.md

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": {
      "note_id": "<note_id>"
    },
    "name": "yuque_get_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoReturn raw full JSON (default false, returns trimmed fields)
note_idYesNote ID (required). number 或数字字符串都接受

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.0.1
    • addedInput schema / properties / note_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  }
      +]
    • changedInput schema / properties / note_id / description
      Previous value: -"Note ID (required)"New value: +"Note ID (required). number 或数字字符串都接受"
    • removedInput schema / properties / note_id / type
      Removed value: -"number"
  2. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. The GET endpoint implies a read-only operation, but nothing is said about auth requirements, error behavior for missing IDs, or what the trimmed default response contains versus raw=true.

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?

Three short fragments, front-loaded with the operation and its endpoint, with no filler. The pointer to references/api/note_api.md is terse but potentially useful, though it shifts detail outside the definition.

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?

This is a simple two-parameter read with full schema coverage and no output schema, so the bar is low, but the description still omits the distinction between raw and trimmed results and any failure-mode context. It is minimally adequate rather than complete.

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 note_id (string or number) and the raw flag are already documented in the schema. The description only echoes :id from the path and adds no format, range, or behavioral meaning beyond it, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get note detail" names a verb and resource, and the endpoint GET /notes/:id confirms it is a single-resource read. However, it never explains what a "note" is relative to the many sibling doc/repo readers (yuque_get_doc, yuque_web_get_doc), so an agent cannot tell from the text alone which reader it should pick.

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?

There is no when-to-use guidance, no exclusion of alternatives, and no prerequisites such as required permissions or a valid note ID source. The agent must infer usage purely from the name and the URL path.

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