get_current_apy
Get the blended target APY for a Forge profile: base USDC yield + FORGE boost. Returns structured JSON with profile metadata, target allocation by adapter, and a disclaimer. Format: "X% USDC + Y% FORGE (blended target)". APY is a blended target across conservative allocation weights; not a guaran...
This record as markdown: /tools/com-forgetreasury-treasury/get-current-apy.md
What get_current_apy does on Forge Treasury
AI agents call get_current_apy to retrieve information from Forge Treasury 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 |
|---|---|---|---|
profile | string | — | Risk profile. MVP: "conservative" only. balanced/aggressive return PROFILE_NOT_LIVE. Defaults to "conservative". |
agentAddress | string | — | Optional agent address for personalized boost calculation |
Parameters from the server's own tool schema.
Why get_current_apy is rated Low
This tool retrieves and queries yield information for a Forge profile without creating, modifying, deleting, or executing any state-changing operations. It returns informational metadata about APY targets and allocation strategies. The disclaimer about APY being a 'blended target' and 'not a guarantee' further confirms this is purely informational retrieval with no side effects.
From the tool's definition Tool description states 'Get the blended target APY' and 'Returns structured JSON with profile metadata, target allocation by adapter'. The verb 'Get' and the passive return of information indicates a read operation.
Attacks that exploit this kind of access
The rule that runs get_current_apy safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Forge Treasury, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_current_apy, this is the rule to start with:
get_current_apy 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 Forge Treasury, apply this rule, and every get_current_apy call is checked against it from then on.
Questions about get_current_apy
Get the blended target APY for a Forge profile: base USDC yield + FORGE boost. Returns structured JSON with profile metadata, target allocation by adapter, and a disclaimer. Format: "X% USDC + Y% FORGE (blended target)". APY is a blended target across conservative allocation weights; not a guarantee. Sepolia uses MockYieldAdapter until mainnet adapters are live. Conservative deposits Core only (single leg). Balanced returns two legs (50% Core / 50% Middle). Aggressive is not live. Gas: Core 4M, Middle 6M+ on mainnet. It is categorised as a Read tool in the Forge Treasury MCP Server, which means it retrieves data without modifying state.
get_current_apy accepts 2 parameters: profile, agentAddress. The full parameter table on this page comes from the server's own tool schema.
Register the Forge Treasury MCP server in PolicyLayer and add a rule for get_current_apy: 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 Forge Treasury. Nothing to install.
get_current_apy 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 get_current_apy 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 get_current_apy. 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.
get_current_apy is provided by the Forge Treasury MCP server (https://mcp.forgetreasury.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Forge Treasury, and thousands of servers like it.
This server
Across the catalogue