treasury_optimizer
Optimiseur de trésorerie — Gapup agent-payable C-suite expertise (CFO). Returns a structured, audited deliverable. Reference case: Alan — Trésorerie €380M post-Série F · Allocation optimale 4 instruments · Yield +145bp · +€5.5M/an. Inputs are validated server-side — send the documented case fields.
This record as markdown: /tools/io-github-getgapup-gapup-mcp/treasury-optimizer.md
What treasury_optimizer does on Gapup Mcp
AI agents use treasury_optimizer to commit financial operations through Gapup Mcp, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
async | boolean | — | If true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client ti |
company | object | Yes | |
horizon | string | — | |
constraints | object | Yes | |
cashPosition | object | Yes |
Parameters from the server's own tool schema.
Why treasury_optimizer is rated Critical
This tool makes or recommends capital allocation decisions across financial instruments for treasury management. At the scale described (€380M+), misuse or erroneous recommendations could result in massive financial loss or misallocation. It falls squarely in the Financial category as it commits or directs financial obligations and investment decisions.
From the tool's definition treasury_optimizer — 'Optimiseur de trésorerie', 'CFO', 'Trésorerie €380M', 'Allocation optimale 4 instruments', 'Yield +145bp', '+€5.5M/an' — explicitly optimizes treasury allocation across financial instruments with direct monetary impact
Risk signalsHigh parameter count (15 properties)
Attacks that exploit this kind of access
The rule that runs treasury_optimizer safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Gapup Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For treasury_optimizer, this is the rule to start with:
Any call to treasury_optimizer is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Gapup Mcp, apply this rule, and every treasury_optimizer call is checked against it from then on.
Questions about treasury_optimizer
Optimiseur de trésorerie — Gapup agent-payable C-suite expertise (CFO). Returns a structured, audited deliverable. Reference case: Alan — Trésorerie €380M post-Série F · Allocation optimale 4 instruments · Yield +145bp · +€5.5M/an. Inputs are validated server-side — send the documented case fields. It is categorised as a Financial tool in the Gapup Mcp MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
treasury_optimizer accepts 5 parameters: async, company, horizon, constraints, cashPosition. Required: company, constraints, cashPosition. The full parameter table on this page comes from the server's own tool schema.
Register the Gapup MCP server in PolicyLayer and add a rule for treasury_optimizer: 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 Gapup Mcp. Nothing to install.
treasury_optimizer is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the treasury_optimizer 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 treasury_optimizer. 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.
treasury_optimizer is provided by the Gapup MCP server (https://mcp.gapup.io/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Gapup, and thousands of servers like it.
Across the catalogue