Skip to main content
Glama
jfjensen

camofox-browser MCP server (stage2)

by jfjensen

extract_tab

Extract structured data from the current page in a browser tab using a JSON schema. Returns only the specified fields as JSON, with missing values as null.

Instructions

Extract structured data from the CURRENT page in an open tab according to a JSON Schema, using the same whole-page chunk-and-merge extractor as extract, but reading the live tab instead of opening a URL. Use this for named fields on a page you have navigated or interacted your way to.

Args: tab_id: The handle from open_tab. schema: A JSON Schema describing the fields to extract (same shape as for extract).

Returns: A JSON string with the extracted fields; missing fields are null.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tab_idYes
schemaYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that it uses the same chunk-and-merge extractor as `extract` and works on a live tab. However, it does not detail potential side effects, rate limits, or what happens if the tab changes, which would improve transparency.

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?

The description is concise with two well-organized paragraphs: first the main purpose and usage, then parameter and return details. It is front-loaded and every sentence adds value.

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

Completeness4/5

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

The description covers the tool's behavior, parameters, return format, and distinguishes it from siblings. It could mention that the tab must already be open, but that is implied. Given the low complexity and presence of an output schema, it is fairly complete.

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?

The description explains both parameters: tab_id is a handle from open_tab, and schema is a JSON Schema same as for `extract`. This adds meaning beyond the raw schema (which has no descriptions), especially given 0% schema coverage. The explanation is sufficient but could include examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool extracts structured data from the current tab using a JSON Schema, distinguishing it from the sibling `extract` tool which opens a URL. The verb 'extract' and resource 'tab' are specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells when to use this tool: 'for named fields on a page you have navigated or interacted your way to', contrasting with `extract`. It provides clear context but lacks explicit 'when-not-to-use' or alternative tools beyond the implicit comparison.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jfjensen/local-LLM-agent-mcp-interaction'

If you have feedback or need assistance with the MCP directory API, please join our Discord server