Skip to main content
Glama
Serpex MCP (Web search API)

Serpex MCP (Web search API)

serpex_search

Search the web and return ranked JSON results, optionally with full page content as Markdown to ground AI answers and enrich research.

Instructions

Search the web with Serpex. Returns ranked web results as structured JSON. Optionally fetches full page content (markdown) for the top results inline — best-effort: results whose page cannot be extracted return a content_error instead of content.

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": {
      "q": "<q>"
    },
    "name": "serpex_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query (max 500 characters). Operators such as site:, -site:, after:YYYY-MM-DD and before:YYYY-MM-DD go inside the query.
content_resultsNoNumber of top results to fetch content for, when include_content is true. Must be exactly 5 or 10. Default: 5.
include_contentNoAlso fetch full page content (markdown) for the top results, inline with the search response. Best-effort: results that fail to extract carry a content_error instead of content. Costs 3 credits (5 pages) or 6 (10 pages) instead of 1. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.0.1
    • addedInput schema / properties / content_results
      Added value: +{
      +  "description": "Number of top results to fetch content for, when include_content is true. Must be exactly 5 or 10. Default: 5.",
      +  "enum": [
      +    5,
      +    10
      +  ],
      +  "type": "integer"
      +}
    • removedInput schema / properties / engine
      Removed value: -{
      -  "description": "Search engine (default: auto)",
      -  "enum": [
      -    "auto",
      -    "google",
      -    "bing",
      -    "duckduckgo",
      -    "brave",
      -    "yahoo",
      -    "yandex"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / include_content
      Added value: +{
      +  "description": "Also fetch full page content (markdown) for the top results, inline with the search response. Best-effort: results that fail to extract carry a content_error instead of content. Costs 3 credits (5 pages) or 6 (10 pages) instead of 1. Default: false.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / q / description
      Previous value: -"Search query (max 500 characters)"New value: +"Search query (max 500 characters). Operators such as site:, -site:, after:YYYY-MM-DD and before:YYYY-MM-DD go inside the query."
    • removedInput schema / properties / time_range
      Removed value: -{
      -  "description": "Filter by time range",
      -  "enum": [
      -    "all",
      -    "day",
      -    "week",
      -    "month",
      -    "year"
      -  ],
      -  "type": "string"
      -}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does meaningful work: it discloses the output medium (structured JSON), that content fetching is inline, and the best-effort partial-failure contract ('results whose page cannot be extracted return a content_error'). It does not cover auth requirements, rate limits, pagination, or a cap on result counts, which are real gaps for a tool with zero annotation coverage.

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?

Three short sentences, zero filler: core action first, then return format, then the optional mode and its failure behavior. Nothing is duplicated unnecessarily and no sentence could be removed without losing information an agent needs.

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?

There is no output schema and no annotations, so the description must carry return-value context; it names the format and the content_error shape, which is the most important unknown. It stops short of listing result fields (title, url, rank, snippet), which would be the remaining gap for a search tool whose output the agent must parse.

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 every parameter already documents its type, default, enum constraint, and semantics (including the 500-character limit and in-query operators). The description only restates the optional content fetch at a high level, adding no new parameter meaning, so the baseline 3 applies.

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 opens with a specific verb+resource ('Search the web with Serpex') and states the return shape ('ranked web results as structured JSON'), plus an optional content-fetch mode. It stops short of distinguishing itself from the sibling serpex_extract, so an agent gets a clear purpose but no explicit contrast.

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 implied by 'Search the web' and the optional include_content flag. There is no explicit when-to-use guidance, no statement that serpex_extract is the alternative for known URLs, and no guidance on choosing the content-fetch tier beyond the schema's credit note.

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

Deploy Server

Other Tools