Skip to content
Siglata Docs
English
Esc
navigateopen⌘Jpreview
On this page

Grok Bot Integration

Connect xAI Grok and Grok Bots to Siglata for spreadsheet reasoning and real-time file updates.

xAI’s Grok model can be augmented with Siglata’s agent tools via the Model Context Protocol (MCP) or xAI Function Calling.

Setting Up with Grok API

When configuring tools in the xAI API:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["XAI_API_KEY"],
    base_url="https://api.x.ai/v1",
)

tools = [
    {
        "type": "function",
        "function": {
            "name": "siglata_search",
            "description": "Search spreadsheets and organization documents in Siglata",
            "parameters": {
                "type": "object",
                "properties": {
                    "query": {"type": "string", "description": "Search keyword or filename"}
                },
                "required": ["query"]
            }
        }
    }
]

Connecting via MCP

For environments supporting streamable HTTP MCP:

  • Server URL: https://www.siglata.com/v1/mcp
  • Transport: streamable-http
  • Authorization: Bearer YOUR_SIGLATA_TOKEN

Grok Capabilities in Siglata

  • Live Market Data Extraction: Use Grok’s real-time web retrieval to fetch current market metrics and populate Siglata reactive spreadsheet cells.
  • Complex Formula Synthesis: Let Grok generate complex cross-sheet calculation formulas with syntax validation.
  • Batch Data Verification: Validate thousands of rows against deterministic business logic.

Was this page helpful?