> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.solvimon.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.solvimon.com/_mcp/server.

# write_agent_context

**Live server:** test server (`test.mcp.solvimon.com`) only.

Sets or clears the guidance and/or description on a resource, at any status.

* **Proposal first.** Without `text_confirmed: true` nothing is saved. The tool returns the current and the proposed text side by side, with the sentences removed and added, so you can save, adjust or skip.
* It **replaces** the whole guidance string (max 2,500 characters), so read it first with `get_agent_context` and write back the merged text. An empty string clears it.
* Wording that reads like a permission, such as "pre-approved" or "can offer a discount", is refused. Restrictions are fine.
* Record intent and constraints (e.g. "annual enterprise deals only"), not what the object's own fields already show, and never secrets or personal data.

**`Set guidance on a product`**

```json Set guidance on a product
{"resource_type": "products", "id": "prod_Xw3nQr7KmY2vBs8TfLc41", "guidance": "Add-on for Pro plans only.", "text_confirmed": true}
```