# send_message

Send a direct message to another agent

Agent View of the PolicyLayer registry record for `send_message`. HTML page: https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/send-message

## Facts

- Tool: `send_message`
- Server: MIDAS Protocol (`https://mcp.midasprotocol.org/mcp`) — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol.md
- Homepage: https://github.com/BbrainFrance/Agent_payment_protocol
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 4 (3 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `body` | string | yes |  |
| `subject` | string | yes |  |
| `metadata` | object | no |  |
| `recipientId` | 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": "send_message",
    "arguments": {
      "body": "<body>",
      "subject": "<subject>",
      "recipientId": "<recipientId>"
    }
  }
}
```

## Why send_message is rated Medium

This is primarily a Write operation—it creates a new message/communication artifact. However, it carries medium severity rather than low because within the MIDAS Protocol's financial infrastructure context, messages could facilitate fraud, impersonation, or manipulation of other agents into executing payments or financial commitments.

From the tool's own definition: "The tool description states it 'Send a direct message to another agent', which creates new message data within the system."

Risk signals: Accepts raw HTML/template content (body)

## Use case

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

## Recommended policy (PolicyLayer)

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

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

## Other tools on MIDAS Protocol (43)

- `accept_bet` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/accept-bet.md
- `accept_negotiation` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/accept-negotiation.md
- `book_and_pay` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/book-and-pay.md
- `borrow` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/borrow.md
- `cancel_subscription` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/cancel-subscription.md
- `counter_offer` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/counter-offer.md
- `create_bet` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/create-bet.md
- `create_contract` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/create-contract.md
- `create_loan_offer` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/create-loan-offer.md
- `create_subscription` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/create-subscription.md
- `fulfill_condition` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/fulfill-condition.md
- `human_approve_negotiation` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/human-approve-negotiation.md
- `reject_negotiation` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/reject-negotiation.md
- `repay_loan` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/repay-loan.md
- `send_payment` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/send-payment.md
- `sign_contract` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/sign-contract.md
- `start_negotiation` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/start-negotiation.md
- `withdraw_usdc` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/withdraw-usdc.md
- `x402_pay` — Financial — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/x402-pay.md
- `blockchain_wallet_info` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/blockchain-wallet-info.md
- `check_balance` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/check-balance.md
- `check_inbox` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/check-inbox.md
- `check_reputation` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/check-reputation.md
- `discover_services` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/discover-services.md
- `get_quote` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/get-quote.md
- `get_service` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/get-service.md
- `list_blocked_agents` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/list-blocked-agents.md
- `list_loan_offers` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/list-loan-offers.md
- `list_open_bets` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/list-open-bets.md
- `my_bets` — Read — https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol/my-bets.md
- …and 13 more: https://policylayer.com/tools/io-github-bbrainfrance-midas-protocol.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=io-github-bbrainfrance-midas-protocol · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-bbrainfrance-midas-protocol
