Agent context
Agent context tells an AI agent how to use a product, product item, pricing plan or quote template. Each of these resources has an agent_context object with a guidance field. Use the field to record when to select a plan, what an item includes, and which deals it is for. The text is for an AI agent, not for a customer. In Desk, the field name is Guidance. This page shows how agents read the field and how to write it.
Why this matters
An agent can do every Desk operation through the API or the MCP server. But an agent knows only the data that the API returns. A typical billing API returns the name, reference, prices and status of a plan. It does not return the purpose of the plan: why it exists, or which of two similar plans is correct for a deal. It also does not show that an item with the name “Platform fee” includes onboarding but not migration. description is not a good location for this data, because customers can see it and it is frequently empty.
If this data is missing, an agent uses names to make a decision. Agent context gives the agent your instructions.
When to use it
Use agent context when software, and not a person in Desk, selects the part of your catalog to use.
How it works
agent_context is an object that currently has one field, guidance. The field contains a maximum of 2,500 characters of free text. You can use line breaks, so you can write a short list instead of one paragraph. Four resources have the field:
You read and write the field in the same way as other fields on those resources. Customers do not see it. It does not appear on an invoice, in the customer portal, or on a quote that the customer sees.
How agents read it
- Through the MCP server. Solvimon’s MCP server gives the guidance to the agent together with the catalog metadata. The
get_agent_contexttool returns only the identity fields of a resource and its guidance. An agent can thus compare plans or templates with a small response before it selects one. - Through the API.
agent_contextis part of the resource in every response, so your own agent or integration gets it with no extra call.
Guidance is advisory
Guidance helps the agent to make a selection. It does not give permissions. The user’s request always has priority. Guidance cannot authorize a discount, skip an approval, or start an action that the user did not request. If guidance conflicts with the user’s request, the MCP server tells the agent to obey the user and to report the conflict. Approvals and Desk permissions apply as usual.
Implementation
Via API
Set the guidance with a PATCH on the resource, for example PATCH /v1/pricing-plans/{id}:
The same shape applies to products, product items and quote templates. Send "agent_context": null to clear it.
Via MCP
Ask your agent to write the guidance, or call the tools directly. To write guidance through MCP, use the test server (test.mcp.solvimon.com). The live server is read-only by default and has no write_agent_context tool. On live, set guidance via the API, unless Solvimon enabled write access for your account.
write_agent_context replaces the full guidance string. Thus, first read the current text with get_agent_context. Then write the merged version. An empty string clears the guidance.
When an agent creates a product or product item with write_product_catalog, it can include agent_context: {guidance} in the body. The resource then has guidance from the start.
Use this prompt first: “Go through our active pricing plans and quote templates, and draft agent guidance for each one. Show me the drafts before writing anything.” Review the drafts. Then let the agent write them.
Via Desk
Open a product, product item, pricing plan or quote template. Fill in the Guidance field on its detail screen. An empty field shows suggestions. Desk saves the text with the resource, and the API returns it as agent_context.guidance.
What to write
Write the instructions that you give to a new sales engineer. Do not write marketing text.
- The decision. “Pick this over Starter once they ask for SSO” helps an agent. “Our flexible mid-market plan” does not.
- The limits. Agents frequently make mistakes about what an item does not include.
- The exceptions. Plans that you must not combine. Units that are annual and not monthly. Items that look the same but are different.
- Current data. The field is free text, so Solvimon does not validate it against the plan. Keep it up to date, because an agent also acts on old guidance.
An agent can act on guidance and can repeat it in an answer. Do not put credentials, customer names or internal cost prices in this field.
Edge cases
- It does not change billing.
guidancehas no effect on pricing, invoicing or entitlements. Only agents use it. - The limit is 2,500 characters. The API rejects a longer value. If you need more text, consider two plans.
- Only four resources have it. Subscriptions, customers and invoices do not.
agent_contextis an object so that Solvimon can add more fields to it later.
See also:
- Claude integration: connect an agent to your account.
- Developing for Solvimon: the full MCP tool reference.
- Product catalog: how products and items fit together.