call_tool

Call any tool method through the AgentPay gateway. Automatically provisions access on first use. Credits are deducted per call. Use discover_tools or list_tools first to see available tools and methods.

Server AgentPay joepangallo/mcp-server-agentpay
Category Financial
Risk class Critical
Parameters 00 required

What call_tool does on AgentPay

AI agents use call_tool to commit financial operations through AgentPay — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Why call_tool needs a policy

Each call to this tool directly deducts credits (a financial transaction) from the agent's wallet. Beyond the financial impact, it also auto-provisions access (a Write/Execute side effect) and can invoke arbitrary external tool APIs, compounding the blast radius. Financial is the highest severity category and clearly applies here.

From the tool's definition 'Credits are deducted per call' and 'Automatically provisions access on first use' — every invocation consumes financial credits from a funded wallet via the AgentPay payment gateway.

Questions about call_tool

What does the call_tool tool do? +

Call any tool method through the AgentPay gateway. Automatically provisions access on first use. Credits are deducted per call. Use discover_tools or list_tools first to see available tools and methods. It is categorised as a Financial tool in the AgentPay MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on call_tool? +

Register the AgentPay MCP server in PolicyLayer and add a rule for call_tool: 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 AgentPay. Nothing to install.

What risk level is call_tool? +

call_tool is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit call_tool? +

Yes. Add a rate_limit block to the call_tool 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.

How do I block call_tool completely? +

Set action: deny in the PolicyLayer policy for call_tool. 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.

What MCP server provides call_tool? +

call_tool is provided by the AgentPay MCP server (joepangallo/mcp-server-agentpay). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

call_tool is one line of AgentPay's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.