Skip to main content
Glama
Alex-eng-ux

Office MCP Server

by Alex-eng-ux

Add Table Slide to PowerPoint

office_ppt_add_table
Destructive

Add a formatted table to a new PowerPoint slide. Specify headers, rows, and optional styling like font size, border color, and column widths.

Instructions

Create a new PowerPoint (.pptx) with one slide containing a formatted table.

Args:

  • filePath (string): Path where the presentation will be created

  • table (object): Table configuration

    • headers (string[]): Column headers

    • rows (string[][]): Data rows

    • options (object, optional):

      • fontSize (number): Font size

      • fontFace (string): Font name

      • borderColor (string): Border color (hex)

      • colW (number[]): Column widths (inches)

Examples:

  • Use when: "Create a slide with a sales data table"

  • Use when: "Make a comparison table slide"

  • Use when: "Generate a KPI dashboard table slide"

  • Not for: Simple text slides (use office_create_powerpoint instead)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesPath for the new PowerPoint file
tableYes
Behavior4/5

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

Annotations indicate destructive write operation, and description confirms creating a new file. Add context that it creates exactly one slide with a table, no contradiction, but could mention overwrite behavior explicitly.

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?

Concise two-line summary followed by well-organized Args list and examples, front-loaded and no waste.

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?

Covers purpose, usage, and parameters well, but lacks description of return value/output. Since no output schema exists, description could add what the tool returns (e.g., file path or success status).

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?

Description documents filePath, table headers, rows, and a subset of options (fontSize, fontFace, borderColor, colW) but omits x, y, w, borderSize, rowH from the schema, giving partial coverage.

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

Purpose5/5

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

The description clearly states it creates a new PowerPoint file with a single slide containing a formatted table, using specific verb 'Create' and resource 'PowerPoint .pptx', distinguishing it from sibling tools like office_ppt_add_chart.

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

Usage Guidelines5/5

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

Provides explicit 'Use when' examples and a 'Not for' case with an alternative tool (office_create_powerpoint), giving clear guidance on when to use this tool vs alternatives.

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

Install Server

Other Tools

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/Alex-eng-ux/office-mcp-server'

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