Tools Reference¶
Available MCP tools for llm.energy.
New Tools
Two new verification tools added: verify_llms_txt and discover_documentation_urls
extract_documentation¶
Extract and parse documentation from a website with llms.txt support.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | Documentation site URL |
Example
Output
- Extraction summary
- List of parsed documents with token counts
- Statistics (processing time, document count, total tokens)
Caching
After extraction, documentation is cached for quick access via other tools.
verify_llms_txt¶
Verify if a URL has llms.txt and retrieve file information.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | Website URL to verify |
Example
Output
- Verification status (online/offline/error)
- File size and last modified date
- Content type and server information
- llms.txt URL location
Real-time Verification
This tool performs live HTTP checks - perfect for validating sites before extraction.
discover_documentation_urls¶
Intelligently discover documentation URLs for a domain.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain |
string | Yes | Base domain to scan |
Example
Output
- Discovered documentation URLs
- Subdomain patterns (docs., api., developers.*)
- Confidence scores for each URL
- Platform detection (GitBook, ReadMe, etc.)
Smart Discovery
Checks 50+ common documentation patterns, subdomains, and platform-specific locations.
fetch_llms_txt¶
Fetch raw llms.txt content without parsing.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | Documentation site URL |
full |
boolean | No | Fetch llms-full.txt instead (default: true) |
Example
get_document¶
Retrieve a specific document from the cache.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Document filename |
Example
list_documents¶
List all cached documents.
Output
Array of document names with metadata:
- Filename
- Token count
- Section title