agents_prompt_history
List past versions of an agent's prompt_text. Every edit to the agent's prompt is snapshotted to an append-only table — use this tool to browse history, find a prior known-good version, and copy it into agents.prompt_restore.
This record as markdown: /tools/io-github-saloprj-dialogbrain/agents-prompt-history.md
What agents_prompt_history does on Dialogbrain
AI agents call agents_prompt_history to retrieve information from Dialogbrain without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | — | Max versions to return (1-200, default 50) |
agent_id | integer | Yes | ID of the agent |
before_version | integer | — | Cursor: return versions strictly below this version_number |
Parameters from the server's own tool schema.
Why agents_prompt_history is rated Low
This tool only retrieves historical snapshots of prompt versions from an append-only table. It performs no writes, executions, or deletions — purely a read/query operation. The only risk is information disclosure of past prompt configurations, which is low severity.
From the tool's definition List past versions of an agent's `prompt_text`... use this tool to browse history, find a prior known-good version
Risk signalsBulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
The rule that runs agents_prompt_history safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Dialogbrain, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For agents_prompt_history, this is the rule to start with:
agents_prompt_history is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Dialogbrain, apply this rule, and every agents_prompt_history call is checked against it from then on.
Questions about agents_prompt_history
List past versions of an agent's prompt_text. Every edit to the agent's prompt is snapshotted to an append-only table — use this tool to browse history, find a prior known-good version, and copy it into agents.prompt_restore. It is categorised as a Read tool in the Dialogbrain MCP Server, which means it retrieves data without modifying state.
agents_prompt_history accepts 3 parameters: limit, agent_id, before_version. Required: agent_id. The full parameter table on this page comes from the server's own tool schema.
Register the Dialogbrain MCP server in PolicyLayer and add a rule for agents_prompt_history: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dialogbrain. Nothing to install.
agents_prompt_history is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the agents_prompt_history rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for agents_prompt_history. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
agents_prompt_history is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Dialogbrain, and thousands of servers like it.
This server
Across the catalogue