Skip to main content
Glama

web_search

Search web pages by URL with an optional query to retrieve relevant information and reduce token usage for AI agents.

Instructions

Not available in this build: page fetching and compression ship in a later release.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

D1.5/5.0
Behavior2/5

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

With no annotations the description carries the full burden, and it does disclose one meaningful trait: the tool is non-functional in this build and fetching/compression arrive later. Beyond that it says nothing about behavior, permissions, or output, and the 'page fetching' caveat sits oddly against a schema that requires a url argument.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no filler, so length is not the problem. But the sentence is not front-loaded with the tool's function, so as an opening line it fails the structural job of telling an agent what the tool is.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/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 annotations and no output schema, the description supplies no purpose, no parameter meaning, no return semantics, and no alternative routing. The only information present is an availability disclaimer, which is not enough for an agent to call or reason about the tool.

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

Parameters1/5

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

Schema description coverage is 0% for two parameters (url required, query optional), and the description adds no meaning whatsoever about what url or query represent. The one hint it drops — page fetching is not shipped — actively muddies what the required url parameter is for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what web_search does; it only says the capability is 'Not available in this build' and that 'page fetching and compression ship in a later release'. That is a status notice, not a purpose statement, and it leaves the agent unable to tell what the tool would even return if called.

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

Usage Guidelines2/5

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

The only actionable guidance is an implicit 'do not use this, it is unavailable', which is a real signal but not selection guidance. It never contrasts web_search with the memory_search/memory_* siblings that actually exist, nor states when use would become appropriate.

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