Skip to main content
Glama

mechacut

table_sql_dump

CSV/JSON rows into executable CREATE TABLE + INSERT with the rules SAID, not assumed. Per column: type (INTEGER|REAL|TEXT closed set) + reason + sample; leading zeros stay TEXT ('007' is an identifier), no exponent, int64 enforced (never wrapped), mixed columns widen and report mixed. Dialect-exact quoting: identifiers refuse anything outside the closed grammar (injection surface zero), mysql doubles backslashes, all three double ''. NUL bytes refused by name. Oracle: the sqlite dump reloads into sqlite3 and re-queries equal to the input. 🟑 above 32 KB.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "table_sql_dump"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNo
rowsNo
tableNodata
typesNo
createNo
dialectNosqlite
delimiterNo
empty_as_nullNo
if_not_existsNo
rows_per_statementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does supply real behavioral detail: type inference policy (closed INTEGER|REAL|TEXT set), leading-zero preservation, int64 enforcement without wrapping, mixed-column widening with reporting, identifier quoting grammar, backslash and quote escaping per dialect, NUL byte refusal, and a verification oracle that the sqlite dump reloads and re-queries equal. It also flags a size threshold (yellow above 32 KB). What it omits is the output shape (returned string vs file), determinism guarantees, and any cost or side-effect statement, so it is strong but not complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, and nearly every sentence carries technical content rather than filler. However, the prose is a run-on wall of dense shorthand ('rules SAID, not assumed', 'injection surface zero', 'Oracle:') that requires re-reading, and the emoji marker is unexplained. Information-dense but poorly structured.

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

Completeness2/5

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

This is a 10-parameter tool with no annotations and no output schema, so the description should cover parameter meaning and return behavior. It covers behavioral rules well but leaves most parameters and the entire return shape unspecified, which is a substantial gap for a tool with this surface area.

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% across 10 parameters, so the description must compensate and largely does not. It never explains the roles of csv vs rows, table, types, create, delimiter, empty_as_null, if_not_exists, or rows_per_statement. Only dialect and type inference get indirect treatment; the rest of the surface is undocumented in both schema and prose.

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 opening clause states a specific transformation: CSV/JSON rows become executable CREATE TABLE + INSERT statements. That is a concrete verb+resource an agent can match against siblings like table_peek or table_pivot. It falls short of 5 because the rest of the sentence ('with the rules SAID, not assumed') obscures rather than sharpens the purpose, and no sibling is named as an alternative.

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?

There is no statement of when to use this versus other table tools, no prerequisites, and no exclusions. The closest thing to guidance is the dialect mention (sqlite/postgres/mysql) and a soft size warning, neither of which tells the agent when this tool is the right choice. An agent must infer the use case entirely from the purpose clause.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.