Skip to main content
Glama

ai_url_ask

Read-only

AI ask a web page — Fetch a web page and answer a question from that page only (no outside knowledge) via Workers AI: answer, grounded true/false, a supporting quote checked against the page text (quoteVerified) and confidence. Pass url and question. Not charged if the page cannot be fetched. Price: $0.01 USDC (Base, via x402).

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>",
      "question": "<question>"
    },
    "name": "ai_url_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://example.com
questionYesWhat is this domain for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnly/openWorld/non-destructive annotations, it discloses the grounding regime, the returned fields (answer, grounded, quoteVerified, confidence) despite having no output schema, and a billing rule that the call is free if the page cannot be fetched. Remaining gaps are page-size limits, latency, and the x402 payment-failure path.

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?

The purpose clause is front-loaded before the return details and pricing, and every sentence carries information. It is dense — the return-field list and price sit in one long run — but no sentence is filler.

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?

With no output schema, the description supplies the return shape, the grounding behavior, and the cost/refund condition, which is everything an agent needs to decide and invoke correctly for a two-parameter read tool.

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 are already documented in the input schema, and the description only restates 'Pass url and question'. The one added nuance is that the question is answered strictly from page content, which mildly influences how to phrase it; baseline 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?

States a specific verb and resource — fetch a web page and answer a question from it — with an explicit scope constraint ('from that page only (no outside knowledge)') that separates it from a generic knowledge-answering sibling or a pure summarizer/extractor. An agent can tell what this does without opening the schema.

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 is implied by the grounding constraint (use when the answer must come from a specific URL rather than model knowledge), and 'Pass url and question' gives the calling pattern. However, no sibling is named or excluded, so nothing tells the agent when to prefer ai_summarize_url or ai_url_extract instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources