Skip to main content
Glama
iHeldan

SheetForge MCP

by iHeldan

get_data_validation_info

Read-only

Retrieve all data validation rules from a worksheet, identifying cell ranges and their validation types.

Instructions

Get all data validation rules in a worksheet.

This tool helps identify which cell ranges have validation rules
and what types of validation are applied.

Args:
    filepath: Path to Excel file
    sheet_name: Name of worksheet
    
Returns:
    JSON string containing all validation rules in the worksheet

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYes
sheet_nameYes
Behavior3/5

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

The description adds the return format (JSON string) and the scope of retrieval (all rules in the worksheet), which is useful context. However, the read-only behavior is already covered by the readOnlyHint annotation, and the description does not disclose edge cases, performance considerations, or any other behavioral traits beyond what annotations provide.

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?

The description is efficiently structured with a clear opening sentence, an Args section, and a Returns section. Every sentence contributes value, and there is no redundant or filler content. It is appropriately sized for the tool's simplicity.

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 simple read-only tool with two parameters, the description provides adequate context: purpose, parameter roles, and return format. Since there is no output schema, the explicit statement that the return is a JSON string is helpful. It does not explain behavior when no validation rules exist, but that is a minor gap.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. The Args section only restates the parameter names with obvious definitions ('filepath: Path to Excel file', 'sheet_name: Name of worksheet'), which adds little meaning beyond the schema itself. This is insufficient for a tool with no schema-level descriptions.

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?

The description clearly states the tool's function: 'Get all data validation rules in a worksheet.' It uses a specific verb and resource, making the purpose apparent. However, it does not distinguish itself from the sibling tool 'inspect_data_validation_rules', which likely serves a similar function, so it misses the top score.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It lacks any mention of exclusions, prerequisites, or specific scenarios that would help an agent decide between this tool and similar ones like 'inspect_data_validation_rules' or 'read_data_from_excel'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iHeldan/sheetforge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server