Skip to main content
Glama

ask

ask

Ask a question about a web page: fetches the URL and answers from the page content only (answer is null when the page does not say). Good for pulling one fact out of a page. Not charged on fetch or AI errors. Price: $0.005 USDC per successful call (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": "ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute http(s) URL of a public web page
questionYesQuestion about the page (max 500 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it discloses the grounding guarantee ('answers from the page content only'), the failure semantics ('answer is null when the page does not say'), and the billing model including that fetch and AI errors are not charged. What is missing is any rate-limit, page-size, or caching behavior, which keeps it below 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?

The purpose is front-loaded in the first clause, and each following sentence carries a distinct useful fact (grounding, null behavior, pricing). Slightly dense through parentheticals, but no sentence is wasted.

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 simple two-parameter tool with no output schema, the description covers purpose, output semantics (null answer), and cost, which is enough to call it correctly. It does not cover page-type limitations or content-size constraints, a minor gap given the tool's simplicity.

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, question) are already documented in the schema, including the 500-character limit. The description adds only indirect color about how url and question are used together, so the baseline 3 applies.

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 names a specific verb and resource: it fetches a URL and answers a question strictly from that page's content. It also scopes the tool ('Good for pulling one fact out of a page'), which implicitly separates it from broader summarization, but no sibling is named to make the contrast explicit.

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?

It gives implied usage guidance via 'Good for pulling one fact out of a page,' which tells an agent this is a narrow single-fact lookup rather than a multi-question or full-extraction tool. There is no explicit when-not-to-use statement and no alternative tool is named, so routing still requires inference from sibling names alone.

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