siyuan_search_blocks
Search for blocks in SiYuan notes using full-text search
This record as markdown: /tools/2234839-mcpserver/siyuan-search-blocks.md
What siyuan_search_blocks does on Martin MCP Toolbox
AI agents call siyuan_search_blocks to retrieve information from Martin MCP Toolbox without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why siyuan_search_blocks is rated Low
This tool performs a full-text search query against SiYuan notes, which is a read-only operation that retrieves matching blocks without creating, modifying, executing, or destructively altering any data. The blast radius of misuse is minimal—an attacker could exfiltrate sensitive note content already stored in the system, but cannot cause irreversible damage or execute external code.
From the tool's definition Tool name 'siyuan_search_blocks' and description 'Search for blocks in SiYuan notes using full-text search' indicate a retrieval-only operation with no modification, deletion, or side effects.
Attacks that exploit this kind of access
The rule that runs siyuan_search_blocks safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Martin MCP Toolbox, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For siyuan_search_blocks, this is the rule to start with:
siyuan_search_blocks is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Martin MCP Toolbox, apply this rule, and every siyuan_search_blocks call is checked against it from then on.
Questions about siyuan_search_blocks
Search for blocks in SiYuan notes using full-text search. It is categorised as a Read tool in the Martin MCP Toolbox MCP Server, which means it retrieves data without modifying state.
Register the Martin MCP Toolbox MCP server in PolicyLayer and add a rule for siyuan_search_blocks: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Martin MCP Toolbox. Nothing to install.
siyuan_search_blocks is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the siyuan_search_blocks rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for siyuan_search_blocks. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
siyuan_search_blocks is provided by the Martin MCP Toolbox MCP server (2234839/mcpserver). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Martin MCP Toolbox, and thousands of servers like it.
This server
Across the catalogue