Skip to main content
Glama

extract

Read a web page or PDF and return requested fields as JSON with exact quotes; unknown fields come back null, never guessed.

Instructions

Read a web page or PDF and return the requested fields as JSON, each with the exact quote it came from (checked against the page; unknown fields come back null, never guessed). Paid per call in USDG on Robinhood Chain (x402); a failed call is not charged; each paid call has an on-chain receipt. Without a wallet it runs in free mode (a few runs a day).

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": {
      "url": "<url>",
      "fields": "<fields>"
    },
    "name": "extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page
fieldsYesfield names, e.g. ["price","name","date"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/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 substantial work: quotes are checked against the page, unknown fields return null rather than being guessed, pricing is per call in USDG via x402, failed calls are not charged, paid calls leave an on-chain receipt, and free mode is rate-limited to a few runs a day. It does not cover behavior on inaccessible/paywalled pages, size or timeout limits, or latency, which keeps it from a 5.

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?

Three dense sentences with the core capability front-loaded and the anti-hallucination guarantee immediately after. The payment sentence is long but each clause (per-call price, no charge on failure, on-chain receipt, free mode) carries distinct decision-relevant information.

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?

For a two-parameter tool with no output schema, the description adequately covers the return shape (JSON fields each with the source quote, null for unknowns) and the cost model an agent must reason about. The exact response envelope structure (e.g., how field/value/quote nest) is left unspecified, a minor gap given the schema is otherwise complete.

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 coverage is 100%, so both parameters (url, fields) are already documented in the schema, and the description adds no format or constraint detail beyond restating 'requested fields' and 'web page or PDF'. Baseline 3 applies when the schema does the heavy lifting.

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 gives a specific verb+resource: 'Read a web page or PDF and return the requested fields as JSON'. That is clearly distinct from generic reading, but it never names a sibling or explicitly contrasts itself with tools like 'read' or 'table', leaving differentiation to inference.

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 context is only implied: it tells the agent it works without a wallet in free mode, which hints at a pay-per-call gating decision, but there is no explicit when-to-use/when-not or named alternative to choose instead.

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