# update_block

Update a SiYuan note block with new content while preserving IAL metadata

Agent View of the PolicyLayer registry record for `update_block`. HTML page: https://policylayer.com/tools/2234839-mcpserver/update-block

## Facts

- Tool: `update_block`
- Server: Martin MCP Toolbox (`2234839/mcpserver`) — https://policylayer.com/tools/2234839-mcpserver.md
- Homepage: https://github.com/2234839/mcpserver
- Risk category: Write (Medium risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_block",
    "arguments": {}
  }
}
```

## Why update_block is rated Medium

This tool modifies data reversibly by updating note block content. It is a Write operation because it changes existing information without permanently deleting it. Severity is medium because unintended modifications to notes could disrupt a user's note-taking system, but the operation is reversible (can be undone or re-edited).

From the tool's own definition: "Tool name is 'update_block' and description states it 'Update[s] a SiYuan note block with new content'. The action modifies existing data (note content) in the SiYuan Notes system."

## Use case

AI agents use update_block to create or update resources in Martin MCP Toolbox, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Martin MCP Toolbox environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Martin MCP Toolbox:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "update_block": {
      "limits": [
        {
          "counter": "update_block_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Martin MCP Toolbox (13)

- `pollinations_generate_text` — Execute — https://policylayer.com/tools/2234839-mcpserver/pollinations-generate-text.md
- `siyuan_query_sql` — Execute — https://policylayer.com/tools/2234839-mcpserver/siyuan-query-sql.md
- `advanced_web_search` — Read — https://policylayer.com/tools/2234839-mcpserver/advanced-web-search.md
- `analyze_video` — Read — https://policylayer.com/tools/2234839-mcpserver/analyze-video.md
- `get_block_kramdown` — Read — https://policylayer.com/tools/2234839-mcpserver/get-block-kramdown.md
- `pollinations_analyze_image` — Read — https://policylayer.com/tools/2234839-mcpserver/pollinations-analyze-image.md
- `read_image` — Read — https://policylayer.com/tools/2234839-mcpserver/read-image.md
- `siyuan_database_query` — Read — https://policylayer.com/tools/2234839-mcpserver/siyuan-database-query.md
- `siyuan_search_blocks` — Read — https://policylayer.com/tools/2234839-mcpserver/siyuan-search-blocks.md
- `web_search` — Read — https://policylayer.com/tools/2234839-mcpserver/web-search.md
- `generate_image` — Write — https://policylayer.com/tools/2234839-mcpserver/generate-image.md
- `pollinations_generate_audio` — Write — https://policylayer.com/tools/2234839-mcpserver/pollinations-generate-audio.md
- `pollinations_generate_image` — Write — https://policylayer.com/tools/2234839-mcpserver/pollinations-generate-image.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=2234839-mcpserver · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/2234839-mcpserver
