# get_mandate

Fetch the current spending mandate for this agent.

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

## Facts

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

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

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

## Why get_mandate is rated Low

This tool queries and returns data (the spending mandate) without modifying, deleting, or triggering any external actions. It is purely informational and read-only. While the mandate data could be sensitive (spending rules, caps, merchant allowlists), retrieval alone poses minimal risk — the agent cannot misuse this tool to cause financial harm, unauthorized spending, or data destruction.

From the tool's own definition: "Tool name is 'get_mandate' and description explicitly states 'Fetch the current spending mandate' — a retrieval operation with no side effects."

## Use case

AI agents call get_mandate to retrieve information from AgentPay without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_mandate": {}
  }
}
```

## 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
- `create_mandate` — Financial — https://policylayer.com/tools/advaitgore-agent-payment/create-mandate.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_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
