open_lrp
Open a new LRP (Limit Redemption Protocol) position with ADA and a max price limit. Returns an unsigned transaction (CBOR hex) for client-side signing.
This record as markdown: /tools/indigoprotocol-indigo-mcp/open-lrp.md
What open_lrp does on Indigo Protocol MCP
AI agents use open_lrp to create or update resources in Indigo Protocol MCP, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Indigo Protocol MCP environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | — | |
address | string | — | User Cardano bech32 address |
maxPrice | string | — | Max price as an on-chain integer string (the getOnChainInt value) |
lovelacesAmount | string | — | ADA amount in lovelace to deposit into the LRP |
Parameters from the server's own tool schema.
Why open_lrp is rated Medium
This tool creates a new financial position/commitment (LRP) by submitting a blockchain transaction. While it returns an unsigned transaction (mitigating immediate execution risk), it irreversibly commits user funds once signed and submitted. The tool modifies financial state and creates obligations, placing it in the Write category rather than Execute (since signing is deferred to client).
From the tool's definition Tool description states it 'Open[s] a new LRP (Limit Redemption Protocol) position' and returns 'an unsigned transaction (CBOR hex) for client-side signing.' This is a financial transaction creation that modifies the user's CDP/loan positions with commitments…
Attacks that exploit this kind of access
The rule that runs open_lrp safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Indigo Protocol MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For open_lrp, this is the rule to start with:
open_lrp stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Indigo Protocol MCP, apply this rule, and every open_lrp call is checked against it from then on.
Questions about open_lrp
Open a new LRP (Limit Redemption Protocol) position with ADA and a max price limit. Returns an unsigned transaction (CBOR hex) for client-side signing. It is categorised as a Write tool in the Indigo Protocol MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
open_lrp accepts 4 parameters: asset, address, maxPrice, lovelacesAmount. The full parameter table on this page comes from the server's own tool schema.
Register the Indigo Protocol MCP server in PolicyLayer and add a rule for open_lrp: 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 Indigo Protocol MCP. Nothing to install.
open_lrp is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the open_lrp 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 open_lrp. 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.
open_lrp is provided by the Indigo Protocol MCP server (indigoprotocol/indigo-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Indigo Protocol, and thousands of servers like it.
This server
Across the catalogue