Skip to main content
Glama

Extract Academic & File Links

browser_extract_links
Read-onlyIdempotent

Scans the current page for PDF, Supporting Information, dataset, and DOI links, then returns categorized URLs ready for download.

Instructions

Scan the current page for PDF, Supporting Information (SI), dataset (.zip/.docx/.xlsx/.csv/.cif), and DOI links, returning categorized URLs ready for browser_download.

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_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
tab_idNoTarget tab id.
include_otherNoInclude general non-academic links as well (default: false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: the returned value is categorized URLs and the natural next step is browser_download. It omits scope details such as whether scanning covers the full DOM or only rendered/visible content, and any result limits.

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?

A single front-loaded sentence that packs purpose, category taxonomy, and return shape with no filler. The extension list is dense but each token earns its place by defining what qualifies as a dataset link.

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?

With no output schema, the description carries the burden of describing returns and does so at a high level (categorized URLs), which is adequate for a two-parameter read-only scan. It could be slightly more complete by naming the category buckets or noting scanning scope, but nothing essential for correct invocation is missing.

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% and both parameters are fully documented, so baseline is 3. The description's enumeration of link categories implicitly explains what counts as "other" for include_other, but it never mentions tab_id or the default-false behavior, adding no explicit parameter meaning.

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?

States a specific verb ("Scan") and resource ("current page") plus the exact link categories it collects (PDF, SI, dataset extensions, DOI) and that it returns categorized URLs. The only gap is that it does not explicitly contrast with the sibling browser_extract_text, though the downstream pointer to browser_download does anchor it in a workflow.

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: use it on the current page when you want downloadable link targets, and the output is framed as input for browser_download. There is no explicit when-not guidance or named alternative for text-only extraction, so an agent must infer the boundary itself.

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