Skip to main content
Glama

table_to_csv

Read-only

Dirtsmith-built. Convert the HTML tables on a web page to CSV. HTML only.

Input Schema

NameRequiredDescriptionDefault
urlYes
indexNo
creditNo

Output Schema

NameRequiredDescriptionDefault
okYes
urlYes
noteYes
quotaYes
tablesYes
built_byYes
tables_foundYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "built_by": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "ok": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "quota": {
      +      "properties": {
      +        "limit": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "ok": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "tier": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "used": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "tables": {
      +      "items": {
      +        "properties": {
      +          "cols": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "csv": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "index": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "rows": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "tables_found": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "url",
      +    "tables_found",
      +    "tables",
      +    "note",
      +    "built_by",
      +    "quota"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and network profile is covered. The description adds a useful scoping constraint (HTML only, implying non-HTML pages yield nothing) but says nothing about pagination, multiple-table handling, or the meaning of the credit parameter. 'Dirtsmith-built' is branding noise.

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?

Very short and the operative instruction is clear, but the leading 'Dirtsmith-built' fragment is pure waste and the extreme terseness leaves the two optional parameters unaddressed.

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?

An output schema exists, so return values need no explanation. But for a tool with an undocumented index selector and a credit parameter, the description is far too thin to let an agent invoke it correctly beyond the basic URL case.

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% for three parameters. The description only loosely implies that 'url' is a web page address; 'index' and 'credit' are entirely unexplained, so an agent cannot tell that index likely selects which table to convert or what credit is for. It fails to compensate for the coverage gap.

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 states a specific verb and resource ('Convert the HTML tables on a web page to CSV'), so the transform is unambiguous. The 'HTML only' qualifier implicitly separates it from the pdf_tables sibling, though the sibling is never named.

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?

'HTML only' implies a boundary condition (don't use it on PDFs), which nudges the agent toward pdf_tables. However, no alternative is named explicitly and there is no guidance on required preconditions or when conversion would fail.

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.