# get_current_block_height

Get the current blockchain height

Agent View of the PolicyLayer registry record for `get_current_block_height`. HTML page: https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/get-current-block-height

## Facts

- Tool: `get_current_block_height`
- Server: Stacks AI MCP Server (`stack-ai-mcp/stacks-mcp-server`) — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server.md
- Homepage: https://github.com/Stack-AI-MCP/stacks-mcp-server
- Risk category: Read (Low risk)
- Registry record: grade F, 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_current_block_height",
    "arguments": {}
  }
}
```

## Why get_current_block_height is rated Low

This tool retrieves blockchain state information (current block height) which is a fundamental read-only query operation. It has no capability to modify data, execute transactions, delete information, or commit financial obligations. The blast radius of misuse is minimal since the operation cannot harm the blockchain or user assets.

From the tool's own definition: "Tool name is 'get_current_block_height' and description states it will 'Get the current blockchain height' — a query operation that retrieves state data without modification or side effects."

## Use case

AI agents call get_current_block_height to retrieve information from Stacks AI MCP Server 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 Stacks AI MCP Server:

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

## Other tools on Stacks AI MCP Server (199)

- `arkadiko_burn_usda` — Destructive — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-burn-usda.md
- `bitflow_cancel_group_order` — Destructive — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/bitflow-cancel-group-order.md
- `bitflow_cancel_keeper_order` — Destructive — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/bitflow-cancel-keeper-order.md
- `charisma_cancel_order` — Destructive — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/charisma-cancel-order.md
- `charisma_revoke_api_key` — Destructive — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/charisma-revoke-api-key.md
- `alex_execute_swap_3hop` — Execute — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/alex-execute-swap-3hop.md
- `arkadiko_create_proposal` — Execute — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-create-proposal.md
- `broadcast_transaction` — Execute — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/broadcast-transaction.md
- `charisma_execute_intent` — Execute — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/charisma-execute-intent.md
- `charisma_execute_order` — Execute — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/charisma-execute-order.md
- `alex_execute_swap` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/alex-execute-swap.md
- `alex_execute_swap_2hop` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/alex-execute-swap-2hop.md
- `alex_execute_swap_4hop` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/alex-execute-swap-4hop.md
- `arkadiko_add_liquidity` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-add-liquidity.md
- `arkadiko_claim_staking_rewards` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-claim-staking-rewards.md
- `arkadiko_close_vault` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-close-vault.md
- `arkadiko_complete_cdp_workflow` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-complete-cdp-workflow.md
- `arkadiko_complete_governance_workflow` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-complete-governance-workflow.md
- `arkadiko_create_vault` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-create-vault.md
- `arkadiko_stake_diko` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-stake-diko.md
- `arkadiko_swap_tokens` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/arkadiko-swap-tokens.md
- `bitflow_create_group_order` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/bitflow-create-group-order.md
- `bitflow_create_keeper_order` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/bitflow-create-keeper-order.md
- `bitflow_execute_btc_to_sbtc_keeper_order` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/bitflow-execute-btc-to-sbtc-keeper-order.md
- `bitflow_execute_token_swap_with_keeper` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/bitflow-execute-token-swap-with-keeper.md
- `bitflow_setup_dca_orders` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/bitflow-setup-dca-orders.md
- `charisma_complete_swap_workflow` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/charisma-complete-swap-workflow.md
- `charisma_create_order` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/charisma-create-order.md
- `charisma_execute_multihop_swap` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/charisma-execute-multihop-swap.md
- `granite_add_collateral` — Financial — https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server/granite-add-collateral.md
- …and 169 more: https://policylayer.com/tools/stack-ai-mcp-stacks-mcp-server.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=stack-ai-mcp-stacks-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/stack-ai-mcp-stacks-mcp-server
