Skip to main content
Glama
WilliamSmithEdward

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

Read Access saved query

xlide_read_access_query
Read-onlyIdempotent

Read the SQL of a saved query in an Access database, including long SQL in offset slices, after catalog preview.

Instructions

Reads the SQL of one saved query in an Access database. Use it after xlide_access_catalog when a query's SQL was previewed. offset and max_chars read long SQL in character slices; next_offset points to the next slice. content_token describes the whole SQL, so compare it across pages if the database may have changed. Access files only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNoCharacters to skip.
file_pathYesAbsolute path to the Access database.
max_charsNoMost SQL characters to return.
query_nameYesSaved query name, matched without case.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description goes further by explaining the slicing behavior (offset/max_chars), the next_offset continuation pointer, and that content_token should be compared across pages to detect database changes.

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

Conciseness4/5

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

Four compact sentences, front-loaded with purpose and usage before the pagination details. No filler, though the content_token/pagination sentences are dense and slightly crammed together.

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 an output schema present, return values largely need no explanation, yet the description still covers the pagination contract (next_offset, content_token) that an agent needs to page correctly. Complete for a read tool; only the character-slice edge cases are left to the schema.

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 coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: it clarifies that offset/max_chars read SQL in character slices and that content_token describes the whole SQL rather than a page. It also documents next_offset, which the input schema does not contain.

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?

States a specific verb and resource ('Reads the SQL of one saved query in an Access database') and scopes it with 'Access files only', which separates it from the similarly named xlide_read_query / xlide_list_queries siblings. An agent can pick it out without opening any schema.

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?

Explicitly says to use it 'after xlide_access_catalog when a query's SQL was previewed', naming the preceding tool and the triggering condition. It does not name an alternative to avoid or a when-not case, but the file-type constraint bounds it well.

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