Extract Links
extract_linksExtract all Markdown links text (and bare autolinks) as {text, url} pairs (keyless, offline).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | The Markdown text. |
extract_linksExtract all Markdown links text (and bare autolinks) as {text, url} pairs (keyless, offline).
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | The Markdown text. |
Changes observed during successful MCP inspections.
Input schema / examplesAdded value: +[
+ {
+ "markdown": "Check out [My Blog](https://myblog.com) and [GitHub](https://github.com/user)."
+ },
+ {
+ "markdown": "Visit <https://example.com> or see the [documentation](https://docs.example.com/guide)."
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only, open-world, idempotent, and non-destructive hints. The description adds useful behavioral context beyond annotations: 'keyless' (no credentials) and 'offline' (no network), and it clarifies the handling of bare autolinks. These details are not redundant and paint a fuller picture of the tool's behavior.
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 one concise sentence, front-loading the action and including the output format and key behavioral notes. Every word earns its place; there is no fluff or unnecessary detail.
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?
For a simple tool with one parameter and no output schema, the description is complete: it explains the output format ({text, url} pairs), the input type (Markdown), and key constraints (keyless, offline). The annotations cover safety, and the schema covers the parameter. No critical information is missing for an agent to select and invoke the tool correctly.
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?
The input schema has 100% coverage for the single 'markdown' parameter with a minimal description ('The Markdown text.'). The description does not add significant meaning beyond the schema, so the high coverage baseline of 3 applies. The examples in the schema provide more practical context than the description.
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 function: 'Extract all Markdown links [text](url) (and bare autolinks) as {text, url} pairs'. It specifies the resource (Markdown links), the exact link formats, and the output structure, distinguishing it from siblings like extract_headings and markdown_to_text.
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?
The description implies when to use the tool (when you need to extract links from Markdown) but provides no explicit alternatives or exclusions. It does not mention when not to use it or compare with sibling tools, leaving the usage guidance to inference.
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.