Skip to navigation

Instructions

The operating guidance every agent reads before it works with your business, and the pages you publish alongside it.
View as Markdown

Instructions describe how your business works to the agents that serve your customers. Tools tell an agent which operations are available. Instructions tell it how and when to use them, what your business offers, what must be confirmed with the customer and what it must never do. Every agent reads your instructions before it uses any of your tools, which makes them the most significant factor in how accurately and appropriately agents represent you.

Instructions are written in Markdown under Instructions in the Agents area of the Mitu dashboard, and published to agents that connect through MCP. Publishing to agents that read your HTTP address is coming soon.

The instruction file

Every service begins with an instruction file organised into five sections. Each one answers a question an agent needs settled before it acts on your behalf.

  1. Business
    Who you are, what you offer and who your customers are, so the agent can represent your business accurately.
  2. Goal
    What a successful interaction looks like, such as a confirmed booking or a completed purchase, so the agent knows when its task is complete.
  3. Tools
    How your tools relate to one another and the order in which they are normally used, for example checking availability before creating a booking.
  4. Confirm before charging
    What the agent must confirm with the customer before any payment is taken, such as the items, the total and the delivery details.
  5. Guardrails
    The limits the agent must never cross, such as offering discounts you do not provide, sharing one customer’s information with another or acting outside your hours of service.

The example below shows a complete instruction file for a business that offers bookable professional services.

instruction.md
# Business
Northwind Studio provides design consultations for small and medium businesses.
Consultations last 60 minutes, are held online, and are priced in US dollars.
Our customers are business owners and marketing teams.
# Goal
A successful interaction ends with a confirmed consultation booked for a time
the customer has agreed to, and a receipt sent to their email address.
# Tools
1. Use `check_availability` to find open times before suggesting any to the customer.
2. Use `get_quote` once the customer has chosen a time, to show the exact price.
3. Use `create_booking` only after the customer has confirmed the time and the price.
# Confirm before charging
Before `create_booking`, read back the date, time, consultation type and total
price, and wait for the customer to confirm all four.
# Guardrails
- Never offer discounts or prices other than those returned by `get_quote`.
- Never book outside our hours of service, Monday to Friday, 09:00 to 18:00 WAT.
- Never share details of one customer's booking with another customer.
- If a customer asks for something we do not offer, say so and suggest contacting
support at help@northwindstudio.com.

Tool names written in backticks, such as get_quote, are inserted from the Insert panel, so every reference matches a tool that exists. The support address was inserted from a saved constant.

Writing and publishing

1

Complete the instruction file

Write each of the five sections in plain, direct language. Address the agent as you would a new member of staff, and be specific wherever the outcome matters.

2

Reference tools and constants

Use Insert to place a tool’s name in your instructions, so every reference matches a tool that exists. For values you use often, such as a support address or hours of service, save a constant and insert its value as you write, so it is always entered exactly the same way. Inserting a constant places its current value in your text, so if the value later changes, update the places where it was used.

3

Add pages of your own

Add further Markdown pages for information agents may need, such as policies on delivery, returns, cancellations or service areas. Choose whether each page is offered to agents connecting through MCP, served at your HTTP address, or both. A template is available for your terms.

4

Test before you publish

Use Test to see how an agent interprets your instructions before customers do. Testing runs on an AI model key you provide, and tools that charge or change data are described to the model rather than called, so a test never takes payment or creates records.

5

Publish

Save your work as a draft while you write, and publish when it is ready. Publishing also releases any draft tools, so related changes reach agents together. If your instructions refer to a tool that does not exist, publishing stops and lists the missing tools so they can be resolved first.

Publishing status

StatusMeaning
Not publishedInstructions have not yet been published, and agents do not see them.
Unpublished changesAgents see the last published version, and there are changes they do not yet see.
PublishedAgents see exactly what is in the editor.

Writing effective instructions

  1. Be specific where it matters
    State exact conditions, such as the minimum notice for a booking or the information required before a purchase, rather than general preferences.
  2. Explain the reason behind a rule
    An agent that understands why a rule exists applies it more reliably in situations the rule did not anticipate.
  3. Keep policies in their own pages
    Place detailed policies in separate pages and refer to them from the instruction file, so each remains easy to maintain.
  4. Review after every significant change
    Test again whenever you add tools, change pricing or update a policy, so your instructions always describe the service as it is.

Well written instructions allow agents to serve your customers with the knowledge, judgement and care you expect of your own staff. Because they are versioned, tested and published deliberately, every change reaches agents only when you are ready for it.