Skip to main content
Glama
excel-master-pro

excel-master-pro

inspect_spreadsheet

Read-onlyIdempotent

Scan Excel, CSV, TSV, JSON, ODS, or Parquet files without modifying them to detect schema, score data quality, and identify 13 business-rule issues with affected rows and sample fixes.

Instructions

Inspect an Excel, CSV, TSV, JSON, ODS or Parquet spreadsheet without modifying it.

Detects column schema, calculates the 0-100 data quality score, and scans all
13 data quality & business-rule checks (invalid dates, emails, phones, negative stock,
outliers, duplicates, missing mandatory fields, type mismatches, logical contradictions)
with affected row indices and sample fixes.

Args:
    file_path: Path to the input spreadsheet (.xlsx, .xls, .csv, .tsv, .json, .ods, or .parquet).

Returns:
    Compact JSON string containing schema metadata, quality score, and detected issues.

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": "inspect_spreadsheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so safety semantics are covered by structured data. The description adds value beyond that by disclosing the analytic surface (13 named checks), that results include affected row indices and sample fixes, and that output is a compact JSON string — meaningful operational context the annotations cannot convey.

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?

Front-loaded with the core purpose, then progressively details checks and return shape; the Args/Returns blocks mirror the source docstring but remain tight. The long parenthetical list of checks is dense yet informative rather than wasteful, so only minor trimming would improve it.

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?

For a single-parameter, read-only analysis tool with an output schema present, the description covers everything an agent needs: input formats, the scope of analysis, and the nature of the response. Return-value detail beyond 'compact JSON with schema, score, issues' is appropriately left to the output 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 description coverage is 0% — the single file_path parameter has only a title and no description — so the description must carry the burden. It does: it spells out the accepted file path and enumerates the supported extensions (.xlsx, .xls, .csv, .tsv, .json, .ods, .parquet), which is the key semantic an agent needs to call this correctly.

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 the specific verb (Inspect) and resource (Excel/CSV/TSV/JSON/ODS/Parquet spreadsheet), then enumerates exactly what analysis it performs: column schema detection, a 0-100 quality score, and 13 data quality/business-rule checks. The phrase 'without modifying it' separates it cleanly from sibling mutation tools such as clean_spreadsheet and merge_spreadsheets.

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 non-modifying constraint gives clear usage context: this is the diagnostic/read step, not the remediation step, so it should be chosen when the agent needs assessment rather than edits. However, it never names an alternative or states an explicit 'use clean_spreadsheet to apply fixes' handoff, so the when-not guidance is implied rather than spelled out.

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