Skip to main content
Glama

discover

Discover routes and data sources on a web page or at a given URL by merging DOM elements, network captures, and inferred endpoints into a ranked graph with provenance.

Instructions

High-level cheap-first information discovery. Optionally navigates to a URL, runs light JS, merges DOM routes, inferred form/query URLs, and network JSON routes into one ranked graph with provenance plus route-level escalation hints. Use this when the task is to find where information lives before extracting it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
debugNoIf true, include full nested navigate, route_discover, and network_extract payloads. Default false returns compact summaries.
exec_scriptsNoRun page scripts during navigation when url is provided. Default false; enable when static discovery is insufficient.
goalNoOptional goal/query used to rank routes and build query URLs.
include_networkNoInclude captured network JSON objects and API-like captures. Default true.
limitNoMax routes to return after dedupe/ranking, 1-200 (default 50).
same_originNoIf true, only return page-owned routes.
urlNoOptional absolute http(s) URL to navigate before discovery. If omitted, discovers on the current page.
Behavior4/5

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

Without annotations, the description carries the burden, and it does well by explaining the tool's cheap-first nature, optional navigation, light JS execution, and merging of sources. It implies a read-only discovery operation, but does not explicitly state side effects of navigation on current page state.

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 concise at two sentences, front-loaded with the core purpose, and every sentence adds value. No wasted words.

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 the complexity (7 parameters, no output schema), the description provides a good overview of what the tool does and when to use it. However, it lacks details on the return format (the ranked graph) and how 'provenance' and 'escalation hints' are presented, which a fully complete description would include.

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?

The input schema has 100% coverage with descriptions for all 7 parameters. The tool's description adds no new semantic meaning beyond what is already in the schema, so the baseline score of 3 applies.

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 tool's purpose as high-level cheap-first information discovery, detailing specific actions like navigating, running JS, and merging routes. It distinguishes itself from siblings by framing itself as the first step before extraction.

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

Usage Guidelines4/5

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

The description gives a clear usage hint: 'Use this when the task is to find where information lives before extracting it.' This provides context, though it does not explicitly exclude scenarios where more specific tools like route_discover or network_extract would be better.

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/protostatis/unbrowser'

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