Skip to main content
Glama

browser_extract_table

Extracts table data from web pages into JSON or CSV, automatically detects headers, and can save the output to a file.

Instructions

提取页面 表格数据为 JSON/CSV(自动识别表头),可直接保存为文件

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": "browser_extract_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo是否保存到输出目录(csv→.csv / json→.json)
formatNo输出格式,默认 json
filenameNo保存的文件名
selectorNotable 元素选择器,省略则自动选取最大的表格

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully states that headers are auto-detected and that output can be written to a file, but it omits what happens when no table exists, whether the table must be already rendered/visible, and whether saving creates or overwrites files.

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

Conciseness4/5

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

A single compact sentence that front-loads the action and resource, then the output formats and the save capability. There is no redundant or filler wording, though the parenthetical is slightly compressed for readability.

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 four-parameter extraction tool with no annotations and no output schema, the description covers purpose, formats, and file output but leaves the return shape and failure modes unexplained. Since no output schema exists, some indication of the resulting structure would have been valuable.

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 100%, so the parameters are already fully documented, and the description's mention of JSON/CSV and file saving is consistent with them. It adds a small amount of framing (that saving is optional and direct) but relies on the schema for details such as selector fallback behavior.

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: extract <table> data from the page, converted to JSON/CSV with automatic header detection. It clearly signals a table-structured extraction, which separates it from generic text tools like browser_get_text, though it does not name that sibling explicitly.

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?

Usage is implied by the resource type (tables) rather than stated: there is no 'use this when...' clause and no exclusion or alternative named for non-table content or when browser_evaluate would be preferable. The parenthetical about automatic header detection is the only hint about applicable scenarios.

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