get_links
Collect all anchor hrefs, optionally filtered by regex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | ||
| selector | No |
Collect all anchor hrefs, optionally filtered by regex.
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | ||
| selector | No |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds minimal behavioral context beyond the readOnlyHint and openWorldHint annotations. It mentions regex filtering but does not disclose return format, handling of duplicates, or whether URLs are absolute or relative. The readOnlyHint already covers safety, so it is not misleading.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no wasted words. It front-loads the core purpose ('collect all anchor hrefs') and adds the filter condition efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema and two undocumented parameters, yet the description only explains one parameter. It does not state the return type, whether links are unique, or what the selector does. The readOnlyHint mitigates some concerns but does not fill these gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It explains 'pattern' as a regex filter, but the 'selector' parameter is entirely unexplained. This leaves a significant gap for an optional parameter that the agent cannot infer.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool collects anchor hrefs, which is a specific action and resource. It differentiates from sibling tools like get_text and get_html by targeting anchor hrefs specifically, and mentions optional regex filtering.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the name and description: use when you need to collect links from a page. However, there is no explicit guidance on when to use this vs alternatives like get_html or get_text, and no exclusions or prerequisites are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Each tool targets a specific browser automation action with no meaningful overlap. For example, fill_form handles multiple fields while type_text handles a single input, and extract_table/get_text/get_links/get_html are clearly distinct extraction modes.
All tool names use lowercase snake_case and mostly follow a verb_noun pattern (e.g., get_text, set_cookies, select_option). The only minor inconsistency is page_pdf, which is a noun_noun construction rather than a verb-prefixed name.
With 17 tools, the server covers navigation, interaction, extraction, cookies, screenshots, and PDF generation. This is slightly above the ideal 3-15 range but still well-scoped for a browser automation server, so it feels reasonable rather than bloated.
The tool set covers the core page lifecycle: navigate, interact (click/type/select/scroll), wait, extract content, and capture output (screenshot/PDF). Missing advanced features like back/forward or frame handling, but these are minor gaps that can be worked around.