Skip to main content
Glama
crunchtools

io.github.crunchtools/airlock

Official
by crunchtools

safe_search_tool

Search the web and retrieve sanitized text answers with verified source URLs, protected by multi-layer prompt injection defense.

Instructions

Search the web safely. Returns sanitized text + source URLs.

Pipeline: L0 (Gemini grounding) → resolve redirects → L1 → L2. Fails if L1 or L2 detects injection in L0's output.

Returns synthesized prose answer + list of source URLs that can be followed up with quarantine_fetch for full content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query string
num_resultsNoApproximate number of results (default 5)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description details the safety pipeline (L0 through L2), including injection detection that causes failure. It also explains the return format (sanitized text + source URLs) and suggests follow-up actions. This is comprehensive without annotations.

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

Conciseness5/5

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

The description is five sentences, each adding value. It front-loads the core purpose, then explains the pipeline and output, and ends with a usage hint. No superfluous content.

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?

Given the tool's complexity (safety pipeline, injection detection) and the existence of an output schema, the description is largely complete. It could mention error handling for injection failures, but overall it provides sufficient context.

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?

Input schema has 100% coverage with clear descriptions for both parameters (query and num_results). The description does not add additional meaning beyond the schema, meeting the baseline.

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 tool name and description clearly state it performs web search with safety features. It distinguishes itself from siblings like quarantine_search_tool by specifying web search and returning sanitized text with source URLs.

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?

The description suggests a workflow: search then use quarantine_fetch for full content. It does not explicitly state when to avoid this tool or contrast it with all siblings, but provides enough context for typical use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crunchtools/mcp-trentina'

If you have feedback or need assistance with the MCP directory API, please join our Discord server