{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.quadratichq.com",
    "site": "quadratichq.com",
    "addresses": [
      {
        "address": "99.83.210.183",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "166.117.12.83",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "99.83.210.183",
          "166.117.12.83"
        ],
        "first_seen": "2026-11-22T20:51:01.773Z",
        "last_seen": "2026-11-22T20:51:01.773Z",
        "checks": 1
      },
      {
        "addresses": [
          "166.117.12.83",
          "99.83.210.183"
        ],
        "first_seen": "2026-11-21T16:49:03.184Z",
        "last_seen": "2026-11-21T16:49:03.184Z",
        "checks": 1
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "rmcp",
      "version": "2.2.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {},
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.quadratichq",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/quadratichq/quadratic-mcp-plugin",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "36173",
    "server_name": "io.github.quadratichq/quadratic-mcp",
    "url": "https://mcp.quadratichq.com/mcp",
    "host": "mcp.quadratichq.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T20:51:01.773Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "27b19092ca3fca7220a3e2ab045c441f15a5527fd1f73317cd17ca6282c142bd",
    "first_listed_at": "2026-11-21T16:49:03.184Z",
    "created_at": "2026-11-21T11:20:16.291Z",
    "resolved_addresses": [
      "99.83.210.183",
      "166.117.12.83"
    ]
  },
  "server": {
    "name": "io.github.quadratichq/quadratic-mcp",
    "title": "Quadratic",
    "description": "AI access to Quadratic spreadsheets: open files, run Python/SQL, query connected databases.",
    "version": "0.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/quadratichq/quadratic-mcp-plugin",
    "website_url": "https://www.quadratichq.com",
    "published_at": "2026-06-18T21:23:48.031Z",
    "updated_at": "2026-06-18T21:23:48.031Z",
    "first_seen": "2026-11-21T11:20:16.139Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:48:06.079Z"
  },
  "operator": {
    "key": "quadratichq.com",
    "name": "quadratichq.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 489,
    "first_check_in_window": "2026-11-21T16:49:03.184Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "27b19092ca3fca7220a3e2ab045c441f15a5527fd1f73317cd17ca6282c142bd",
    "tools": 9,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T16:49:03.713Z",
    "tool_names": [
      "auth",
      "doc_read",
      "doc_write",
      "files_read",
      "files_write",
      "read_data",
      "slide_read",
      "slide_write",
      "write_data"
    ],
    "declared": {
      "tools": [
        {
          "name": "auth",
          "description": "Authenticate the MCP session with Quadratic.\n\nActions:\n• login() — Start an OAuth device authorization flow. Returns a URL the user must open in a browser to authorize. The flow is completed by confirm_login.\n• confirm_login(device_code) — Complete an in-progress login by polling for user authorization. If the response indicates the user has not yet authorized, this action can be called again with the same device_code to continue polling. confirm_login is idempotent: if a later tool call reports \"Not authenticated on this connection\", call confirm_login again with the same device_code to re-establish auth (some clients use a new session per request, so the session that ran the tool may differ from the one that logged in).\n• set_token(token, email?) — Set a JWT directly (used when the OAuth device flow is not available).\n• logout() — Clear saved authentication for the current session.\n",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: login, confirm_login, set_token, or logout"
              },
              "params": {
                "description": "Parameters for the action (see tool description)"
              }
            }
          },
          "annotations": {
            "title": "Authenticate with Quadratic",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "doc_read",
          "description": "Read-only queries on the open document (a file whose kind is DOC). No data is modified. Safe to auto-approve. Open the document first with files_write(open_file). Call as {\"action\": \"<name>\", \"params\": {...}}.\n\nBlocks are named by a path \"<section>.<block>\" (e.g. \"0.3\") and carry a hash; doc_write needs the hash to change or delete a block.\n\nActions:\n• doc_outline() — Headings with their paths and hashes, plus block count, word count and block types. Start here for long documents.\n• read_doc(format?, from?, limit?) — Blocks in order, each {path, hash, type, content}. format: \"markdown\" (default) or \"json\" (ProseMirror JSON). Paginate with from (default 0) and limit (default 200, max 1000); next_from is null on the last page.\n• search_doc(query, limit?, case_sensitive?, whole_word?, regex?) — Text matches, each with the block's path and hash and a snippet.\n• context() — The full guide to documents: block model, Markdown support, placeholders, batches.\n",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: read_doc, doc_outline, or search_doc"
              },
              "params": {
                "description": "Parameters for the action (see tool description)"
              }
            }
          },
          "annotations": {
            "title": "Read Document",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "doc_write",
          "description": "Edits to the open document (a file whose kind is DOC). Edits apply live for anyone viewing the document. Requires edit access. Call as {\"action\": \"<name>\", \"params\": {...}}.\n\nRead the document first (doc_read): paths shift as blocks are added or removed, and replace_blocks / delete_blocks must pass each block's hash from that read — if a block changed since, the edit is refused and nothing changes. Every edit returns the paths and hashes of the blocks it wrote, and saved: false if it hadn't been confirmed yet (it is still applied).\n\ncontent is Markdown by default (headings, emphasis, links, lists, quotes, code, tables, images, ---), or ProseMirror JSON with format: \"json\". Keep any <qd-node .../> placeholders from read_doc when writing content back; they stand for footnotes, comments and other content Markdown can't express.\n\nActions:\n• append(content, format?) — Add blocks at the end.\n• insert_blocks(position, path?, hash?, content, format?) — position: \"start\", \"end\", \"before\" or \"after\"; before/after need the anchor block's path.\n• replace_blocks(blocks, content, format?) — Replace consecutive blocks in one section; blocks: [{path, hash}, ...].\n• delete_blocks(blocks) — Delete consecutive blocks in one section; blocks: [{path, hash}, ...].\n• find_replace(find, replace, case_sensitive?, whole_word?, regex?) — Replace text throughout; replacements keep the formatting of the text they replace.\n• batch(operations) — Up to 100 edits as one all-or-nothing change: {\"operations\": [{\"action\": \"<name>\", \"params\": {...}}, ...]}. Paths in later operations refer to the document as earlier ones left it.\n",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: insert_blocks, replace_blocks, delete_blocks, find_replace, append, or batch"
              },
              "params": {
                "description": "Parameters for the action (see tool description). For batch: {operations: [{action, params}, ...]}"
              }
            }
          },
          "annotations": {
            "title": "Edit Document",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "files_read",
          "description": "Read-only file metadata operations on Quadratic files the user has access to. No data is modified. Requires authentication.\n\nFiles are spreadsheets (kind GRID, edited with read_data / write_data), documents (kind DOC, edited with doc_read / doc_write) or presentations (kind SLIDE, edited with slide_read / slide_write).\n\nActions:\n• list_files(kinds?) — List accessible files with their kind. kinds: [\"GRID\"], [\"DOC\"] or [\"SLIDE\"] limits the list to those kinds.\n• get_file_info(file_id) — Get metadata for a single file, including its kind and web URL.\n",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: list_files or get_file_info"
              },
              "params": {
                "description": "Parameters for the action (see tool description)"
              }
            }
          },
          "annotations": {
            "title": "Read Quadratic Files",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "files_write",
          "description": "File management operations that create or modify state: create a new file, open an existing file to start an editing session, or close a session. Requires authentication.\n\nActions:\n• open_file(file_id?, file_name?) — Open a spreadsheet, document or presentation by UUID or name and start an editing session. Returns the file's kind and web URL. Use read_data / write_data on a spreadsheet, doc_read / doc_write on a document and slide_read / slide_write on a presentation. The open is remembered for your user across MCP sessions (last open wins) — clients that use a new session per request do not need to re-open after auth(confirm_login).\n• create_file(file_name, team_uuid?, kind?) — Create a new blank spreadsheet (kind \"GRID\", the default), document (kind \"DOC\") or presentation (kind \"SLIDE\"). If team_uuid is omitted, the user's first team is used. Returns the new file's UUID and web URL; the file must be opened with open_file before it can be edited.\n• close_file(file_id) — Close an active editing session.\n",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: open_file, create_file, or close_file"
              },
              "params": {
                "description": "Parameters for the action (see tool description)"
              }
            }
          },
          "annotations": {
            "title": "Manage Quadratic Files",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "read_data",
          "description": "Read-only queries on the open spreadsheet. No data is modified. Safe to auto-approve. Call as {\"action\": \"<name>\", \"params\": {...}} — per-action params are listed in the Action Reference below.\n\nSpecial actions (not shown in the action enum):\n• batch — {\"action\": \"batch\", \"params\": {\"actions\": [{\"action\": \"<name>\", \"params\": {...}}, ...]}}. Runs reads in parallel; individual failures are reported per-entry without short-circuiting.\n• context — {\"action\": \"context\", \"params\": {\"topic\": \"<name>\"}} or {\"action\": \"context\", \"params\": {\"action\": \"<name>\"}}. Returns deeper docs for a topic or a single action's signature. Plural \"topics\" / \"actions\" arrays are also accepted and may be combined. Topics: python, javascript, formula, connection, validation, a1, quadratic, chart, pivot_table.\n\nAction Reference\n\n• get_cell_data(selection, page?, sheet_name?) — Returns cell values for a selection in A1 notation. Supports comma-separated ranges to fetch multiple areas in ONE call, including across different sheets. Examples: \"A1:B10, D1:E10\", \"TableName, OtherTable\", \"'Sheet1'!A1:B10, 'Sheet2'!C1:D10\". Table names are globally unique so they work without sheet prefixes. For cell ranges on other sheets use 'SheetName'!Range. Only use when you need the full dataset (aggregations, lookups, analysis). The file summary already includes sample rows. Results may be paginated — use page (0-based) for additional pages.\n• has_cell_data(selection, sheet_name?) — Check if any cells in a selection have data. Returns true if ANY cell contains data. Use before creating/moving tables or code to avoid spill errors. All ranges MUST be on the same sheet.\n• get_code_cell_value(code_cell_position?, code_cell_name?, sheet_name?) — Get full code from an existing Python, JavaScript, or connection code cell. Do NOT use for formula cells — formulas are already in get_cell_data results and the file summary.\n• get_text_formats(selection, page?, sheet_name?) — Get text formatting info. Use table column references for tables (\"Table_Name[Column Name]\"). Results may be paginated.\n• get_validations(sheet_name?) — Get all validations in a sheet.\n• get_conditional_formats(sheet_name) — Get all conditional formatting rules. Use to check existing rules before creating/updating/deleting.\n• text_search(query, case_sensitive?, whole_cell?, search_code?, regex?, sheet_name?) — Search for text in cell outputs. Supports regex when enabled (e.g., \"\\d+\", \"^hello\", \"foo|bar\"). Searches cell outputs only, not code. Booleans default false.\n• get_sheet_info() — List all sheets and names.\n• get_spreadsheet_context(sheet_name?, include_errors?) — Full context snapshot of the file.\n• read_data(selection, sheet_name?, max_rows?) — Read cell data as compact CSV. Auto-tiers: returns all rows for small/medium data (<5000 rows), head+tail preview for large data. Preferred over get_cell_data for most reads.\n• outline(sheet_name?) — Structural map of the file: sheets, bounds, tables, code cells, charts, connections, errors. Use to understand file layout before reading data.\n• dependencies(position, sheet_name?, direction?) — Trace cell dependencies. direction: \"forward\" (what this cell reads), \"reverse\" (what depends on this cell), or \"both\" (default).\n• export_pdf(options?) — Export the file as a PDF with Excel-parity print semantics. Returns {mime_type, size_bytes, data_base64}. options is a camelCase object: {sheetIds?: [id], fileName?, pageSetup?: {paperSize (\"letter\"|\"legal\"|\"tabloid\"|\"a3\"|\"a4\"|\"a5\"|...), orientation (\"portrait\"|\"landscape\"), margins {left,right,top,bottom,header,footer} (inches), scaling ({type:\"zoom\",percent} or {type:\"fitTo\",width?,height?}), pageOrder (\"downThenOver\"|\"overThenDown\"), centerHorizontally?, centerVertically?, printGridlines?, printHeadings?, header/footer {odd:{left,center,right}, even?, first?} with Excel codes (&P page, &N total, &D date, &T time, &F file, &A sheet, &B bold)}, sheetOptions?: {\"<sheetId>\": {pageSetup?, printArea? (\"A1:F20\"), repeatRows? ([1",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: get_cell_data, has_cell_data, get_code_cell_value, get_text_formats, get_validations, get_conditional_formats, text_search, get_sheet_info, get_spreadsheet_context, read_data, outline, dependencies, export_pdf, get_database_schemas, list_connections, list_agent_connections, inspect_agent_connection, or batch"
              },
              "params": {
                "description": "Parameters for the action (see tool description). For batch: {actions: [{action, params}, ...]}"
              }
            }
          },
          "annotations": {
            "title": "Read Spreadsheet Data",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "slide_read",
          "description": "Read-only queries on the open presentation (a file whose kind is SLIDE). No data is modified. Safe to auto-approve. Open the presentation first with files_write(open_file). Call as {\"action\": \"<name>\", \"params\": {...}}.\n\nSlides and shapes have stable ids; slide_write addresses edits by them. Shape positions and sizes (xfrm: x, y, cx, cy, rot) are in EMU (914400 per inch, 12700 per point) unless units is \"in\" or \"pt\".\n\nActions:\n• deck_outline() — Every slide's id, index, layout, title, shape count, whether it has notes and open comments, plus slide size, footer, comment count and available layouts. Start here.\n• read_deck(format?, units?, from?, limit?, slide_ids?) — Slides with their shapes (type sp / pic / cxnSp / tbl, xfrm, placeholder, geometry, text, fill, line, table style/column widths/row heights/cells), notes and comments, plus the theme (colors and fonts) and footer. format: \"markdown\" (default) or \"json\" (ProseMirror JSON). Paginate with from (default 0) and limit (default 50, max 500), or pass slide_ids; next_from is null on the last page.\n• search_deck(query, limit?, case_sensitive?, whole_word?, regex?) — Text matches across shapes, table cells and notes, each with slide id, shape id and a snippet.\n• read_comments(slide_id?, include_resolved?) — Comment threads (author, text, replies, resolved, anchor shape) for the deck or one slide.\n• context() — The full guide to presentations: slides, shapes, units, layouts, Markdown text, batches.\n",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: read_deck, deck_outline, search_deck, or read_comments"
              },
              "params": {
                "description": "Parameters for the action (see tool description)"
              }
            }
          },
          "annotations": {
            "title": "Read Presentation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "slide_write",
          "description": "Edits to the open presentation (a file whose kind is SLIDE). Edits apply live for anyone viewing the presentation. Requires edit access. Call as {\"action\": \"<name>\", \"params\": {...}}.\n\nRead the presentation first (slide_read deck_outline or read_deck) to get slide and shape ids. Every edit returns what it wrote (new ids, placeholder shapes, z-order) and saved: false if it hadn't been confirmed yet (it is still applied).\n\nText content is Markdown by default (paragraphs, - bullets with two-space nesting, 1. numbering, **bold**, *italic*, ~~strike~~, <u>, <sup>, <sub>, links), or ProseMirror JSON with format: \"json\". Lengths are EMU unless units is \"in\" or \"pt\". Layouts: title, obj (Title and Content, the default), secHead, twoObj, twoTxTwoObj, titleOnly, blank, objTx, picTx — names or labels.\n\nActions:\n• add_slide(layout?, after_slide_id?, index?, title?, body?, notes?, format?) — Add a slide and fill its title/body placeholders. Returns the slide id and its shapes.\n• delete_slides(slide_ids) / duplicate_slides(slide_ids) / move_slide(slide_id, index).\n• update_slide(slide_id, layout?, background?, transition?, hidden?, notes?, format?) — null clears background or transition; a new layout keeps placeholder text. reset_slide(slide_id) — Put placeholders back where the layout has them (PowerPoint's Reset).\n• set_text(slide_id, shape_id? | placeholder?, cell?, content, format?) — Replace a shape's text; placeholder is \"title\", \"subtitle\" or \"body\"; cell: {row, col} for a table.\n• format_text(slide_id, shape_id? | placeholder?, cell?, paragraphs?, match?, case_sensitive?, whole_word?, regex?, style) — Format text in place without retyping it. style: {bold?, italic?, underline?, strike?, superscript?, subscript?, font_family?, font_size_pt?, color?, highlight?, caps: \"all\" | \"small\"?, letter_spacing_pt?, link?, align: \"left\" | \"center\" | \"right\" | \"justify\"?, line_height?, space_before_pt?, space_after_pt?, indent_pt?, list: \"none\" | \"bullet\" | \"number\"?}; null clears a property. Scope with paragraphs (zero-based indices as read_deck lists them) and/or match (only the matching text; paragraph properties apply to paragraphs containing a match). Omit cell on a table to format every cell.\n• add_shape(slide_id, shape, geometry?, xfrm?, units?, name?, text?, format?, fill?, line?, body_pr?, src?, rows?, cols?, cells?) — shape: \"text_box\", \"shape\" (with geometry e.g. rect, ellipse, rightArrow), \"connector\", \"picture\" (src data/https URL) or \"table\" (rows/cols or cells text). Omit xfrm for a centered default size.\n• update_shape(slide_id, shape_id, xfrm?, units?, name?, geometry?, fill?, line?, body_pr?, hidden?, descr?, src?, crop?) — xfrm may be partial; null removes fill, line, descr or crop. src and crop ({l?, t?, r?, b?} fractions of each edge) are for pictures.\n• delete_shapes(slide_id, shape_ids) / duplicate_shapes(slide_id, shape_ids) / reorder_shapes(slide_id, shape_ids, move: \"front\" | \"back\" | \"forward\" | \"backward\").\n• align_shapes(slide_id, shape_ids, alignment: \"left\" | \"center\" | \"right\" | \"top\" | \"middle\" | \"bottom\") — One shape aligns to the slide, several to each other. distribute_shapes(slide_id, shape_ids, axis: \"horizontal\" | \"vertical\") — Space three or more shapes evenly.\n• group_shapes(slide_id, shape_ids) — Group two or more shapes; they then share a group_id. ungroup_shapes(slide_id, shape_ids) — Dissolve the groups those shapes belong to.\n• edit_table(slide_id, shape_id, op: \"insert_row\" | \"delete_row\" | \"insert_column\" | \"delete_column\", at).\n• format_table(slide_id, shape_id, style?, first_row?, band_row?, col_widths?, row_heights?, units?, cells?, cell_fill?, cell_anchor?) — Table style (mediumStyle2Accent1, lightStyle1, themedStyle1Accent1, noStyle), header row and banding, one width per column / one height per row (the table resizes to fit), and fill or text anchor (t|ctr|b) for the given cells (default all). merge_cells(slide_id, shape_id, from, to) / split_cell(slide_id, shape_id, cell) — Merge the rectangl",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: add_slide, delete_slides, move_slide, duplicate_slides, update_slide, reset_slide, set_text, format_text, add_shape, update_shape, delete_shapes, duplicate_shapes, reorder_shapes, align_shapes, distribute_shapes, group_shapes, ungroup_shapes, edit_table, format_table, merge_cells, split_cell, find_replace, update_presentation, add_comment, reply_to_comment, update_comment, delete_comments, or batch"
              },
              "params": {
                "description": "Parameters for the action (see tool description). For batch: {operations: [{action, params}, ...]}"
              }
            }
          },
          "annotations": {
            "title": "Edit Presentation",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "write_data",
          "description": "Write operations on the open spreadsheet. Call as {\"action\": \"<name>\", \"params\": {...}} — per-action params are listed in the Action Reference below. Numbers, booleans, and nulls in cell values are coerced to strings.\n\nSpecial actions (not shown in the action enum):\n• batch — {\"action\": \"batch\", \"params\": {\"actions\": [{\"action\": \"<name>\", \"params\": {...}}, ...]}}. Runs writes sequentially; errors short-circuit the batch.\n• context — {\"action\": \"context\", \"params\": {\"topic\": \"<name>\"}} or {\"action\": \"context\", \"params\": {\"action\": \"<name>\"}}. Returns deeper docs for a topic or a single action's signature. Plural \"topics\" / \"actions\" arrays are also accepted and may be combined. Topics: python, javascript, formula, connection, validation, a1, quadratic, chart, pivot_table.\n\nAction Reference\n\nCell Data:\n• set_cell_values(top_left_position, cell_values, sheet_name?) — Sets cell values as a 2D string array (first row = headers). top_left_position: single cell in A1 notation. Don't place over existing data unless requested. Values replace existing content; use empty string to clear. For merged cells, place at the anchor (top-left) cell. Prefer this over add_data_table for tabular data; only use add_data_table when the user explicitly asks for a data table or the file already uses data tables. When writing tabular data as plain cells, format the header row afterward with set_text_formats (at least bold) so it's visually distinct — plain cells don't auto-style headers like data tables do. Don't use for formulas or code.\n• delete_cells(selection, sheet_name?) — Delete cell values in a selection (A1 notation). Don't delete cells referenced by code cells unless explicitly asked. To delete table columns: \"TableName[Column Name]\". To delete tables: \"TableName\".\n• move_cells(source_selection_rect, target_top_left_position, sheet_name?) — Move a rectangular block of cells. Target is the top-left corner (single cell). For spilled code cells, move just the anchor cell.\n• add_data_table(top_left_position, table_name, table_data, sheet_name?) — Adds a data table. Data tables are discouraged by default — only use when the user specifically requests a data table or the file already uses data tables; otherwise use set_cell_values. First row of table_data is headers. Leave 2 rows below and 2 columns right as spacing. All rows must have equal length (use empty strings for missing values). To convert existing data, use convert_to_table instead. To delete a table, use set_cell_values with empty string at the anchor. A single-value formula or code cell MAY be written into a data cell of an editable (imported/value) table — it's stored as in-place single-cell code computing a 1x1 result; avoid the table's name/column-header rows and read-only code-output tables/charts, and don't put multi-cell output (dataframes/charts) inside a table.\n\nCode:\n• set_code_cell_value(code_cell_position, code_cell_language, code_cell_name, code_string, sheet_name?) — Sets and runs a Python or JavaScript code cell. Prefer set_formula_cell_value whenever a formula can do the task; only use code when the functionality is not available in formulas (e.g. charts, ML, correlations, complex data transforms, or web/API requests). For static data use set_cell_values. For SQL use set_sql_code_cell_value. IMPORTANT: Always reference sheet data with q.cells() — never hardcode data values. For charts, use Plotly ONLY (import plotly.express or plotly.graph_objects). Do NOT use Matplotlib/Seaborn. Name the output (no spaces/special chars, _ allowed). Placement: Estimate output size before placing. Charts default to 7 wide x 23 tall cells. Cell must be empty (avoids spill error). Leave one extra column/row gap between the code cell and nearest content. Empty sheet → A1.\n• set_formula_cell_value(formulas) — formulas: [{code_cell_position, formula_string, sheet_name?}]. Prefer this whenever a formula can do the task; only use set_code_cell_value when formulas can't. For basic historical stock ",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Action to perform: set_cell_values, delete_cells, move_cells, add_data_table, set_code_cell_value, set_formula_cell_value, rerun_code, set_text_formats, set_borders, merge_cells, unmerge_cells, add_sheet, duplicate_sheet, rename_sheet, delete_sheet, move_sheet, color_sheets, set_frozen_panes, convert_to_table, table_meta, table_column_settings, resize_columns, resize_rows, set_default_column_width, set_default_row_height, insert_columns, insert_rows, delete_columns, delete_rows, add_logical_validation, add_list_validation, remove_validation, update_conditional_formats, add_chart, update_chart, delete_chart, set_pivot_table, set_sql_code_cell_value, import_file, undo, redo, or batch"
              },
              "params": {
                "description": "Parameters for the action (see tool description). For batch: {actions: [{action, params}, ...]}"
              }
            }
          },
          "annotations": {
            "title": "Write Spreadsheet Data",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "# Using the Quadratic tools\n\nThe file summary returned when a file is opened already includes sample rows for every table. Consult that summary before calling read tools; fetch full data only when the sample is insufficient for the task.\n\n## Efficiency\n- Consolidate reads: pass comma-separated ranges to get_cell_data rather than making multiple calls.\n- Issue independent tool calls in parallel; only sequence them when one result feeds the next.\n- read_data supports action \"batch\" to run multiple reads in parallel; write_data supports action \"batch\" to run multiple writes sequentially. Batches inherit the parent tool's permission hint.\n\n## Code cells\nCode cells are not global — variables and imports declared in one cell are not visible in another. Use print() (Python) or console.log() (JavaScript) to inspect intermediate values. Formatting is applied with the formatting tools, not from code.\n\n## Formulas vs. code\nFormulas are included in the file-summary sample data. To read formulas beyond the sample, use get_cell_data. To write a formula, use set_formula_cell_value. get_code_cell_value is only for Python, JavaScript, and connection code — it does not return formula cell contents.\n\n## Placement\nWriting cells, tables, or code over an existing range produces a spill error. When a write reports a spill, use move_cells to relocate the new content with at least one empty cell between it and the existing range.\n\n# Quadratic Docs\n\nQuadratic is a modern AI-enabled spreadsheet combining formulas with Python, SQL, and JavaScript.\n\n## File and Data Support\n\nImport: Drag and drop csv, excel, or parquet files into the sheet or import via file menu. SQL connects to databases.\n\nExport: File > Export (or the \"Export\" button in the top bar) > choose Excel (.xlsx), CSV, PDF, Parquet, or Quadratic (.grid). There is no \"Download\" item in the File menu — always say \"Export\". To export only a selection: highlight the cells > right-click > \"Download as CSV\". Export is available on the Pro and Business plans.\n\nPDFs and images: Attach via AI chat paperclip button, paste, or drag into chat.\n\n## Code in Quadratic\n\nInsert code via AI or press `/` in a cell. Double-click or press `/` to edit existing code cells.\n\nCode cells are not global - variables and imports must be defined in each cell. Output data can be referenced by other cells.\n\nFormatting is done via AI or toolbar, not code.\n\nIMPORTANT: Prefer Formulas over Python and JavaScript. Only use Python or JavaScript when the functionality is not available in Formulas (e.g. charts, machine learning, complex data transforms, or web/API requests).\n\n## Tables in Quadratic\n\nPrefer plain cell values over data tables. Only create a data table when the user explicitly asks for one, or when working within a file that already uses data tables.\n\nWhen you lay out tabular data as plain cells, you MUST style the header row so it reads as a header — plain cells don't auto-style headers the way data tables do. Writing the values and styling the header are a single paired operation: in the SAME response/tool batch as the set_cell_values call, also call set_text_formats on the header row — always make it bold, and also apply a fill color and a bottom border so the header is clearly distinct from the data below. NEVER defer header formatting to a later step or wait to be prompted to continue; treat it as part of creating the table, not an optional finishing touch. Do this every time you write a plain-cell table.\n\nEditable tables (imported tables and value-based tables you can type into) DO support single-cell Formulas and Code (Python/JavaScript) directly inside their data cells. Such a cell is stored as a single-cell code cell that computes a 1x1 result shown in place — it does not create a separate table and has no table name or column header of its own. It recomputes when its dependencies change, can be referenced by other cells, and travels with its row when the table is sorted.\n\nCode-output tables (the table produce"
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}