Skip to main content
Glama

open_workbook

Open an existing Excel (.xlsx) file from disk by file path to read, inspect, or edit its worksheets, formulas, and data.

Instructions

Open an existing Excel file (.xlsx) from disk

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": {
      "filePath": "<filePath>"
    },
    "name": "open_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesThe full path to the Excel file to open

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden, yet says nothing about the state it creates. It doesn't say whether opening holds a file handle or lock, whether close_workbook is required afterward, whether multiple workbooks can be open at once, or what happens on a missing/invalid file.

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?

One short sentence, front-loaded with the verb and resource, and zero filler. Nothing could be removed without losing meaning; the brevity is the only weakness and is better attributed to completeness than to structure.

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

Completeness2/5

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

This is a stateful, session-initiating operation with no annotations and no output schema, so the description must explain lifecycle and return behavior. It omits whether a handle/id is returned, how it relates to close_workbook, and its failure modes, leaving the agent to guess at a fairly consequential step.

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?

The single filePath parameter is already fully described in the schema (100% coverage), so the baseline is 3. The description adds a useful constraint the schema lacks: the file must be an existing .xlsx on disk, which narrows acceptable path values.

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?

Names a specific verb (open) and resource (an existing Excel .xlsx file) and adds the scope qualifier 'from disk'. The word 'existing' implicitly separates it from create_workbook, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance: it does not say that a workbook must be opened before read_cell/write_cell, nor when to prefer list_workbooks first, nor what to do if the file is already open. Only the word 'existing' hints at a precondition (the file must already be on disk).

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