Skip to main content
Glama

write_symbols

Batch-write multiple symbols atomically with rollback on failure, safe for multi-file refactors. Guarantees all-or-nothing consistency across files.

Instructions

Guarded write path (batch). All-or-nothing across files, deadlock-safe. Multi-file refactor? Use instead of N×write_symbol. New symbols: reindex first. For string params containing double quotes/backslashes, keep JSON escaping consistent across the whole string (escape uniformly or prefer full-width quotes), otherwise client-side parameter parsing fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyNo
safetyNo
writesYesREQUIRED: Array of writes. Grouped by file internally.
workspace_dirYesREQUIRED: project root (abs). reindex first if new.
allow_unsafe_no_baseNoBypass base_version requirement for all writes (audited).

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wulun811/LiuHe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server