Skip to main content
Glama
WilliamSmithEdward

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

Live editor state

xlide_live_state
Read-onlyIdempotent

Check the active VBA editor session to see the current module, project, break mode, unsaved edits, caret location, and analyzer status before suggesting changes.

Instructions

What the running Visual Basic Editor is doing right now: the module and project on screen, whether the project is in break mode, whether there are unsaved edits, the procedure the caret is in, and whether the analyzer engine is answering. Use it when the user asks about what they are looking at, or before suggesting an edit to a module they may have unsaved changes in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNoWhich session, by process id. 0 uses the only one, or refuses.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context by detailing the live-state fields it reports, especially unsaved changes and break mode, which are not evident from annotations alone. No contradiction with annotations.

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?

Two sentences: the first front-loads the essential state contents, the second gives clear usage guidance. Every sentence earns its place and there is no filler or repetition of schema/annotation content.

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?

With a low-parameter count, complete schema coverage, rich annotations, and an output schema, the description supplies what remains necessary: when to use the tool and what state dimensions it covers. Nothing an agent needs to decide whether to invoke it is missing.

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 sole parameter pid is fully documented in the schema with its default and behavior ('0 uses the only one, or refuses'), so schema coverage is 100%. The description does not add parameter-level meaning, but the baseline of 3 applies because the schema carries the full burden.

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 defines the resource as the running Visual Basic Editor's live state and enumerates the exact contents: current module/project, break mode, unsaved edits, caret procedure, and analyzer status. This level of specificity distinguishes it from sibling tools like xlide_live_sessions, xlide_project_info, or xlide_read_module, which target different resources or scopes.

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

Usage Guidelines4/5

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

The description gives explicit use cases: when the user asks what they are looking at, or before suggesting an edit where unsaved changes may be relevant. It does not explicitly name alternatives or state when not to use this tool, but the context is clear enough that an agent can route to it correctly.

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