Skip to main content
Glama
mjyoo2
by mjyoo2

get_table_data

Retrieve complete table contents from an HWP document as a 2D array of cell texts by providing the document ID and table index.

Instructions

Get full table data as a 2D array.

Args: doc_id: Document ID from open_document table_index: Index of the table

Returns: 2D array of cell text values

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
table_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the burden of explaining behavior. It discloses the return format and that it reads the full table, but does not mention read-only guarantees, error behavior, or how merged/empty cells are represented.

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 compact and well-structured: a one-sentence summary followed by Args and Returns. Every line adds relevant information with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter getter with an output schema, the description is mostly adequate. It omits the indexing convention and does not point the agent to get_tables for discovering table_index, but otherwise covers what the agent needs to invoke the tool.

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?

Schema description coverage is 0%, so the description must compensate. It gives useful provenance for doc_id ('from open_document'), but table_index is only described as 'Index of the table,' restating the parameter name without specifying whether it is zero-based or how it relates to get_tables.

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 states a specific verb and resource: 'Get full table data as a 2D array.' It clearly identifies the input document and table index, making it distinct from related tools like get_tables or table_to_text.

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 description implies the intended usage: after opening a document, pass its doc_id and a table index to retrieve cell data. However, it does not explicitly say when to prefer this tool over alternatives or provide exclusions.

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/mjyoo2/hwp-mcp'

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