# gate_transaction

The gate: allow, deny or require_rx for a substance (name, INN or unii:), a pathway (licensed_medicine · lawful_compounding · cosmetic · food_or_supplement · ruo_not_cleared), an actor class, a channel and a ship-to. Returns a frozen reason code, the rule-set version, the source page and a decision_id for the downstream tools.

Agent View of the PolicyLayer registry record for `gate_transaction`. HTML page: https://policylayer.com/tools/a2a-peptides/gate-transaction

## Facts

- Tool: `gate_transaction`
- Server: A2A-Peptides (`https://mcp.a2a-peptides.ai/mcp`) — https://policylayer.com/tools/a2a-peptides.md
- Homepage: https://github.com/A2A-Peptides/A2A-Peptides
- Risk category: Write (Medium risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 6 (4 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `channel` | object | no |  |
| `pathway` | string | yes |  |
| `ship_to` | string | yes |  |
| `substance` | string | yes |  |
| `credential` | object | no |  |
| `actor_class` | string | yes |  |

Parameters from the server's own tool schema.

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

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gate_transaction",
    "arguments": {
      "pathway": "<pathway>",
      "ship_to": "<ship_to>",
      "substance": "<substance>",
      "actor_class": "<actor_class>"
    }
  }
}
```

## Why gate_transaction is rated Medium

An AI agent can call gate_transaction faster than any human can review: one bad instruction and it creates or modifies resources in A2A-Peptides by the hundred, each call as confident as the last.

## Use case

AI agents use gate_transaction to create or update resources in A2A-Peptides, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your A2A-Peptides environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches A2A-Peptides:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "gate_transaction": {
      "limits": [
        {
          "counter": "gate_transaction_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on A2A-Peptides (19)

- `a2a_handoff` — Read — https://policylayer.com/tools/a2a-peptides/a2a-handoff.md
- `compare_presentations` — Read — https://policylayer.com/tools/a2a-peptides/compare-presentations.md
- `find_licensed_supplier` — Read — https://policylayer.com/tools/a2a-peptides/find-licensed-supplier.md
- `get_availability` — Read — https://policylayer.com/tools/a2a-peptides/get-availability.md
- `get_compounding_eligibility` — Read — https://policylayer.com/tools/a2a-peptides/get-compounding-eligibility.md
- `get_enforcement_watch` — Read — https://policylayer.com/tools/a2a-peptides/get-enforcement-watch.md
- `get_item` — Read — https://policylayer.com/tools/a2a-peptides/get-item.md
- `get_label_and_indication` — Read — https://policylayer.com/tools/a2a-peptides/get-label-and-indication.md
- `get_lot_coa` — Read — https://policylayer.com/tools/a2a-peptides/get-lot-coa.md
- `get_pathway_status` — Read — https://policylayer.com/tools/a2a-peptides/get-pathway-status.md
- `get_price` — Read — https://policylayer.com/tools/a2a-peptides/get-price.md
- `get_safety_label` — Read — https://policylayer.com/tools/a2a-peptides/get-safety-label.md
- `get_substance_record` — Read — https://policylayer.com/tools/a2a-peptides/get-substance-record.md
- `search_cleared_items` — Read — https://policylayer.com/tools/a2a-peptides/search-cleared-items.md
- `verify_serialization` — Read — https://policylayer.com/tools/a2a-peptides/verify-serialization.md
- `create_order_intent` — Write — https://policylayer.com/tools/a2a-peptides/create-order-intent.md
- `log_audit` — Write — https://policylayer.com/tools/a2a-peptides/log-audit.md
- `resolve_actor` — Write — https://policylayer.com/tools/a2a-peptides/resolve-actor.md
- `resolve_jurisdiction` — Write — https://policylayer.com/tools/a2a-peptides/resolve-jurisdiction.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=a2a-peptides · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/a2a-peptides
