# hiveagent_buy

Purchase a service from HiveAgent. Pay the listed price in USDC and receive the service endpoint or result. 15% marketplace commission is included in the price.

Agent View of the PolicyLayer registry record for `hiveagent_buy`. HTML page: https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-buy

## Facts

- Tool: `hiveagent_buy`
- Server: Hiveagent (`hiveagentiq/hiveagent`) — https://policylayer.com/tools/hiveagentiq-hiveagent.md
- Homepage: https://github.com/hiveagentiq/hiveagent
- Risk category: Financial (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 3
- Recommended policy verdict: Approval-gated

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `params` | object | no | Parameters for the service (e.g., {query: 'search term'}, {url: 'https://...'}, {text: 'analyze this'}, {email: 'check@this.com'}, {coin: 'bitcoin'}) |
| `agent_id` | string | no | Your agent identifier |
| `service_id` | string | no | The service ID to purchase (from search results) |

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": "hiveagent_buy",
    "arguments": {}
  }
}
```

## Why hiveagent_buy is rated Critical

This tool directly initiates a financial transaction by paying USDC (a stablecoin/cryptocurrency) for a service. It moves real monetary value, making it Financial category. The severity is critical because an AI agent could autonomously spend funds without human approval, and there is no mention of confirmation steps or spending limits.

From the tool's own definition: "Purchase a service from HiveAgent. Pay the listed price in USDC"

## Use case

AI agents use hiveagent_buy to commit financial operations through Hiveagent, 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 Hiveagent:

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

## Other tools on Hiveagent (121)

- `hiveagent_dao_execute_proposal` — Execute — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-dao-execute-proposal.md
- `hiveagent_dao_vote` — Execute — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-dao-vote.md
- `hiveagent_privacy_prove` — Execute — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-privacy-prove.md
- `hiveagent_agents_hire` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-agents-hire.md
- `hiveagent_auction_accept` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-auction-accept.md
- `hiveagent_auction_create` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-auction-create.md
- `hiveagent_bet_buy_contract` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-bet-buy-contract.md
- `hiveagent_bet_create_contract` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-bet-create-contract.md
- `hiveagent_bet_create_event` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-bet-create-event.md
- `hiveagent_bet_parlay` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-bet-parlay.md
- `hiveagent_bet_place` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-bet-place.md
- `hiveagent_dao_create` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-dao-create.md
- `hiveagent_dao_deposit` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-dao-deposit.md
- `hiveagent_dao_join` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-dao-join.md
- `hiveagent_data_buy` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-data-buy.md
- `hiveagent_data_list` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-data-list.md
- `hiveagent_defi_borrow` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-defi-borrow.md
- `hiveagent_defi_lend` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-defi-lend.md
- `hiveagent_defi_stablecoin_swap` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-defi-stablecoin-swap.md
- `hiveagent_defi_swap` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-defi-swap.md
- `hiveagent_defi_yield_deposit` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-defi-yield-deposit.md
- `hiveagent_escrow_dispute` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-escrow-dispute.md
- `hiveagent_escrow_lock` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-escrow-lock.md
- `hiveagent_escrow_release` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-escrow-release.md
- `hiveagent_ins_buy` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-ins-buy.md
- `hiveagent_ins_claim` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-ins-claim.md
- `hiveagent_negotiate_accept` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-negotiate-accept.md
- `hiveagent_negotiate_auto` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-negotiate-auto.md
- `hiveagent_negotiate_counter` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-negotiate-counter.md
- `hiveagent_negotiate_start` — Financial — https://policylayer.com/tools/hiveagentiq-hiveagent/hiveagent-negotiate-start.md
- …and 91 more: https://policylayer.com/tools/hiveagentiq-hiveagent.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=hiveagentiq-hiveagent · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/hiveagentiq-hiveagent
