Skip to main content
Glama

Discover Page APIs

api_discover

Lists JSON APIs called by a page from XHR/fetch traffic and classifies them as data, tracking, auth, cdn, or ads.

Instructions

List JSON APIs the page has called. Captured automatically from XHR/fetch traffic. Classifies into: data, tracking, auth, cdn, ads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes
categoryNo
minConfidenceNoMinimum classification confidence (0-1). Default: 0.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the automatic capture from XHR/fetch and classification behavior, which is helpful. However, it does not mention side effects (none expected), permissions, or limitations (e.g., only captures during page lifecycle, not all request types).

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 two sentences, front-loaded with the main action, and contains no fluff. Every sentence adds value.

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

Completeness3/5

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

The description covers the tool's purpose and classification output but lacks details on output format, pagination, timing of capture (when available), and response structure. Given the absence of an output schema, more context would be beneficial but the description is minimally adequate.

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 low (33%). The description adds meaning by explaining the classification categories and the source of data, partially compensating for missing param descriptions. However, it does not clarify the sessionId parameter or the minConfidence default and usage beyond what's in 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?

The description clearly states the tool lists JSON APIs called by the page, captured from XHR/fetch traffic, and classifies them into five specific categories. This provides a specific verb-resource combination and distinguishes it from broader network tools like network_log.

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 (when you need listed and classified JSON APIs), but it does not explicitly state when to use this tool over alternatives such as network_log or network_intercept. No exclusions or preconditions are provided.

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/anthonybono21-cloud/leapfrog'

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