Skip to main content
Glama

write_state

Store key-value pairs in consultation shared state to coordinate subagents, track discovered concepts, record current phase, or mark conflicts during multi-agent system architecture reviews.

Instructions

SHARED STATE (write) — Upsert a key-value pair in consultation shared state. Use for subagent coordination: store discovered concepts, current phase, conflict markers, or any JSON-serializable value. Logs a state_write step to the consultation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
consultation_idYesThe consultation session ID
keyYesState key (e.g. 'discovered_concepts', 'current_phase')
valueYesAny JSON-serializable value to store

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/marcus-waldman/Iconsult_mcp'

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