Need more detail? Connect your coding agent to the full docs.

Skip to Content
AMIRILDocs

Amiril MCP server tools

Every tool on Amiril's MCP server, grouped by what it is for. See which tools change data and which changes the assistant asks you about first.

Read tools are on both https://api.amiril.ai/mcp and the read-only https://api.amiril.ai/mcp/readonly. Write tools are only on the first. The one exception is amiril_feedback_send. Most tools act in one environment, such as Production or Development, and use Production unless the assistant names another.

Six write tools carry MCP's destructive hint because they change what live agents do or rewrite stored data. For five of them, the tool's description tells the assistant to ask you before it does any of these:

  • publish a rule, with amiril_rule_publish
  • change a rule's mode, with amiril_rule_set_mode
  • delete a dashboard, an Agent System or a trace file, with amiril_delete
  • merge or archive an agent, with amiril_agent_update
  • change where an environment reads agent names from, with amiril_agent_source_set

The sixth, amiril_lens_save, can regroup the past runs of an Agent System. Its description tells the assistant this, but not to ask you first.

Workspace

ToolWhat it doesType
amiril_workspaceWho you are, your role, the environments and how fresh the data isRead
amiril_schemaThe shapes of filters, dashboards and Agent Systems, and the rule language in briefRead

Agents and tool servers

ToolWhat it doesType
amiril_agents_listOne environment's agents, with counts of their runs, tool calls and anomaliesRead
amiril_tools_listThe tool servers and the tool names seen in tracesRead
amiril_agent_updateRename, describe or tag an agent, merge it into another agent or archive itWrite, destructive
amiril_agent_source_setSet where an environment reads each run's agent from. The choices are the trace name, a trace metadata field or none, which puts every run under one agentWrite, destructive

Runs and traces

An anomaly is a run unusual enough to need your review. Your review budget sets how many runs that is. Amiril opens an issue when three anomalies share one problem, or as soon as you confirm one. The tools below also take work items, which Agent Systems explains.

ToolWhat it doesType
amiril_queryRuns or work items that match a filter, ranked by rarityRead
amiril_anomalies_listAnomalies among runs and work items, strongest firstRead
amiril_anomaly_getWhy one is an anomaly: its rarity and the rarity factors behind itRead
amiril_trace_getThe steps of a run, with their inputs and outputsRead
amiril_verdict_setConfirm an anomaly as an issue or mark it as normal, like Confirm issue and Mark as normal on its run pageWrite

Trace files

ToolWhat it doesType
amiril_imports_listUploaded trace files, newest firstRead
amiril_import_getOne upload's status and countsRead
amiril_import_startOpen an upload and return the curl command that sends the fileWrite
amiril_import_confirmTell Amiril the file is uploaded, so it reads itWrite

Dashboards

ToolWhat it doesType
amiril_dashboards_listThe dashboards you can seeRead
amiril_dashboard_getOne dashboard and its widgetsRead
amiril_dashboard_previewWhat each widget would show, before savingRead
amiril_dashboard_saveCreate a dashboard or replace its widgets, and return its URLWrite

Agent Systems

An Agent System is a group of agents that hand the same work along, such as three agents that each handle part of one payment. That whole payment is one work item, and Amiril finds its runs by an id they all carry. Amiril ranks work items by rarity like runs, so a work item can be an anomaly too.

In the web app, Agent Systems are under Systems in the sidebar. The tools below have lens in their names, because the API calls an Agent System a lens.

ToolWhat it doesType
amiril_lenses_listThe Agent Systems, and the metadata keys and payload paths a new one could use as its idRead
amiril_lens_previewHow many recent runs a candidate id would link, and into how many work itemsRead
amiril_lens_saveCreate or change an Agent System, and return its URLWrite, destructive

Rules

Each rule has a mode in each environment. Off leaves the rule out, Shadow records what it would do and lets every call run, and Enforce blocks or flags calls.

ToolWhat it doesType
amiril_rules_listEvery rule as rule text, with its mode in each environmentRead
amiril_rule_getOne rule: its text, settings, modes and versionsRead
amiril_rule_validateCheck rule text without saving itRead
amiril_rule_previewA rule's decision on a sample call, and the messages it writes for the agent and for a reviewerRead
amiril_rule_saveCreate a rule or save a draft. Agents run it only once it is published, and a new rule starts in ShadowWrite
amiril_rule_publishMake a rule's latest draft the version agents runWrite, destructive
amiril_rule_set_modeSwitch a rule between Off, Shadow and Enforce in one environmentWrite, destructive
amiril_backtest_runStart a backtest, which replays a rule over past calls and saves how often it would have firedWrite
amiril_backtest_getA backtest's result, with example runsRead

Deletion

ToolWhat it doesType
amiril_deleteDelete a dashboard, an Agent System or an uploaded trace fileWrite, destructive

No tool deletes a rule or an agent. To stop a rule, set it to Off with amiril_rule_set_mode. To retire an agent, archive it with amiril_agent_update.

Docs

ToolWhat it doesType
amiril_docs_searchThe docs sections that best match a questionRead
amiril_docs_grepLines that match a regular expression, for exact stringsRead
amiril_docs_getOne page as Markdown, or one section of itRead
amiril_docs_listThe list of docs pages, to browse when there is nothing to search forRead

Feedback

ToolWhat it doesType
amiril_feedback_sendSend Amiril feedback, such as a question the docs did not answer or a tool that was missingWrite

Your assistant writes the feedback in its own words, and it reaches the Amiril team with your workspace and user attached. The tool tells the assistant to send it straight away and to let you know afterwards. Nothing in your workspace changes, so the tool is on the read-only endpoint too.

Skills

The server also offers three skills. A skill is a step-by-step guide, and your assistant loads one by itself when your request matches it. Claude Code puts the server's name in front of each skill, so with the server added as amiril they are:

  • amiril:write-rule to write, test and save a rule
  • amiril:investigate-anomaly to find out why a run stood out
  • amiril:instrument-repository to connect the agent in your repository, with its traces and the SDK

Clients that do not load skills still get the same guides, because the assistant finds them through the docs tools.

Next steps

Last updated on