Skip to main content
Glama
mjyoo2
by mjyoo2

table_to_text

Extract table content from an HWP document as text. Specify the document ID and table index, then choose a delimiter like tab or comma for structured output.

Instructions

Convert a table to text.

Args: doc_id: Document ID from open_document table_index: Index of the table delimiter: Delimiter type ("tab", "comma", "space", "custom") custom_char: Custom delimiter character

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
delimiterNotab
custom_charNo
table_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must carry the full behavioral burden, but it only says 'Convert a table to text'. It does not state whether the tool returns a string, writes text into the document, or has other side effects. The delimiter/custom_char args hint at formatting but not the operation's overall effect.

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 one-line operation plus a compact Args block is tightly written with no filler. Every sentence adds relevant information, and the parameter explanations are easy to scan.

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?

An output schema exists, so return values are presumably covered. The description explains parameters and the prerequisite of an open document. However, the lack of behavioral detail about what 'convert' does to the document leaves an agent uncertain about side effects, which is significant for a tool with no annotations.

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%, and the description compensates by explaining each parameter: doc_id's provenance, delimiter's allowed values, and custom_char's purpose. table_index is only described as 'Index of the table', which is minimal but adequate.

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 'Convert a table to text' uses a specific verb and resource, making the core operation clear. It naturally contrasts with sibling text_to_table, though it does not explicitly name alternatives or scope the conversion.

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 explicit when-to-use guidance or alternatives are provided. The only contextual hint is the parameter note that doc_id comes from open_document, implying an open document is required, but there is no direction about when to choose this over get_table_data or text_to_table.

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