get_page_links
Extract all links from a page. Returns: {links: [href], internal_count, external_count}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| same_domain_only | No |
Extract all links from a page. Returns: {links: [href], internal_count, external_count}
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| same_domain_only | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It mentions returns but does not disclose handling of relative URLs, error behavior, or how the same_domain_only parameter affects results. Minimal behavioral insight.
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?
Very concise, two sentences front-loading the purpose. No wasted words, though it could be slightly expanded for clarity without harming conciseness.
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?
Given no annotations or output schema and two parameters, the description is incomplete. It omits parameter behavior, edge cases, and error scenarios, requiring the agent to experiment or rely on external documentation.
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%, and the description adds no parameter information. It does not explain the url or same_domain_only parameters, leaving the agent to guess their purpose and values.
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 extracts all links from a page and specifies the return format. It distinguishes from siblings since other tools like extract_article, fetch_url_content, get_page_metadata focus on different aspects. However, it doesn't clarify what 'links' includes (e.g., only anchor tags).
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?
No guidance on when to use this tool versus alternatives. The description lacks explicit context or exclusions. The agent must infer usage from the name alone.
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 distinct aspect: article extraction, general text, links, metadata, and health check. No overlap in functionality.
All tool names follow a consistent verb_noun pattern in snake_case (extract_article, fetch_url_content, get_page_links, get_page_metadata). health_check is a common exception but fits the naming style.
Five tools is an appropriate scope for a web content extraction server, covering all essential operations without being excessive.
The toolset covers the main read operations for web content (article, text, links, metadata). Missing features like screenshot or HTML download are minor for the stated purpose.