Skip to main content
Glama

embed_document

Prepare documents for Bitcoin blockchain storage by encoding content and metadata for OP_RETURN transactions, enabling on-chain data preservation up to 100KB.

Instructions

Prepare a document for on-chain storage.

    Args:
        content: Document content
        content_type: MIME type of the content (default: 'text/plain')
        encoding: Content encoding ('utf-8' or 'hex')

    Returns:
        Dictionary with prepared document data for embedding.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
content_typeNotext/plain
encodingNoutf-8

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EricGrill/mcp-bitcoin-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server