Skip to main content
Glama

serp_get_usage_guide

Access a complete usage guide for Google SERP tools. Provides parameters, examples, and best practices to perform effective searches.

Instructions

Get a comprehensive guide for using the Google SERP tools.

Provides detailed information on how to use the SERP search tools
effectively, including parameters, examples, and best practices.

Returns:
    Complete usage guide for SERP tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The main tool handler for serp_get_usage_guide. Decorated with @mcp.tool(), this async function returns a comprehensive multi-line string guide covering all available SERP tools, parameters, usage examples, response contents, and best practices.
    @mcp.tool()
    async def serp_get_usage_guide() -> str:
        """Get a comprehensive guide for using the Google SERP tools.
    
        Provides detailed information on how to use the SERP search tools
        effectively, including parameters, examples, and best practices.
    
        Returns:
            Complete usage guide for SERP tools.
        """
        # Last updated: 2026-04-05
        return """# Google SERP Tools Usage Guide
    
    ## Available Tools
    
    ### Main Search Tool
    **serp_google_search** - Flexible search with all options
    - query: Search query (required)
    - search_type: search, images, news, maps, places, videos
    - country: Country code (us, uk, cn, etc.)
    - language: Language code (en, zh-cn, etc.)
    - time_range: Time filter (qdr:h, qdr:d, qdr:w, qdr:m)
    - number: Results per page (default: 10)
    - page: Page number (default: 1)
    
    ### Specialized Tools (Shortcuts)
    - **serp_google_images** - Image search
    - **serp_google_news** - News search
    - **serp_google_videos** - Video search
    - **serp_google_places** - Local places/businesses
    - **serp_google_maps** - Map locations
    
    ## Example Usage
    
    ### Basic Web Search
    ```
    serp_google_search(query="artificial intelligence")
    ```
    
    ### News Search with Time Filter
    ```
    serp_google_news(query="tech news", time_range="qdr:d")
    ```
    
    ### Localized Search
    ```
    serp_google_search(
        query="best restaurants",
        country="uk",
        language="en"
    )
    ```
    
    ### Image Search
    ```
    serp_google_images(query="sunset photography")
    ```
    
    ### Paginated Results
    ```
    serp_google_search(query="python tutorials", number=20, page=2)
    ```
    
    ## Response Contents
    
    ### Regular Search (type: search)
    - **knowledge_graph**: Entity information (company, person, etc.)
    - **answer_box**: Direct answers
    - **organic**: Regular search results
    - **people_also_ask**: Related questions
    - **related_searches**: Related queries
    
    ### Image Search (type: images)
    - **images**: Image results with URLs and thumbnails
    
    ### News Search (type: news)
    - **news**: News articles with source and date
    
    ### Video Search (type: videos)
    - **videos**: Video results with duration and source
    
    ### Places Search (type: places)
    - **places**: Local business/place information
    
    ## Best Practices
    
    1. **Be specific**: More specific queries yield better results
    2. **Use localization**: Set country/language for relevant results
    3. **Time filtering**: Use for news and current events
    4. **Pagination**: Use number/page for browsing many results
    5. **Choose right type**: Use specialized types for specific content
    
    ## Credits Note
    - Standard searches (10 results): 1 credit
    - Extended results (>10): May cost additional credits
  • The function signature shows no parameters are required (no input schema) and it returns a plain string. The docstring describes the purpose: 'Get a comprehensive guide for using the Google SERP tools.'
    async def serp_get_usage_guide() -> str:
        """Get a comprehensive guide for using the Google SERP tools.
    
        Provides detailed information on how to use the SERP search tools
        effectively, including parameters, examples, and best practices.
    
        Returns:
            Complete usage guide for SERP tools.
        """
  • The tool is registered via the @mcp.tool() decorator on line 126. The mcp instance is imported from core.server (line 3), which creates a FastMCP server instance (server.py).
    """Informational tools for SERP API."""
    
    from core.server import mcp
  • main.py:191-192 (registration)
    Secondary registration: the tool name appears in a server card JSON response listing available tools for the HTTP transport mode.
        {"name": "serp_get_usage_guide", "description": "Get API usage guide"},
    ],
  • The tool name is listed in the startup banner under 'Available tools' for informational display.
    safe_print("    - serp_get_usage_guide")
Behavior2/5

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

With no annotations, the description carries full burden. It does not disclose behavioral traits such as being read-only, non-destructive, or any side effects. Although the tool is inherently safe, the description fails to communicate this.

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 three sentences, front-loading the purpose, then providing detail, and ending with return value. Every sentence earns its place without redundancy.

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?

Given no parameters, an output schema exists, and low complexity, the description is adequate. It states the tool returns a complete usage guide, which is sufficient for an info tool. However, it could mention that it is safe and non-destructive.

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 input schema has zero parameters, so schema coverage is 100%. The description adds no parameter meaning because none exist, but it does state the return value. Baseline for zero parameters is 4, and the description meets that.

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 'Get a comprehensive guide for using the Google SERP tools,' which differentiates it from sibling tools that perform specific searches or list options. The verb 'Get' and resource 'usage guide' are specific and distinct.

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 using this tool when you need help with SERP tools, but it does not explicitly state when to use it versus alternatives or when not to use it. It provides context but lacks exclusions or alternatives.

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/AceDataCloud/SerpMCP'

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