Sign inGet started
Your agent (MCP)

Agent steering

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

What your agent gets when nextanalytica stops a call or asks a person first, when its connection is frozen and how owners and admins answer.

Updated

Steering is how nextanalytica answers a call it won't run as it is. Instead of a dead end, your agent gets a steering answer: why the call was stopped and, where there is one, a read tool to call instead. For a call that looks risky but not hostile, it asks the project's owners and admins first. An agent that keeps getting steered is frozen until a person looks at what it did.

Steering counts by connection: one agent key, or one browser sign-in. Your other agents and your teammates' agents carry on as before.

What is a steering answer?

A steering answer is a tool result marked as an error, with its details in structuredContent:

A steering answer
{
  "status": "STEERING_INTERVENTION",
  "violation": "BULK_PEOPLE_READ",
  "risk": "medium",
  "budget_left": 2,
  "reason": "Reading people one by one is limited to 200 people an hour on this connection.",
  "instead": {
    "tool": "get_dashboard",
    "arguments": { "project": "shop.example" },
    "why": "Counts and trends answer most questions about people without reading each one."
  }
}
  • status: STEERING_INTERVENTION, AWAITING_APPROVAL while a person is asked (see below), or FROZEN once the connection is frozen.
  • violation: the rule the call broke (see the rules).
  • risk: low, medium or high.
  • budget_left: how many more times this connection can be steered in 30 minutes. When it reaches 0, the connection is frozen.
  • reason: why the call was stopped, in one sentence.
  • instead: the read tool to call instead, with the project to pass and why it helps. Left out when there is none, or when that tool isn't on this connection.

The text of the result says the same in words, so a client that doesn't read structuredContent gets it too.

What should my agent do with one?

  1. Stop. Don't send the same call again: it is steered again and spends budget.
  2. If there is an instead, call that tool with its arguments.
  3. Tell you in one line what was stopped and why, when the task needs something it can't do.

A call your agent got wrong, such as a missing argument or a project it isn't on, is an ordinary error. It isn't a steering answer and spends no budget.

What happens when a call waits for a yes?

Three rules ask a person instead of refusing: TAINTED_EGRESS, BULK_PEOPLE_READ and PEOPLE_SWEEP. The call doesn't run, and your agent gets this:

A call waiting for a yes
{
  "status": "AWAITING_APPROVAL",
  "violation": "BULK_PEOPLE_READ",
  "risk": "medium",
  "reason": "This connection read more than 200 people in the last hour, so reading more needs a person's yes.",
  "until": "2026-11-24T14:30:00.000Z"
}

until is when the request lapses. Waiting spends none of the connection's budget. Your agent tells you in one line and doesn't call again until you say it's allowed; a call made while the request is open waits again and asks nobody twice.

The project's owners and admins get the request on the Security screen and by email. What happens next:

AnswerWhat happens
Allow for 15 minutesFor TAINTED_EGRESS, your agent may make that same call, with the same connector, action and arguments, for 15 minutes. For the people rules, the rule lets this connection's calls through on this project for 15 minutes. A yes never covers another connection, project or rule.
Freeze this agentThe connection is frozen on every project, with an incident, as after 3 steering answers.
No answer in 30 minutesThe request lapses. The agent doesn't do it, and nothing is frozen.

TAINTED_EGRESS asks every time it fires. The people rules ask once an hour per connection, project and rule: if they fire again in that hour, after the request lapsed or its yes ran out, the call gets an ordinary steering answer.

A rule asks only when it is set to Stop it and the call names a project. Otherwise it steers the call as any other rule.

When is a connection frozen?

The 3rd steering answer in 30 minutes freezes the connection. The first gets budget_left 2, the second 1, and the third is already the frozen answer. A rule set to Note it spends no budget, and neither does a call waiting for a yes. An owner or admin can also freeze an agent with Freeze this agent on its request.

While the connection is frozen:

  • every call, to any tool, answers with status FROZEN, budget_left 0 and risk high;
  • the only tool listed is why_frozen, which says when the connection was frozen and which rule froze it.

Your agent tells you in one line that it is frozen. It stays frozen until an owner or admin releases it in Security: someone other than you, unless no one else can. After a release, the 30 minutes count from the release, so the connection starts again with all 3.

Which rules steer a call?

Two rules are always on. The other five can be switched for each project.

Rule and its violationSteers a call whenInstead
A change on a read-only connection: WRITE_ON_READA read-only connection calls a tool that changes somethingThe nearest read tool, such as get_context for remember
Something the person's role doesn't allow: ROLE_DENIEDThe person's role on the project doesn't allow the toolThe nearest read tool
Same call again and again: REPEAT_LOOPThe same tool with the same arguments came more than 5 times in 2 minutesNone
Acting through a connector after reading outside text: TAINTED_EGRESScall_connector runs, with confirm: true, an action its connector doesn't mark read only, after the connection read outside text in the last 30 minutesAsks a person
Reading people filter by filter: PEOPLE_SWEEPfind_people has already come 15 times in 10 minutes with only its filters, period, property, events or cohort changedAsks a person, then get_dashboard
Reading many people one by one: BULK_PEOPLE_READget_person and find_people returned more than 200 people in the last hourAsks a person, then get_dashboard
Hidden instructions or encoded text in a call: ARGUMENT_ANOMALYAn argument holds a line that starts with system:, the words "ignore previous", hidden characters or a long encoded blockNone

