Skip to main content
Glama
camoufox-agent

camoufox-agent

by VolanDeVovan

extract_table

Read-only

Extract an HTML table or a table containing a given element ref from a browser page as JSON row objects keyed by header row; select by ref or visible-table index and cap rows.

Instructions

An HTML table on the page as JSON rows (objects keyed by the header row when there is one). Pick it with ref (the table or anything inside it) or index among the visible tables.

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

Input Schema

NameRequiredDescriptionDefault
refNoRef of the table or of anything inside it.
indexNoWhich visible table (default 0).
tabIdNoTab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session.
max_rowsNoDefault 200.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the extra value must come from behavior: the description discloses the returned shape (rows keyed by header when one exists) and that `ref` may point at anything inside the table, which is genuinely useful. It stays silent on what happens when no header exists, when the ref resolves to no table, or whether output is truncated at the row limit.

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?

Two dense sentences with no filler, and the output shape is front-loaded before selection mechanics. The opening is a noun phrase missing a verb, which costs a little clarity but not much space.

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?

With no output schema, the description correctly shoulders the job of describing the return shape, which it does briefly. For a tool with a max_rows cap it fails to state truncation behavior or what a caller gets for a table with no header row, leaving the most consequential edge cases unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all four parameters and the baseline is 3. The description adds only the 'visible tables' qualifier for `index` and restates the ref-inside-table rule that the schema already carries; it adds no meaning for `tabId` or `max_rows` beyond the schema.

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 names a specific resource and output shape: an HTML table returned as JSON rows, objects keyed by the header row. It is not a tautology and clearly differs from siblings like get_page_text or read_page, though it is a verbless fragment that leans on the tool name for the action.

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?

It explains how to select a table (`ref` or `index` among visible tables) but never says when to reach for this tool instead of get_page_text, read_page, or fetch_markdown. No when-not conditions or alternative routing guidance is present.

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