Skip to main content
Glama

forge_inspect

Read-only

Analyze a page for tap forging: detect framework, SSR state, APIs, and generate extraction strategies. Re-forge broken taps by inspecting page changes, or probe write actions without side effects.

Instructions

Analyze a page for tap forging: detects framework, SSR state, APIs, and generates extraction strategies. Also use this to re-forge a broken tap — inspect the page again to find what changed. Pass probe_writes:true to discover write actions without triggering them (zero side effects).

AUTHORING PRINCIPLE: Prefer API > SSR > DOM. handle.fetch (cookie-aware) and handle.ssrState beat handle.eval(querySelectorAll); handle.find / handle.copyAll beat hand-rolled selectors. Read existing_taps first — if one already covers part of the need, compose with it inside handle.pipe rather than re-extracting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
probe_writesNoDiscover write actions (POST/PUT/PATCH/DELETE) without executing them. Captures endpoints + payloads via abort intercept.
detailNoComma-separated extra sections to include: network,ssr,auth,a11y,annotations,structure,deep. 'structure' adds per-candidate anti-scraping diagnostics (Flexbox order, custom fonts, canvas, ::before/::after content, homoglyphs) + href stability score. 'deep' additionally computes readable_ratio (expensive). Use 'all' for the full payload. Default returns top candidates + confidence + status only.
Behavior5/5

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

Annotations declare readOnlyHint=true and destructiveHint=false. The description confirms that probe_writes discovers write actions without executing them (zero side effects), aligning with annotations. It also describes detection of framework, SSR state, APIs, and extraction strategies, adding behavioral context beyond annotations.

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 efficiently structured: first paragraph states primary and secondary use, second paragraph provides authoring principles. No wasted words, every sentence adds value. Front-loaded with main purpose.

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?

Despite lacking an output schema, the description clearly explains what the tool returns (top candidates + confidence + status, plus extra sections via detail). It covers purpose, parameters, usage guidelines, and behavioral traits, making it self-contained for an agent to select and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds significant meaning beyond the input schema: probe_writes is explained in detail (discovers write actions via abort intercept, zero side effects); the detail parameter is fully explained with values like 'structure' and 'deep' including what they compute. For url, the schema lacks description but the tool context makes it clear. This compensates for the 67% schema coverage.

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 it analyzes a page for tap forging, detects framework, SSR state, APIs, and generates extraction strategies. It also specifies re-forging broken taps, providing a specific verb and resource that distinguishes it from siblings like forge_draft, forge_save, and inspect.

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?

Explicitly states when to use (for initial inspection and re-forging broken taps), how to use probe_writes for zero side effects, and provides authoring principles with order of preference (API > SSR > DOM) and guidance to compose with existing taps via handle.pipe. This gives clear context on usage and 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/LeonTing1010/tap'

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