Skip to main content
Glama

API Keg — Sheet SQL & Multi-Tab XLSX Engine

Build Styled Multi-Sheet XLSX Workbook

build_xlsx_workbook
Read-onlyIdempotent

Compiles 1–20 structured JSON datasets into a genuine Office Open XML (.xlsx) workbook with bold shaded headers, frozen top rows, auto-sized columns, numeric formatting, formula-injection protection, and live Excel summary formulas (SUM, AVERAGE, MIN, MAX, COUNT). Pricing: $0.003 USD per multi-sheet .xlsx workbook generation (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sheets": "<sheets>"
    },
    "name": "build_xlsx_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetsYes1 to 20 worksheets to compile into the multi-tab .xlsx archive.
fileNameNoOutput .xlsx filename metadata (automatically suffixed with .xlsx if omitted).workbook.xlsx

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover safety (readOnlyHint, destructiveHint=false, idempotentHint), and the description adds real context beyond them: per-workbook pricing, a free schema-validation path, and formula-injection protection behavior tied to allowCellFormulas. Minor gap: it does not say how the workbook is delivered (inline base64, URL, or file path).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with the capability and output traits, followed by cost and validation. Every clause carries information; nothing is redundant with the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully describes what the produced workbook contains (header styling, frozen panes, formulas, sheet limits), which compensates well. The main omission is the return payload/delivery mechanism and whether anything is written outside the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema documents sheets, rows, columns, headers, freezeHeader, summaryRowFormulas and the rest already. The description adds only the '1–20 datasets' bound and a high-level feature list that maps loosely to parameters; no new syntax or format meaning is introduced.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Compiles') and resource ('structured JSON datasets into a genuine Office Open XML (.xlsx) workbook') plus the concrete output features (bold shaded headers, frozen rows, auto-sized columns, summary formulas). It never names or contrasts with the sibling query_tabular_data, so differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It supplies cost and validation guidance ('$0.003 USD per multi-sheet .xlsx workbook', 'Pass ?dry_run=true on REST to validate schema free'), which usefully frames a paid generation step. However, there is no explicit statement of when to build a workbook versus query_tabular_data, and no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources