Skip to main content
Glama

Markdown Link Extractor

MarkdownLinkExtractor
Read-only

Markdown Link Extractor: Markdown Link Extractor parses markdown documents and extracts all links including inline, reference, autolinks, and image URLs. (Cost: 2 credits)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "markdown": "<markdown>"
    },
    "name": "MarkdownLinkExtractor"
  }
}

Input Schema

NameRequiredDescriptionDefault
markdownYesMarkdown text to parse (max 100,000 characters)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful context by naming the link categories extracted and disclosing a 2-credit cost. However, it does not explain deduplication, URL normalization, malformed markdown handling, or ordering behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the core operation. The redundant repetition of 'Markdown Link Extractor' at the start adds no value, but the remainder is efficient. The cost note is concise and useful.

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?

This is a simple one-parameter parsing tool with an output schema, so the description does not need to explain return values. It provides the key behavior: markdown input and link categories extracted. Minor gaps such as duplicate handling and relative URL treatment remain, but the definition is otherwise complete for this complexity level.

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 description coverage is 100%, and the single markdown parameter is already documented with a 100,000-character limit and an example. The description does not add any syntax or format meaning beyond the schema. A baseline 3 is appropriate when the schema already handles parameter semantics.

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?

The description uses a specific verb and resource: it parses markdown documents and extracts all links, including inline, reference, autolinks, and image URLs. This clearly identifies the operation and scope. It does not explicitly distinguish itself from nearby siblings such as LinkScraper or URLtoMarkdown, so it falls short of a 5.

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

Usage Guidelines2/5

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

The description states what the tool does but gives no explicit guidance on when to use it versus alternatives like LinkScraper or URLTitle. Usage is only implied by the tool's purpose. There are no exclusions or alternative-routing instructions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.