Skip to main content
Glama
b2b-ai-data-apis-starter

b2b-ai-data-apis-starter

url_to_rag_markdown

Convert documentation or article URLs into clean, boilerplate-free Markdown chunks with token counts for RAG and LLM context.

Instructions

Convert any documentation page or article URL into clean, boilerplate-free, token-counted Markdown chunks ready for RAG and LLM context.

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": {
      "url": "<url>"
    },
    "name": "url_to_rag_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPage URL to convert to clean Markdown chunks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does add real behavioral context: output is cleaned of boilerplate, split into chunks, and token-counted. It does not disclose what happens on fetch failure, whether the page is retrieved live or cached, any rate limits, or whether chunk sizes are fixed — all gaps for a network-backed tool.

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 with no filler; each qualifier ('boilerplate-free', 'token-counted', 'chunks') conveys a distinct output property rather than restating the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with no output schema, the description sketches the return shape (Markdown chunks with token counts) but leaves the chunk cardinality, size, and error behavior unspecified. Adequate to call correctly, but not enough to set agent expectations about the response.

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 'url' parameter is already documented, so the baseline is 3. The description adds only a mild scope hint ('any documentation page or article URL'), which suggests the acceptable input type but adds nothing about URL format, redirects, or unsupported schemes.

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 pairs a specific verb ('Convert') with a specific input ('documentation page or article URL') and a specific output ('Markdown chunks'), so an agent knows exactly what it produces. It doesn't need to differentiate against siblings, since the listed siblings (audits, lookups, contact enrichment) share no overlap, but it also doesn't explicitly rule anything out.

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 only implied through the phrase 'ready for RAG and LLM context', which tells the agent the downstream purpose but not when to prefer this tool over alternatives or what preconditions the URL must satisfy. There is no when-not guidance, e.g. for paywalled, login-gated, or JavaScript-only pages.

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