Skip to main content
Glama

web_find_text

Read-only

Find a phrase on a web page (with context) — Check whether a public web page mentions a word or phrase and where: returns FOUND/NOT_FOUND, the number of occurrences, and up to 20 matches with a context snippet and the heading each match sits under. Searches the visible text only (scripts, styles and hidden templates excluded; entities decoded; whitespace normalised). Optional case=1 (case-sensitive), whole=1 (whole word), context= chars each side (20-500, default 120), limit= (max 100). Useful for verifying claims, policy or price mentions, and citations. Price: $0.003 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>",
      "q": "<q>"
    },
    "name": "web_find_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesdocumentation
urlYeshttps://www.iana.org/help/example-domains

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, but the description adds substantive behavior: only visible text is searched, entities are decoded, whitespace is normalized, and the result is a FOUND/NOT_FOUND verdict with a capped match list. It also discloses a per-call cost ($0.003 USDC via x402), a detail an agent must know before invoking it repeatedly.

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?

One dense paragraph ordered well: purpose, return shape, search scope, options, use cases, price. Every clause carries information, though the options block and cost note crammed into the same sentence make it slightly harder to scan than it needs to be.

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?

With no output schema, the description fully carries the return contract, and the pricing, visibility scope, and match cap make it largely self-sufficient for a read-only web search. The one gap is that the documented tuning parameters do not correspond to the actual input schema, leaving ambiguity about which options an agent can actually set.

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?

The description explains matching semantics well (case-sensitive flag, whole-word flag, context window 20-500 default 120, limit max 100), which is real meaning beyond a schema. However, the input schema exposes only url and q, so four of those documented parameters are not accepted by the tool, and the schema's own q description ("documentation") conveys nothing — a mismatch that could prompt an agent to pass unsupported arguments.

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 definition opens with a specific verb and resource ("Find a phrase on a web page") and immediately narrows scope with "visible text only (scripts, styles and hidden templates excluded)", which implicitly separates it from a hidden-text sibling. It also names the exact return shape (FOUND/NOT_FOUND, occurrence count, up to 20 matches with context and heading), so an agent knows precisely what question this tool answers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete positive use cases (verifying claims, policy or price mentions, citations) and the visible-text constraint implicitly excludes hidden-content checks. There is no explicit when-not or named alternative, so the agent must infer the boundary from siblings rather than being routed to one.

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