Skip to main content
Glama

validate_table_text

Automatically detect and validate the structural integrity of box, grid, or pipe tables by checking border alternation, marker consistency, column count stability, and correct border lines.

Instructions

Validate structural integrity of a table (box/grid/pipe).

Auto-detects format, then checks:

  • Border/data line alternation

  • Marker positions (+, ┬, etc.) are consistent

  • Column count is stable across rows

  • First and last lines are correct border type

Args: table_text: Raw table text (box, grid, or pipe format)

Returns: Validation report with any structural issues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
table_textYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It explicitly lists the checks performed: auto-detecting format, border/data line alternation, marker position consistency, column count stability, and correct border type. It also states the return type: a validation report with structural issues. This gives the agent a clear understanding of behavior.

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: a one-line purpose, a bullet list of checks, and clear Args/Returns sections. Every sentence adds value, and the most critical information (purpose) appears first. No redundant phrases or filler.

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?

Given the context (1 required parameter, output schema exists), the description covers the essential aspects: the single parameter with format constraints, the checks performed, and the return type. The output schema handles return structure details, so the description does not need to list fields. A complete and sufficient description for the agent.

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?

The input schema has one parameter 'table_text' with only a title and no description (0% coverage). The description adds meaning by stating 'Raw table text (box, grid, or pipe format)', clarifying the acceptable formats and that it is raw text. This is valuable beyond the schema, though a note about expected input length or encoding would improve it further.

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 the tool validates structural integrity of tables in various formats (box/grid/pipe). It specifies the resource (table text), the action (validate), and the scope of validation (structural checks). This distinguishes it from sibling tools like analyze_table, which may perform deeper analysis, and make_table which creates tables.

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?

The description does not provide guidance on when to use this tool versus alternatives like analyze_table or debug_table. There is no mention of prerequisites, constraints, or scenarios where validation is appropriate. The agent must infer usage from context, which could lead to incorrect tool selection.

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/dhammawatthumpra-coder/ascii-table-mcp'

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