Skip to main content
Glama

wps_et_read_range

Read cell values from a WPS Excel spreadsheet as a 2D array (value[r][c]). Supports single cells, ranges like "A1:B3", or the current selection.

Instructions

读取单元格值。统一返回二维数组:value[r][c] 直接取行列(第 1 行第 1 列为 value[0][0])。cell 为单格(如 "A1")时返回 [[值]] 的单元素数组,为区域(如 "A1:B3")时按行返回。不传 cell 则读当前选中,返回 {address, value} 结构。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cellNo单元格地址。单格 A1 或区域 A1:B3,统一返回二维数组 value[r][c]
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description must fully disclose behavior. It does so by explaining the return format (2D array), indexing (0-based row/column), and the special case of no cell parameter returning an {address, value} structure. It also clarifies that single cells return a nested array. The only missing detail is whether the tool is read-only or destructive, but the name 'read_range' and the description strongly imply a read operation, mitigating this gap.

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 extremely concise, consisting of just three sentences covering all key points: purpose, return format, single vs range behavior, and optional parameter behavior. No extraneous information. Every sentence is necessary and front-loaded with the most important information first.

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 tool with 1 optional parameter, no output schema, and no nested objects, the description is nearly complete. It covers the input, all output cases, and the expected indexing. It could optionally mention that the returned address for selection reading is a string like 'A1:B3', but this is implicit from the context. The sibling tools (e.g., wps_et_write_range) are clearly differentiated.

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 100%, with the schema already describing the cell parameter as '单元格地址。单格 A1 或区域 A1:B3,统一返回二维数组 value[r][c]'. The description adds significant value beyond the schema by explaining the return format in detail, including 0-based indexing, the difference between single cell and range output, and the behavior when no cell is provided. This richness merits a score above baseline 3.

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 states '读取单元格值' (read cell value) and specifies the return format: a 2D array where value[r][c] directly maps to row and column, with the first cell at value[0][0]. It distinguishes between single cell and range inputs, and explains the behavior when no cell parameter is provided. This effectively differentiates it from siblings like wps_et_write_range or wps_et_set_formula.

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 provides clear guidance on how to use the tool: pass a cell address (single like 'A1' or range like 'A1:B3') or omit to read the current selection. It explains the return structure for each case. However, it does not explicitly state when not to use this tool versus alternatives (e.g., wps_et_write_range is for writing, not reading), but the sibling tools are sufficiently distinct in purpose.

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

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/Antares422/draftly-wps'

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