A call breaks at most one rule. The rules look at the tool, counts and fixed patterns, never at what an argument means, so no wording in a call changes what they decide.

To see which tools change something, see Can my agent only read? For what each role allows, see Team access.

What counts as outside text?

Outside text is anything that didn't come from your team: page titles, event properties, notes and the answers of a connector. A web page or a provider can put words in them that read like an instruction, so a write through a connector right after reading them waits for a person.

Every tool's answer counts, a failed call included (a connector's error can pass on its provider's words), except the tools that return only our own text: list_projects, get_tag, get_skills_plugin, why_frozen and the tools that change something and answer with a confirmation. A tool added later counts until it is on that list.

How do I switch a rule?

Owners and admins open the project, choose Security in its settings list, open What we watch for and pick one of three for each switchable rule:

ChoiceWhat happens
OffThe rule doesn't run.
Note itThe call runs. The steering is recorded, spends no budget and freezes nothing.
Stop itThe call gets a steering answer and spends budget, or waits for a yes for the three rules that ask.

The two rules that are always on show Always on and can't be switched. Members see the rules and can't change them.

Until a project chooses, a switchable rule is Note it for its first 7 days in nextanalytica, then Stop it. A rule follows the project the call names; a call that names no project follows this default.

What does the Security screen show?

Open a project and choose Security in its settings list, under Project knowledge. It shows, from the top:

  • One line on how things stand: All agents are working normally, or how many wait for a yes and how many are paused.
  • Waiting for a yes: each agent's open request on this project.
  • Each agent frozen on this project, newest first, with the person it belongs to, its client and the calls that led to the freeze.
  • Looked at: released and revoked incidents.
  • What we watch for, folded: the rules and their switches, each in plain words.
WhoSeesCan act
Owner or adminEvery request on this project and every incident whose calls touched itAnswers every request, their own agent's included. Releases or revokes an agent steered on a project where they are an owner or admin.
MemberRequests and incidents of their own agentsNo
The agent's own personTheir own agent's request and incidentAnswers its request when they are an owner or admin. As an owner or admin, revokes it, and releases it only when no one else could.

A call on a project you aren't on shows as another project.

How do I answer an agent's request?

Each request is a card under Waiting for a yes: whose agent it is, its client, what it wants, when it asked and when it lapses. For a connector call, the card names the action and the connector, as your team set them up, for example "run create_issue on Linear after reading text from outside your team". It never shows an argument's value.

Choose Allow for 15 minutes or Freeze this agent. A request that was already answered or has lapsed can't be answered again.

Every owner and admin of the project also gets an email within a minute, once per request, with the same words, a link to the Security screen and the time the request lapses. If the email doesn't arrive, the card is still there.

How do I release or revoke an agent?

On a frozen agent in Security, choose one:

ChoiceWhat happens
Release for 15 minutesThe agent works again for 15 minutes, then it is frozen again. The incident stays open.
ReleaseThe agent works again. The incident closes as released.
RevokeAfter you confirm, the agent key, or every token of that browser sign-in, stops working on every project. It can't be undone. The incident closes as revoked, and the person connects again to go on.

A release reaches the agent within 10 seconds. If the agent was frozen again since, act on the newer incident.

Can I release my own agent?

Only when no one else could, then or now. Another owner or admin of a project where your agent was steered releases it, so a second person looks at what it did. You release it yourself only when there was no such person when it was frozen and there is none now, as on a project with only its owner. In practice that is an owner: every project has one, so an admin is rarely alone.

The freeze remembers who was there. Removing an admin, or making them a member, after your agent was frozen doesn't hand the release back to you: they, or another owner or admin, still release it.

Before a release, the screen asks you to check its calls first, and the release only goes through with that confirmation. If your agent read or changed something you didn't ask for, revoke it and connect again.

You can always revoke your own agent when you are an owner or admin of a project where it was steered: it ends the key or the sign-in, which is never the risky direction.

A member never releases or revokes their own agent from Security. They can still end their own key in Access.

Further reading

Related
  • Your agent: Connect your own agent to nextanalytica's MCP server and ask about your site in plain words, instead of reading a dashboard.
  • What is an analytics MCP server?: An analytics MCP server lets your agent read your site's visits and answer questions about them. What it is, what it can do and how to connect one.
  • Let your agent set it up: How your coding agent sets nextanalytica up inside an app: it makes the project, adds the tag, checks it and goes live, while you only sign in once.
  • Check your work: dev_report and check_release: Your agent reads the errors your browser shows while it builds with dev_report, and compares each deploy with the one before with check_release.
  • Use cases: Questions to ask your agent, by task, with what comes back, and multi-step recipes that build on each answer.
  • MCP tools reference: Every tool your agent can call on the nextanalytica MCP server, with its arguments and example prompts.
Still have questions?
Was this page useful?