Skip to main content
Glama
WilliamSmithEdward

xlide-excel-word-powerpoint-access-office-vba-mcp

Read a module from the editor

xlide_live_read_module
Read-onlyIdempotent

Read a module's current text as the editor holds it, including unsaved edits, to see exactly what the user is working on instead of the saved file.

Instructions

Reads a module's text as the running editor holds it, including edits the user has not saved. This is the one read that can differ from xlide_read_module, and the difference is exactly the user's unsaved work. Use it to see what they are actually working on; use xlide_read_module for what is in the file. surface_only=true reads the modern editor's own copy instead, which exists only for a module the user has open in a tab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNoWhich session, by process id.
projectNoWhich project, when two documents are open and both hold a module of this name.
module_nameYesModule name as the editor shows it.
surface_onlyNoRead the modern editor's own copy, which only exists for an open tab. Off reads the module through the editor, which always answers.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish readOnly, idempotent, and non-destructive behavior. The description adds meaningful behavioral context beyond those annotations: it reads unsaved editor state, can differ from the file-based read, and surface_only only works for modules open in a tab. This is exactly the kind of non-obvious behavior an agent needs to know.

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 sentences with no wasted words. The most important behavioral fact (unsaved edits) is front-loaded, the sibling distinction comes second, and the parameter nuance is placed last. Every sentence earns its place.

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

Completeness5/5

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

Given the output schema exists and annotations cover safety, the description provides the remaining context an agent needs: when the result differs from xlide_read_module, when to choose this tool, and the caveat about surface_only. This is complete for an agent to invoke it correctly.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds value by clarifying the conceptual difference between reading through the editor and reading the modern editor's own copy, especially tying surface_only to open-tab availability. It does not deeply elaborate on pid/project, but the schema already documents those adequately.

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 states a precise verb and resource: 'Reads a module's text as the running editor holds it'. It also immediately differentiates this tool from xlide_read_module by identifying the exact difference (unsaved edits), so an agent can select it correctly without needing to inspect sibling schemas.

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?

Usage guidance is explicit: use this tool to see what the user is actually working on, and use xlide_read_module for what is in the file. The description also explains the surface_only parameter's conditional availability, telling the agent when it can and cannot be used.

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