Skip to navigation

write_agent_context

Propose and save agent guidance on a plan, product, item or quote template

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
{"resource_type": "products", "id": "prod_Xw3nQr7KmY2vBs8TfLc41", "guidance": "Add-on for Pro plans only.", "text_confirmed": true}

Example prompts

  • “Add guidance to the Enterprise plan: it’s for regulated and listed companies, not startups”
  • “Update the Growth Plan guidance now that version 3 includes e-invoicing”
  • “Write a description for our Quoting product that we can show customers”
  • “Clear the guidance on the deprecated Starter plan”

Example output

Prompt: “Add guidance to the Enterprise plan: it’s for regulated and listed companies, not startups”

Tool call (first call, without text_confirmed, returns a proposal):

{
"resource_type": "pricing_plans",
"id": "ppla_NwDsM40vxDR5kyCJdf1M",
"guidance": "Pick for enterprise, regulated or listed customers and for deals that need custom terms or several enterprise features. Not for self-serve or early-stage startups.",
"description": "Our plan for large and regulated organisations that need custom terms."
}

Response (trimmed):

{
"proposal": true,
"saved": false,
"resource": {"resource_type": "pricing_plans", "id": "ppla_NwDsM40vxDR5kyCJdf1M", "name": "Enterprise plan"},
"guidance": {
"current": null,
"proposed": "Pick for enterprise, regulated or listed customers and for deals that need custom terms or several enterprise features. Not for self-serve or early-stage startups.",
"removed": [],
"added": [
"Pick for enterprise, regulated or listed customers and for deals that need custom terms or several enterprise features.",
"Not for self-serve or early-stage startups."
]
},
"description": {"current": null, "proposed": "Our plan for large and regulated organisations that need custom terms."},
"choices": ["Save as proposed", "Adjust", "Skip"]
}

Claude’s answer: The Enterprise plan has no guidance yet. Here is the proposed guidance and a customer-safe description: save as proposed, adjust, or skip? Nothing is saved until you choose.