# create_mandate

A financial tool on the AgentPay MCP server.

Agent View of the PolicyLayer registry record for `create_mandate`. HTML page: https://policylayer.com/tools/advaitgore-agent-payment/create-mandate

## Facts

- Tool: `create_mandate`
- Server: AgentPay (`advaitgore/agent_payment`) — https://policylayer.com/tools/advaitgore-agent-payment.md
- Homepage: https://github.com/advaitgore/agent_payment
- Risk category: Financial (Critical risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Approval-gated

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_mandate",
    "arguments": {}
  }
}
```

## Why create_mandate is rated Critical

A mandate on AgentPay defines the financial authorization rules (spending caps, allowed merchants, time windows) that govern what an AI agent is permitted to purchase. Creating a mandate establishes financial obligations and permissions, placing it firmly in the Financial category. Misuse could allow an agent to authorize unlimited or unintended spending.

From the tool's own definition: "Tool name 'create_mandate' on a server (AgentPay) that manages spending caps, allowed merchants, time windows, and purchase authorization for AI agents."

## Use case

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

## Recommended policy (PolicyLayer)

Verdict: **Approval-gated**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches AgentPay:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "create_mandate": {
      "deny_if": [
        {
          "conditions": [],
          "on_deny": "Requires human approval."
        }
      ]
    }
  }
}
```

## Other tools on AgentPay (8)

- `authorize_purchase` — Financial — https://policylayer.com/tools/advaitgore-agent-payment/authorize-purchase.md
- `create_account` — Financial — https://policylayer.com/tools/advaitgore-agent-payment/create-account.md
- `update_mandate` — Financial — https://policylayer.com/tools/advaitgore-agent-payment/update-mandate.md
- `get_audit_log` — Read — https://policylayer.com/tools/advaitgore-agent-payment/get-audit-log.md
- `get_mandate` — Read — https://policylayer.com/tools/advaitgore-agent-payment/get-mandate.md
- `get_spending_summary` — Read — https://policylayer.com/tools/advaitgore-agent-payment/get-spending-summary.md
- `create_agent` — Write — https://policylayer.com/tools/advaitgore-agent-payment/create-agent.md
- `rotate_agent_key` — Write — https://policylayer.com/tools/advaitgore-agent-payment/rotate-agent-key.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=advaitgore-agent-payment · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/advaitgore-agent-payment
