adjust_lrp
Adjust ADA amount in an LRP position (positive to increase, negative to decrease). Optionally update the max price. Returns an unsigned transaction (CBOR hex) for client-side signing.
This record as markdown: /tools/indigoprotocol-indigo-mcp/adjust-lrp.md
What adjust_lrp does on Indigo Protocol MCP
AI agents use adjust_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 |
|---|---|---|---|
address | string | — | User Cardano bech32 address |
lrpTxHash | string | — | Transaction hash of the LRP UTxO |
newMaxPrice | string | — | Optional new max price as an on-chain integer string |
lrpOutputIndex | number | — | Output index of the LRP UTxO |
lovelacesAdjustAmount | string | — | Lovelace adjustment amount (positive to add, negative to remove) |
Parameters from the server's own tool schema.
Why adjust_lrp is rated Medium
This tool modifies an LRP (Liquidity Rebalancing Position) by adjusting ADA amounts and price parameters. These are write operations that create or update data (the position state). While the tool returns an unsigned transaction requiring client-side signing (reducing immediate risk), the capability to modify financial positions is a Write operation.
From the tool's definition Tool description states 'Adjust ADA amount in an LRP position (positive to increase, negative to decrease). Optionally update the max price.
Attacks that exploit this kind of access
The rule that runs adjust_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 adjust_lrp, this is the rule to start with:
adjust_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 adjust_lrp call is checked against it from then on.
Questions about adjust_lrp
Adjust ADA amount in an LRP position (positive to increase, negative to decrease). Optionally update the max price. 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.
adjust_lrp accepts 5 parameters: address, lrpTxHash, newMaxPrice, lrpOutputIndex, lovelacesAdjustAmount. 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 adjust_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.
adjust_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 adjust_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 adjust_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.
adjust_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