Skip to main content
Glama
ScrapeBadger MCP Server

ScrapeBadger MCP Server

Official

google_resolve_links

Resolve Google redirect result links to real URLs by sending link_tokens and retrying not-ready rows after retry_after_seconds. Accepts 1–25 rows per call and returns resolved links without tokens.

Instructions

Get the real URLs of Google results whose link is a google.com/goto redirect. Send the organic results of search_google that carry a link_token, 1 to 25 per call; other fields come back unchanged. Rows come back in the order sent. A resolved row has the result's own URL in link and no link_token. A not-ready row has link_token and retry_after_seconds (1 or more): wait that many seconds, then send the row again with its latest link_token, which can differ from the one sent. A failed row has link_token and error: do not send it again. A token sent early is not an error; the row comes back not ready with the wait that is left. The top-level retry_after_seconds is the shortest wait among the not-ready rows, or null when no row is waiting. One call makes one request and does not wait. Polling this way, all ten links of a page are usually known 45 to 70 seconds after the search; once the result page is about 160 seconds old, one call returns every remaining link. Costs no credits.

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": {
      "results": "<results>"
    },
    "name": "google_resolve_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultsYes1 to 25 result rows that each have a link_token. Organic results from search_google can be sent as they are: other fields are returned unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.1

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it enumerates the three row outcomes (resolved, not-ready, failed) and their exact fields, states that one call makes one request and never waits, gives latency expectations (45-70s typical, ~160s full return), and discloses 'Costs no credits.'

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then ordered by lifecycle state, with no filler sentences. It is dense and long for one parameter, and the state machine could have been structured as a list, but every sentence conveys operational information the caller needs.

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?

No output schema and no annotations exist, yet the description fully specifies the return shape per row state, the top-level retry_after_seconds semantics including the null case, and the cost and latency profile. Nothing an agent needs in order to poll correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: other fields are passed through unchanged, rows return in the order sent, the returned link_token can differ from the one sent, and tokens must be the latest. Only the token-freshness point is duplicated by the schema.

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?

States a specific verb and resource ('Get the real URLs of Google results') and narrows it to a precise condition ('whose link is a google.com/goto redirect'), which cleanly separates it from the sibling search_google that produces the input rows.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('Send the organic results of search_google that carry a link_token'), a batch limit (1 to 25), and a full retry protocol: wait retry_after_seconds, resend with the latest token, never resend a failed row. It also preempts a likely mistake by saying an early-sent token is not an error.

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