Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_slicers_timelines

Read-onlyIdempotent

List every slicer and timeline in an .xlsx workbook with their source bindings to audit or map interactive filter controls.

Instructions

Use this when you need to list every slicer and timeline (interactive filter controls) in a workbook with their source bindings.

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": {
      "file_path": "<file_path>"
    },
    "name": "xlsx_slicers_timelines"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the .xlsx file. Pass the path string AS-IS — do NOT read, open, or base64-encode the file; the client handles all file I/O. The base64 surface in this connector is OUTPUT-only (_meta.file_b64).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.3.1
    • removedInput schema / properties / file_b64
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / file_path
      Added value: +{
      +  "description": "Absolute path to the .xlsx file. Pass the path string AS-IS — do NOT read, open, or base64-encode the file; the client handles all file I/O. The base64 surface in this connector is OUTPUT-only (_meta.file_b64).",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "file_b64"
      -]New value: +[
      +  "file_path"
      +]
  2. First observedv3.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered structurally. The description adds that results include source bindings, which is return-content context, but says nothing about workbook requirements (macro-enabled vs. plain .xlsx), empty-result behavior, or what a binding looks like.

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?

A single well-formed sentence with the trigger front-loaded and no filler. Slightly more value could have been packed in at the same length (e.g. a named alternative), but nothing is wasted.

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?

For a read-only single-parameter list tool with rich annotations, full schema coverage, and no output schema, this is close to sufficient: it names the entities returned and the key attribute (source bindings). Minor gaps are prerequisites and the shape of 'bindings', which is not critical for correct invocation.

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?

There is a single parameter with 100% schema description coverage, and that schema text already explains the absolute-path requirement and the AS-IS / no-base64 rule thoroughly. The description adds nothing about file_path, so baseline 3 applies.

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?

States a specific verb ('list') and resource ('every slicer and timeline') plus a clarifying gloss ('interactive filter controls') and scope ('in a workbook with their source bindings'). An agent can tell this apart from unrelated siblings like xlsx_charts, though the nearest neighbor, xlsx_form_controls, is never named.

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

Usage Guidelines3/5

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

The phrase 'Use this when you need to list...' supplies a positive trigger condition, which is more than nothing. It offers no exclusions, prerequisites, or routing to alternatives (e.g. when to prefer form controls or filter inspection instead), so guidance remains implied rather than explicit.

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