Skip to main content
Glama
billallison

URL Text Fetcher MCP Server

by billallison

get_server_info

Retrieve server details like version, implementation type, and available features for the URL Text Fetcher MCP Server that fetches web content and searches online.

Instructions

Get information about this MCP server including version, implementation, and capabilities.

Returns: Server information including version, implementation type, and available features

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The handler function for the 'get_server_info' tool, decorated with @mcp.tool() for registration. It returns a formatted string with server version, configuration, available tools list, and security features.
    @mcp.tool()
    async def get_server_info() -> str:
        """Get information about this MCP server including version, implementation, and capabilities.
        
        Returns:
            Server information including version, implementation type, and available features
        """
        info = [
            f"URL Text Fetcher MCP Server",
            f"Version: {__version__}",
            f"Implementation: {__implementation__}",
            f"Brave Search Rate Limit: {BRAVE_RATE_LIMIT_RPS} requests/second",
            f"Request Timeout: {REQUEST_TIMEOUT} seconds",
            f"Content Limit: {CONTENT_LENGTH_LIMIT:,} characters",
            f"Max Response Size: {MAX_RESPONSE_SIZE:,} bytes",
            "",
            "Available Tools:",
            "• fetch_url_text - Download visible text from any URL",
            "• fetch_page_links - Extract all links from a webpage", 
            "• brave_search_and_fetch - Search web and fetch content from top results",
            "• test_brave_search - Test Brave Search API connectivity",
            "• get_server_info - Display this server information",
            "",
            "Security Features:",
            "• SSRF protection against internal network access",
            "• Input sanitization for URLs and search queries",
            "• Content size limiting and memory protection",
            "• Thread-safe rate limiting for API requests",
            "",
            f"Brave API Key: {'✓ Configured' if BRAVE_API_KEY else '✗ Missing'}"
        ]
        
        return "\n".join(info)
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by specifying what information is returned. It discloses the return format ('Server information including version, implementation type, and available features'), though it doesn't mention potential limitations like rate limits, authentication needs, or error conditions.

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?

The description is perfectly front-loaded with the core purpose in the first sentence, followed by a clear returns section. Both sentences earn their place by providing essential information without any redundant or unnecessary content.

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

Completeness5/5

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

Given the tool's simplicity (0 parameters, no annotations, but has output schema), the description is complete enough. It explains what the tool does and what it returns, and with an output schema present, it doesn't need to detail return value structure. The description covers all essential aspects for this straightforward informational tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters with 100% schema coverage, so the baseline is 4. The description appropriately doesn't discuss parameters since none exist, focusing instead on what the tool returns.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Get information') and resource ('this MCP server'), with explicit details about what information is retrieved ('version, implementation, and capabilities'). It distinguishes itself from sibling tools like search/fetch tools by focusing on server metadata rather than web operations.

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?

The description implies usage for retrieving server metadata, but provides no explicit guidance on when to use this tool versus alternatives. There's no mention of prerequisites, timing considerations, or comparison with other tools that might provide similar information.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/billallison/brsearch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server