Skip to main content
Glama
SiYuan MCP Server
by MyrkoF

list_notebooks

Retrieve all SiYuan notebooks with their IDs, or create a new notebook by providing a name and optional emoji icon.

Instructions

List all notebooks, or create a new one. Without params: returns all notebooks with IDs. With name: creates a new notebook.

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

Input Schema

NameRequiredDescriptionDefault
iconNoEmoji icon for new notebook.📔
nameNoName for a new notebook (omit to list existing).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose that the listing returns notebooks 'with IDs' and that supplying a name performs a create, which is useful. It stops short of the traits that matter for the mutation branch: whether a duplicate name errors or creates a copy, whether the icon default is applied automatically, and whether creation has side effects beyond the notebook record.

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?

Two compact sentences, front-loaded with the listing case and followed by the create case. Every clause is doing work. It loses a point only because the dual-verb framing is compressed to the point of hiding the ambiguity rather than resolving it.

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 two-parameter, no-output-schema tool this is close to adequate: the agent knows both branches and the return shape of one. The create branch remains underspecified with no annotations to fall back on, leaving the mutation semantics and failure behavior undocumented.

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%, and the schema already states 'omit to list existing', so the description largely restates it. It does reinforce that parameter presence, not a mode flag, switches the operation, which is a helpful framing. The icon parameter and its default are not discussed at all in the description.

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?

The description does name specific verbs and a resource ('List all notebooks, or create a new one'), so the meaning is graspable. But it bundles two distinct operations — a read-only listing and a mutating create — under one name, so an agent cannot tell at a glance which capability it is selecting. It also does not differentiate itself from the sibling 'rename_notebook', which operates on the same object.

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 an implicit dispatch rule: no params means list, a name means create. That is genuine when-to-use guidance for the two branches. What is missing is any exclusion or prerequisite — nothing about what happens when a name already exists, or whether it is safe to call repeatedly.

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