Skip to main content
Glama

sitepilot_table

Read-onlyIdempotent

Reads a paginated HTML table from an active browser session and returns header cells, rows, and total count for structured data extraction.

Instructions

Read a paginated HTML table; returns header cells, rows and total.

Only a DOM table matching selector is read; this does not traverse cross-origin frames or virtualized rows not present in the DOM.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "sitepilot_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety bar is low. The description still adds genuinely useful behavior: results are limited to rows physically present in the DOM, so virtualized tables will silently return partial data, and cross-origin frames are not traversed. It does not mention cell-text truncation or what 'total' means when rows are capped.

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?

Two sentences, zero padding, with the capability stated first and the scope caveats second. Every sentence carries information an agent needs.

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?

The presence of an output schema means the description need not spell out return values, and the DOM/frame limitations are well covered. What is missing is the pagination and truncation contract (defaults, caps, cell_limit effects), which matters for a paginated read tool with an undocumented parameter set.

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% and the nested TableInput exposes five properties (selector, limit, offset, cell_limit, session_id) that are essentially undocumented. The description only obliquely gestures at 'selector' and 'paginated', leaving limit/offset bounds and cell_limit truncation behavior unexplained, so it does not 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 names a specific verb and resource ('Read a paginated HTML table') and states the return payload (header cells, rows and total). It is distinguishable from generic DOM tools like wavexis_dom_query by scoping to tables, though it never names an alternative 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 'Only a DOM table matching selector is read', and two clear exclusions are stated (cross-origin frames, virtualized rows outside the DOM). However, there is no explicit routing to an alternative when the target is a virtualized grid or an iframe, so the agent must infer what to do in those cases.

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